diff options
Diffstat (limited to '')
-rw-r--r-- | api/package.json | 1 | ||||
-rw-r--r-- | bundle/package.json | 6 | ||||
-rw-r--r-- | cdn/package.json | 1 | ||||
-rw-r--r-- | gateway/package.json | 1 | ||||
-rw-r--r-- | util/package.json | 1 |
5 files changed, 5 insertions, 5 deletions
diff --git a/api/package.json b/api/package.json index 723b47d0..7b2de011 100644 --- a/api/package.json +++ b/api/package.json @@ -5,7 +5,6 @@ "main": "dist/Server.js", "types": "dist/Server.d.ts", "scripts": { - "postinstall": "npm run build", "test": "jest", "test:watch": "jest --watch", "start": "npm run build && node dist/start", diff --git a/bundle/package.json b/bundle/package.json index d41329f2..1e6c95c5 100644 --- a/bundle/package.json +++ b/bundle/package.json @@ -5,7 +5,11 @@ "main": "src/start.js", "scripts": { "postinstall": "cd ../util && npm i && cd ../api && npm i && cd ../cdn && npm i && cd ../gateway && npm i", - "build": "npx tsc -b .", + "build": "npm run build:api && npm run build:cdn && npm run build:gateway && npm run build:bundle", + "build:bundle": "npx tsc -b .", + "build:api": "cd ../api/ && npm run build", + "build:cdn": "cd ../cdn/ && npm run build", + "build:gateway": "cd ../gateway/ && npm run build", "start": "npm run build && node dist/start.js", "test": "echo \"Error: no test specified\" && exit 1" }, diff --git a/cdn/package.json b/cdn/package.json index 190a80a3..083fbf5b 100644 --- a/cdn/package.json +++ b/cdn/package.json @@ -5,7 +5,6 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { - "postinstall": "npm run build", "test": "echo \"Error: no test specified\" && exit 1", "build": "npx tsc -b .", "start": "npm run build && node dist/start.js" diff --git a/gateway/package.json b/gateway/package.json index a5b9e547..e55ebe30 100644 --- a/gateway/package.json +++ b/gateway/package.json @@ -4,7 +4,6 @@ "description": "", "main": "dist/index.js", "scripts": { - "postinstall": "npm run build", "test": "echo \"Error: no test specified\" && exit 1", "start": "npm run build && node dist/start.js", "build": "npx tsc -b .", diff --git a/util/package.json b/util/package.json index 69d33844..bc2d2472 100644 --- a/util/package.json +++ b/util/package.json @@ -5,7 +5,6 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { - "postinstall": "npm run build", "build": "npx tsc -b ." }, "repository": { |