|
11 | 11 | "clean:umd": "rimraf dist/umd", |
12 | 12 | "start": "cross-env NODE_ENV=development webpack-dev-server --hot --inline --config webpack.config.dev.babel.js", |
13 | 13 | "lint": "eslint src", |
14 | | - "prepublish": "npm run lint && npm run build:umd", |
| 14 | + "prepublish": "npm run test && npm run build:umd", |
15 | 15 | "posttest": "[ -z \"$CI\" ] || codecov", |
16 | | - "test": "npm run lint && npm run test:unit", |
17 | | - "test:unit": "cross-env NODE_ENV=test karma start", |
18 | | - "deploy": "npm run build && gh-pages -d build", |
19 | | - "watch": "watch 'clear && npm run test -s' src", |
20 | | - "watch:nolint": "watch 'clear && npm run test:unit' src" |
| 16 | + "test": "cross-env NODE_ENV=test karma start --single-run", |
| 17 | + "test:watch": "cross-env NODE_ENV=test karma start", |
| 18 | + "deploy": "npm run build && gh-pages -d build" |
21 | 19 | }, |
22 | 20 | "main": "dist/umd/react-sortable-tree.js", |
23 | 21 | "files": [ |
|
52 | 50 | "css-loader": "^0.23.1", |
53 | 51 | "eslint": "^3.2.2", |
54 | 52 | "eslint-config-blue-hour": "0.x.x", |
| 53 | + "eslint-loader": "^1.5.0", |
55 | 54 | "eslint-plugin-import": "^1.10.2", |
56 | 55 | "eslint-plugin-jsx-a11y": "^2.0.1", |
57 | 56 | "eslint-plugin-react": "^6.0.0", |
|
0 commit comments