|
7 | 7 | "clean": "rimraf lib", |
8 | 8 | "build:lib": "babel src --out-dir lib", |
9 | 9 | "build:umd": "webpack", |
10 | | - "build": "npm run build:lib && npm run build:umd", |
| 10 | + "build": "npm-run-all --parallel build:*", |
11 | 11 | "lint": "eslint .", |
12 | | - "test": "mocha --compilers js:babel/register --recursive", |
13 | | - "test:watch": "npm run test -- --watch", |
14 | | - "prepublish": "npm run lint && npm run clean && npm run test && npm run build" |
| 12 | + "unit_test": "mocha --compilers js:babel/register --recursive", |
| 13 | + "unit_test:watch": "npm run unit_test -- --watch", |
| 14 | + "test": "npm-run-all clean --parallel lint build unit_test", |
| 15 | + "develop": "npm run unit_test:watch", |
| 16 | + "prepublish": "npm test" |
15 | 17 | }, |
16 | 18 | "repository": { |
17 | 19 | "type": "git", |
18 | | - "url": "https://github.com/gaearon/react-dnd-html5-backend.git" |
| 20 | + "url": "https://github.com/react-dnd/react-dnd-html5-backend.git" |
19 | 21 | }, |
20 | 22 | "author": "Dan Abramov <[email protected]> (http://github.com/gaearon)", |
21 | 23 | "license": "MIT", |
22 | 24 | "bugs": { |
23 | | - "url": "https://github.com/gaearon/react-dnd-html5-backend/issues" |
| 25 | + "url": "https://github.com/react-dnd/react-dnd-html5-backend/issues" |
24 | 26 | }, |
25 | | - "homepage": "https://github.com/gaearon/react-dnd-html5-backend", |
| 27 | + "homepage": "https://github.com/react-dnd/react-dnd-html5-backend", |
26 | 28 | "devDependencies": { |
27 | 29 | "babel": "^5.8.23", |
28 | 30 | "babel-eslint": "^4.1.3", |
|
31 | 33 | "eslint-config-airbnb": "^0.1.0", |
32 | 34 | "expect.js": "^0.3.1", |
33 | 35 | "mocha": "^2.0.1", |
| 36 | + "npm-run-all": "^4.0.1", |
34 | 37 | "rimraf": "^2.4.3", |
35 | 38 | "webpack": "^1.12.2" |
36 | 39 | }, |
|
0 commit comments