mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Add cleaning the build directory to the build process
This commit is contained in:
+3
-1
@@ -8,7 +8,8 @@
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"lint": "tslint --project .",
|
||||
"lint:fix": "tslint --project . --fix",
|
||||
"build": "npm run build:json && npm run build:ts && npm run lint && npm run build:doc",
|
||||
"build": "npm run build:clean && npm run build:json && npm run build:ts && npm run lint && npm run build:doc",
|
||||
"build:clean": "rimraf build",
|
||||
"build:json": "node ./scripts/build-schemas.js",
|
||||
"build:ts": "tsc",
|
||||
"build:doc": "npm run build:doc:json",
|
||||
@@ -39,6 +40,7 @@
|
||||
"@types/socket.io": "^2.1.4",
|
||||
"@types/tokgen": "^1.0.0",
|
||||
"@types/umzug": "^2.2.3",
|
||||
"rimraf": "^3.0.2",
|
||||
"tslint": "^6.1.3",
|
||||
"tslint-config-standard": "^9.0.0",
|
||||
"typescript": "^3.8.3",
|
||||
|
||||
Reference in New Issue
Block a user