2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-11 07:41:04 +00:00

Update build script for static folder, will break windows

This commit is contained in:
Jia Hao 2016-01-23 10:10:35 +08:00
parent 90ee346914
commit 91ea8c2a48

View File

@ -14,7 +14,7 @@
"dev-up": "npm install && (cd app && npm install)", "dev-up": "npm install && (cd app && npm install)",
"postinstall": "mkdir -p app/lib", "postinstall": "mkdir -p app/lib",
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"build-app": "browserify app/src/main.js --node --ignore-missing --detect-globals false --debug -o app/lib/main.js && cp app/src/preload.js app/lib/preload.js", "build-app": "browserify app/src/main.js --node --ignore-missing --detect-globals false --debug -o app/lib/main.js && cp -r app/src/static app/lib/static",
"build-module": "babel src -d lib", "build-module": "babel src -d lib",
"build": "npm run build-app && npm run build-module", "build": "npm run build-app && npm run build-module",
"watch": "babel --watch src -d lib", "watch": "babel --watch src -d lib",