-
Notifications
You must be signed in to change notification settings - Fork 59
/
package.json
68 lines (68 loc) · 2.28 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
61
62
63
64
65
66
67
68
{
"private": true,
"scripts": {
"checkFormat": "npm run prettier -- --list-different",
"compile": "lerna run compile",
"format": "npm run prettier -- --write",
"lerna": "lerna bootstrap -- --no-optional && npm install --no-optional",
"lint": "eslint 'packages/metal*/{src,test}/**/*.js'",
"precommit": "lint-staged",
"prettier": "prettier-eslint 'packages/metal*/{src,test}/**/*.js'",
"saucelabs": "karma start karma-saucelabs.conf.js",
"test": "gulp soy && karma start && npm run test:isomorphic",
"test:coverage": "gulp soy && karma start karma-coverage.conf.js",
"test:watch": "karma start --single-run=false --auto-watch=true",
"test:isomorphic": "gulp soy:isomorphic && mocha packages/metal-isomorphic/test/isomorphic.js --compilers js:babel-core/register",
"test:saucelabs": "gulp soy && npm run saucelabs -- 0 && npm run saucelabs -- 1 && npm run saucelabs -- 2"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-plugin-istanbul": "^1.0.3",
"babel-preset-env": "^1.6.0",
"babel-preset-metal-jsx": "^0.0.2",
"babelify": "^7.3.0",
"browserify": "^13.0.1",
"chai": "^3.5.0",
"eslint": "^4.10.0",
"eslint-config-liferay": "^2.0.9",
"eslint-plugin-react": "^7.4.0",
"gulp": "^3.8.11",
"gulp-replace": "^0.5.4",
"husky": "^0.14.3",
"jsdom": "^9.9.1",
"jsdom-global": "^2.1.1",
"karma": "^1.1.0",
"karma-babel-preprocessor": "^7.0.0",
"karma-browserify": "^5.1.2",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^1.0.1",
"karma-coverage": "^1.1.1",
"karma-mocha": "^1.3.0",
"karma-sauce-launcher": "~1.1.0",
"karma-sinon": "^1.0.5",
"karma-source-map-support": "^1.1.0",
"lerna": "^2.2.0",
"lint-staged": "^4.3.0",
"metal-tools-soy": "^4.0.0",
"metal-useragent": "^2.1.2",
"mocha": "^2.5.3",
"prettier-eslint-cli": "^4.4.0",
"sinon": "^1.17.4",
"watchify": "^3.7.0"
},
"lint-staged": {
"*.js": [
"prettier-eslint --write",
"git add"
]
},
"nyc": {
"exclude": [
"packages/metal-incremental-dom/src/incremental-dom.js",
"packages/metal-incremental-dom/lib/incremental-dom.js",
"packages/metal-jsx/src/iDOMHelpers.js",
"packages/metal*/test/**/*.js",
"test-utils.js"
]
}
}