-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
27 lines (27 loc) · 961 Bytes
/
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
{
"name": "dynamic-loading-bug",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"postinstall": "npm run install-a && npm run install-b",
"install-a": "cd src/context-a && npm install",
"install-b": "cd src/context-b && npm install",
"start": "run-s build-a build-b copy-a-to-www copy-b-to-www start-www",
"build-a": "cd src/context-a && npm run build",
"build-b": "cd src/context-b && npm run build",
"copy-a-to-www": "shx cp -Rf src/context-a/www/build/* www-express/context-a",
"copy-b-to-www": "shx cp -Rf src/context-b/www/build/* www-express/context-b",
"start-www": "node index.js",
"clean": "shx rm -rf www-express/context-a/c* www-express/context-b/c*"
},
"author": "",
"license": "ISC",
"devDependencies": {
"express": "^4.16.3",
"npm-run-all": "^4.1.3",
"open": "0.0.5",
"shx": "^0.2.2"
}
}