2019-01-16 02:36:09 +08:00
|
|
|
{
|
|
|
|
"name": "server",
|
|
|
|
"main": "./out/cli.js",
|
|
|
|
"bin": "./out/cli.js",
|
|
|
|
"files": [],
|
|
|
|
"scripts": {
|
2019-02-06 01:15:20 +08:00
|
|
|
"start": "node --max-old-space-size=32384 --require ts-node/register --require tsconfig-paths/register src/cli.ts",
|
2019-01-19 05:46:40 +08:00
|
|
|
"build:webpack": "rm -rf ./out && export CLI=true && ../../node_modules/.bin/webpack --config ./webpack.config.js",
|
2019-01-16 02:36:09 +08:00
|
|
|
"build:nexe": "node scripts/nexe.js",
|
2019-02-06 01:15:20 +08:00
|
|
|
"build:bootstrap-fork": "cd ../vscode && npm run build:bootstrap-fork; mkdir -p ./packages/server/resources; cp ./bin/bootstrap-fork.js ../server/resources/bootstrap-fork.js",
|
2019-02-08 01:47:00 +08:00
|
|
|
"build:default-extensions": "cd ../../lib/vscode && npx gulp vscode-linux-arm && cd ../.. && mkdir -p ./packages/server/resources/extensions; cp -r ./lib/VSCode-linux-arm/resources/app/extensions/* ./packages/server/resources/extensions/",
|
2019-02-06 01:15:20 +08:00
|
|
|
"build:web": "cd ../web; rm -rf ./out; NODE_ENV=production npm run build; rm -rf ../server/resources/web; mkdir -p ../server/resources/web; cp -r ./out/* ../server/resources/web",
|
2019-01-19 05:46:40 +08:00
|
|
|
"build": "npm run build:bootstrap-fork && npm run build:webpack && npm run build:nexe"
|
2019-01-16 02:36:09 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@oclif/config": "^1.10.4",
|
|
|
|
"@oclif/errors": "^1.2.2",
|
|
|
|
"@oclif/plugin-help": "^2.1.4",
|
|
|
|
"express": "^4.16.4",
|
2019-02-06 01:15:20 +08:00
|
|
|
"express-static-gzip": "^1.1.3",
|
2019-01-27 03:16:06 +08:00
|
|
|
"mime-types": "^2.1.21",
|
2019-01-16 02:36:09 +08:00
|
|
|
"nexe": "^2.0.0-rc.34",
|
2019-02-06 01:15:20 +08:00
|
|
|
"segfault-handler": "^1.0.1",
|
2019-01-19 05:46:40 +08:00
|
|
|
"spdlog": "^0.7.2",
|
2019-01-29 01:14:06 +08:00
|
|
|
"ws": "^6.1.2",
|
|
|
|
"xhr2": "^0.1.4"
|
2019-01-16 02:36:09 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/express": "^4.16.0",
|
2019-02-06 01:15:20 +08:00
|
|
|
"@types/fs-extra": "^5.0.4",
|
2019-01-27 03:16:06 +08:00
|
|
|
"@types/mime-types": "^2.1.0",
|
2019-01-16 02:36:09 +08:00
|
|
|
"@types/ws": "^6.0.1",
|
2019-02-06 01:15:20 +08:00
|
|
|
"fs-extra": "^7.0.1",
|
2019-01-16 02:36:09 +08:00
|
|
|
"string-replace-webpack-plugin": "^0.1.3",
|
|
|
|
"ts-node": "^7.0.1",
|
2019-01-19 05:46:40 +08:00
|
|
|
"tsconfig-paths": "^3.7.0",
|
|
|
|
"typescript": "^3.2.2"
|
2019-01-16 02:36:09 +08:00
|
|
|
}
|
|
|
|
}
|