|
38 | 38 | "reskindex:watch": "node scripts/reskindex.js -h header -w",
|
39 | 39 | "i18n": "matrix-gen-i18n",
|
40 | 40 | "prunei18n": "matrix-prune-i18n",
|
41 |
| - "build": "npm run reskindex && babel src -d lib --source-maps --copy-files", |
42 |
| - "build:watch": "babel src -w -d lib --source-maps --copy-files", |
| 41 | + "build": "npm run reskindex && npm run start:init", |
| 42 | + "build:watch": "babel src -w --skip-initial-build -d lib --source-maps --copy-files", |
43 | 43 | "emoji-data-strip": "node scripts/emoji-data-strip.js",
|
44 |
| - "start": "parallelshell \"npm run build:watch\" \"npm run reskindex:watch\"", |
| 44 | + "start": "npm run start:init && npm run start:all", |
| 45 | + "start:all": "concurrently --kill-others-on-fail --prefix \"{time} [{name}]\" -n build,reskindex \"npm run build:watch\" \"npm run reskindex:watch\"", |
| 46 | + "start:init": "babel src -d lib --source-maps --copy-files", |
45 | 47 | "lint": "eslint src/",
|
46 | 48 | "lintall": "eslint src/ test/",
|
47 | 49 | "lintwithexclusions": "eslint --max-warnings 20 --ignore-path .eslintignore.errorfiles src test",
|
|
111 | 113 | "babel-preset-es2017": "^6.14.0",
|
112 | 114 | "babel-preset-react": "^6.11.1",
|
113 | 115 | "chokidar": "^1.6.1",
|
| 116 | + "concurrently": "^4.0.1", |
114 | 117 | "eslint": "^3.13.1",
|
115 | 118 | "eslint-config-google": "^0.7.1",
|
116 | 119 | "eslint-plugin-babel": "^4.0.1",
|
|
133 | 136 | "matrix-mock-request": "^1.2.1",
|
134 | 137 | "matrix-react-test-utils": "^0.1.1",
|
135 | 138 | "mocha": "^5.0.5",
|
136 |
| - "parallelshell": "3.0.1", |
137 | 139 | "react-addons-test-utils": "^15.4.0",
|
138 | 140 | "require-json": "0.0.1",
|
139 | 141 | "rimraf": "^2.4.3",
|
|
0 commit comments