mirror of
https://github.com/spacebarchat/server.git
synced 2026-08-28 22:18:30 +00:00
🎨 use typescript plugin that converts to relative paths
This commit is contained in:
+3
-1
@@ -4,6 +4,7 @@
|
||||
"description": "",
|
||||
"main": "src/start.js",
|
||||
"scripts": {
|
||||
"prepare": "ts-patch install -s",
|
||||
"preinstall": "cd ../util && npm i && cd ../api && npm i && cd ../cdn && npm i && cd ../gateway && npm i",
|
||||
"build": "npm run build:util && npm run build:api && npm run build:cdn && npm run build:gateway && npm run build:bundle",
|
||||
"build:bundle": "npx tsc -b .",
|
||||
@@ -12,7 +13,7 @@
|
||||
"build:cdn": "cd ../cdn/ && npm run build",
|
||||
"build:gateway": "cd ../gateway/ && npm run build",
|
||||
"start": "npm run build && npm run start:bundle",
|
||||
"start:bundle": "node -r ./tsconfig-paths-bootstrap.js dist/start.js",
|
||||
"start:bundle": "node dist/start.js",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
@@ -43,6 +44,7 @@
|
||||
"@types/uuid": "^8.3.0",
|
||||
"@types/ws": "^7.4.0",
|
||||
"@zerollup/ts-transform-paths": "^1.7.18",
|
||||
"ts-patch": "^1.4.4",
|
||||
"typescript": "^4.3.5"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user