cross x build
This commit is contained in:
parent
5a21390717
commit
fd00b56f12
|
@ -0,0 +1,6 @@
|
||||||
|
import path from 'path';
|
||||||
|
import {execSync} from 'child_process';
|
||||||
|
|
||||||
|
const runPath = path.resolve(process.argv[2]);
|
||||||
|
execSync(`"${runPath}"`,{stdio:'inherit'});
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node --max-old-space-size=4096 src/app.js",
|
"start": "node --max-old-space-size=4096 src/app.js",
|
||||||
"build": "bash ./scripts/build_only.sh",
|
"build": "node exec.js \"./scripts/build_only.sh\"",
|
||||||
"clean": "rm package-lock.json; rm -rf node_modules; rm -rf build/*",
|
"clean": "rm package-lock.json; rm -rf node_modules; rm -rf build/*",
|
||||||
"test": "node --watch src/app.js",
|
"test": "node --watch src/app.js",
|
||||||
"inspect": "node --inspect-brk=127.0.0.1:9999 src/app.js",
|
"inspect": "node --inspect-brk=127.0.0.1:9999 src/app.js",
|
||||||
|
|
Loading…
Reference in New Issue