85d2225e0c
* Fix loading within the CLI * Remove app * Remove promise handle * Add initial travis file * Add libxkbfile dependency * Add libxkbfile-dev * Add build script * Fix malformed bash statement * Remove yarn from script * Improve build script * Extract upx before usage * Only run upx if on linux * Ensure resource directory exists * Pack runnable binary * Export binary with platform * Improve build process * Install upx before running install script * Update typescript version before running nexe * Add os.release() function for multi-platform support * Update travis.yml to improve deployment * Add on CI * Update to v1.31.0 * Add libsecret * Update build target * Skip cleanup * Fix built-in extensions * Add basics for apps * Create custom DNS server * Fix forking within CLI. Fixes TS language features * Fix filename resolve * Fix default extensions path * Add custom dialog * Store workspace path * Remove outfiles * Cleanup * Always authed outside of CLI * Use location.host for client * Remove useless app interface * Remove debug file for building wordlist * Use chromes tcp host * Update patch * Build browser app before packaging * Replace all css containing file:// URLs, fix webviews * Fix save * Fix mkdir
44 lines
1.8 KiB
JSON
44 lines
1.8 KiB
JSON
{
|
|
"name": "server",
|
|
"main": "./out/cli.js",
|
|
"bin": "./out/cli.js",
|
|
"files": [],
|
|
"scripts": {
|
|
"start": "node --max-old-space-size=32384 --require ts-node/register --require tsconfig-paths/register src/cli.ts",
|
|
"build:webpack": "rm -rf ./out && export CLI=true && ../../node_modules/.bin/webpack --config ./webpack.config.js",
|
|
"build:nexe": "node scripts/nexe.js",
|
|
"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",
|
|
"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/",
|
|
"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",
|
|
"build": "npm run build:bootstrap-fork && npm run build:webpack && npm run build:nexe"
|
|
},
|
|
"dependencies": {
|
|
"@oclif/config": "^1.10.4",
|
|
"@oclif/errors": "^1.2.2",
|
|
"@oclif/plugin-help": "^2.1.4",
|
|
"express": "^4.16.4",
|
|
"express-static-gzip": "^1.1.3",
|
|
"httpolyglot": "^0.1.2",
|
|
"mime-types": "^2.1.21",
|
|
"nexe": "^2.0.0-rc.34",
|
|
"node-netstat": "^1.6.0",
|
|
"pem": "^1.14.1",
|
|
"promise.prototype.finally": "^3.1.0",
|
|
"spdlog": "^0.7.2",
|
|
"ws": "^6.1.2",
|
|
"xhr2": "^0.1.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.16.0",
|
|
"@types/fs-extra": "^5.0.4",
|
|
"@types/mime-types": "^2.1.0",
|
|
"@types/pem": "^1.9.4",
|
|
"@types/ws": "^6.0.1",
|
|
"fs-extra": "^7.0.1",
|
|
"string-replace-webpack-plugin": "^0.1.3",
|
|
"ts-node": "^7.0.1",
|
|
"tsconfig-paths": "^3.7.0",
|
|
"typescript": "^3.2.2"
|
|
}
|
|
}
|