|
5 | 5 | "scripts": { |
6 | 6 | "test": "./node_modules/karma/bin/karma start", |
7 | 7 | "test:ci:unit": "./node_modules/karma/bin/karma start --browsers PhantomJS --single-run; npm run test:ci:lint", |
8 | | - "test:ci:functional": "node ./nightwatch.js -c ./nightwatch.json -e production", |
9 | | - "test:ci:lint": "eslint ./src/**/*.js", |
10 | 8 | "test:dev:unit": "./node_modules/karma/bin/karma start", |
| 9 | + "test:ci:functional": "node ./nightwatch.js -c ./nightwatch.json -e production", |
11 | 10 | "test:dev:functional": "node ./nightwatch.js -c ./nightwatch.json", |
| 11 | + "test:ci:lint": "eslint ./src/**/*.js", |
12 | 12 | "test:dev:lint": "eslint ./src/scripts/**/*.js", |
| 13 | + "test:stylelint": "stylelint './src/**/*.scss' --config webpack/.stylelintrc", |
13 | 14 | "dev": "node webpack/dev-server.js & PORT=8000 node start.js", |
14 | 15 | "start": "NODE_PATH=\"./src\" node ./start", |
15 | 16 | "build": "node ./node_modules/webpack/bin/webpack.js --config webpack/prod.config.js", |
|
139 | 140 | "path": "^0.11.14", |
140 | 141 | "phantomjs-polyfill": "0.0.1", |
141 | 142 | "piping": "^0.3.0", |
| 143 | + "pre-commit": "^1.1.3", |
142 | 144 | "react-addons-test-utils": "^0.14.7", |
143 | 145 | "react-transform-catch-errors": "^1.0.0", |
144 | 146 | "react-transform-hmr": "^1.0.1", |
|
149 | 151 | "selenium-server": "^2.48.2", |
150 | 152 | "sinon": "^1.15.3", |
151 | 153 | "sinon-chai": "^2.8.0", |
| 154 | + "stylelint-webpack-plugin": "^0.2.0", |
152 | 155 | "webpack-dev-server": "^1.6.5" |
153 | 156 | }, |
154 | 157 | "pre-commit": [ |
155 | | - "lint", |
156 | | - "validate", |
157 | | - "test" |
| 158 | + "test:dev:lint", |
| 159 | + "test:stylelint" |
158 | 160 | ] |
159 | 161 | } |
0 commit comments