Simplify build and development steps
Showing
... | @@ -2,15 +2,13 @@ | ... | @@ -2,15 +2,13 @@ |
"license": "MIT", | "license": "MIT", | ||
"scripts": { | "scripts": { | ||
"runner": "cd ./scripts && node --max-old-space-size=32384 -r ts-node/register ./build.ts", | "runner": "cd ./scripts && node --max-old-space-size=32384 -r ts-node/register ./build.ts", | ||
"preinstall": "yarn runner ensure-in-vscode && cd ../../../ && yarn || true", | "start": "nodemon --watch ../../../out --verbose ../../../out/vs/server/main.js", | ||
"postinstall": "rm -rf node_modules/@types/node", | "watch": "cd ../../../ && yarn watch", | ||
"start": "yarn runner ensure-in-vscode && nodemon --watch ../../../out --verbose ../../../out/vs/server/main.js", | "build": "yarn && yarn runner build", | ||
"watch": "yarn runner ensure-in-vscode && cd ../../../ && yarn watch", | |||
"build": "yarn --ignore-scripts && yarn runner build", | |||
"package": "yarn runner package", | "package": "yarn runner package", | ||
"binary": "yarn runner binary", | "binary": "yarn runner binary", | ||
"patch:generate": "yarn runner ensure-in-vscode && cd ../../../ && git diff --staged > ./src/vs/server/scripts/vscode.patch", | "patch:generate": "cd ../../../ && git diff --staged > ./src/vs/server/scripts/vscode.patch", | ||
"patch:apply": "yarn runner ensure-in-vscode && cd ../../../ && git apply ./src/vs/server/scripts/vscode.patch" | "patch:apply": "cd ../../../ && git apply ./src/vs/server/scripts/vscode.patch" | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@coder/nbin": "^1.2.2", | "@coder/nbin": "^1.2.2", | ||
... | ... |
想要评论请 注册 或 登录