-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
48 lines (48 loc) · 1.92 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"name": "tokenlist",
"version": "0.1.0",
"description": "DOMTokenList implementation",
"main": "dist/tokenlist.min.js",
"scripts": {
"pretest": "npm run build:amd",
"test": "intern-client config=tests/node",
"pretest:browserstack": "npm run build:amd",
"test:browserstack": "intern-runner config=tests/browserstack",
"test:server": "intern-runner config=tests/browser",
"lint": "eslint src/**/*.js tests/**/*.js",
"build": "npm run build:bundle && npm run build:min && npm run build:amd && npm run build:common",
"prebuild": "mkdirp dist && npm run build:amd",
"postbuild": "rimraf dist/tokenlist.js*",
"build:bundle": "browserify src/index.js --debug --standalone TokenList --transform rollupify --transform babelify | exorcist dist/tokenlist.js.map > dist/tokenlist.js",
"build:min": "uglifyjs dist/tokenlist.js --in-source-map dist/tokenlist.js.map --source-map dist/tokenlist.min.js.map --source-map-url tokenlist.min.js.map --preamble \"/*! ${npm_package_name} - v${npm_package_version} - ${npm_package_homepage} - ${npm_package_license} License */\" --mangle --compress --output dist/tokenlist.min.js",
"build:amd": "babel --source-maps --modules amd --out-dir dist/amd src",
"build:common": "babel --source-maps --modules common --out-dir dist/common src"
},
"author": "Rodney Rehm <[email protected]> (http://rodneyrehm.de/en/)",
"license": "MIT",
"keywords": [
"DOMTokenList",
"classList",
"relList",
"tokenListFor",
"prollyfill",
"shim"
],
"repository": {
"type": "git",
"url": "https://github.com/medialize/tokenlist.git"
},
"devDependencies": {
"babel": "^5.8.23",
"babel-eslint": "^6.0.2",
"babelify": "^6.3.0",
"browserify": "^13.0.1",
"eslint": "^2.9.0",
"exorcist": "^0.4.0",
"intern": "^3.2.1",
"mkdirp": "^0.5.1",
"rimraf": "^2.5.2",
"rollupify": "^0.2.0",
"uglifyjs": "^2.4.10"
}
}