mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-26 13:07:34 +00:00
✨ bundle build script
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
"scripts": {
|
||||
"setup": "cd ../util && npm --production=false i && cd ../api && npm --production=false i && cd ../cdn && npm --production=false i && cd ../gateway && npm --production=false i && cd ../bundle/ && npm --production=false i && npm run build",
|
||||
"build": "node scripts/build.js",
|
||||
"build:bundle": "npx swc src --out-dir dist",
|
||||
"start": "npm run build && npm run start:bundle",
|
||||
"start:bundle": "node dist/start.js",
|
||||
"build:bundle": "npx tsc -b .",
|
||||
"start": "node scripts/build.js && node -r tsconfig-paths/register dist/start.js",
|
||||
"start:bundle": "node -r tsconfig-paths/register dist/start.js",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
@@ -41,9 +41,12 @@
|
||||
"@types/uuid": "^8.3.0",
|
||||
"@types/ws": "^7.4.0",
|
||||
"@zerollup/ts-transform-paths": "^1.7.18",
|
||||
"esbuild": "^0.13.4",
|
||||
"esbuild-plugin-tsc": "^0.3.0",
|
||||
"ts-node": "^10.2.1",
|
||||
"ts-patch": "^1.4.4",
|
||||
"typescript": "^4.3.5"
|
||||
"tsconfig-paths": "^3.11.0",
|
||||
"typescript": "^4.4.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fosscord/api": "file:../api",
|
||||
@@ -56,7 +59,6 @@
|
||||
"missing-native-js-functions": "^1.2.17",
|
||||
"nanocolors": "^0.2.12",
|
||||
"node-os-utils": "^1.3.5",
|
||||
"swc": "^1.0.11",
|
||||
"tsconfig-paths": "^3.11.0"
|
||||
"reflect-metadata": "^0.1.13"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user