-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
60 lines (60 loc) · 1.77 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
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "radi",
"version": "0.4.2",
"main": "dist/radi.js",
"module": "dist/radi.js",
"jsnext:main": "dist/radi.es.js",
"license": "MIT",
"repository": "radi-js/radi",
"author": "Marcis Bergmanis <[email protected]>",
"keywords": [
"radi",
"radijs",
"radi.js",
"dom"
],
"scripts": {
"dev": "webpack --config ./.webpack/dev.js",
"prod": "npm run build",
"build": "npm run roll && npm run min",
"roll": "npm run roll-es && npm run roll-js",
"roll-es": "rollup -c -n Radi -f es -i src/index.js -o dist/radi.es.js -m",
"roll-js": "rollup -c -n Radi -f umd -i src/index.js -o dist/radi.js -m",
"min": "npm run min-es && npm run min-js",
"min-js": "google-closure-compiler-js dist/radi.js > dist/radi.min.js",
"min-es": "squash dist/radi.es.js -o dist/radi.es.min.js",
"lint": "eslint ./src/**/*.js --fix",
"test:watch": "jest --watch",
"test": "jest",
"test:ci": "npm run test -- --ci",
"ci": "npm run test:ci && npm run build",
"precommit": "pretty-quick --staged"
},
"devDependencies": {
"babel-eslint": "^7.2.3",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"butternut": "^0.4.6",
"eslint": "^4.18.2",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-react": "^7.8.2",
"google-closure-compiler-js": "^20180204.0.0",
"jest": "^22.4.4",
"pretty-quick": "^1.6.0",
"rollup": "^0.57.1",
"rollup-plugin-buble": "^0.19.2",
"rollup-plugin-node-resolve": "^3.3.0",
"sinon": "^4.5.0",
"webpack": "^4.10.2",
"webpack-cli": "^2.1.4"
},
"babel": {},
"prettier": {
"tabWidth": 2,
"trailingComma": "es5",
"printWidth": 100,
"singleQuote": true,
"semi": true
}
}