Added the static files to the build step
Some checks failed
continuous-integration/drone/pr Build is failing

ref #52
This commit is contained in:
Nicolai Ort 2020-12-23 15:43:03 +01:00
parent 9fc282d858
commit bb70bf58fb

View File

@ -56,6 +56,7 @@
"@types/node": "^14.14.9", "@types/node": "^14.14.9",
"@types/uuid": "^8.3.0", "@types/uuid": "^8.3.0",
"axios": "^0.21.0", "axios": "^0.21.0",
"cp-cli": "^2.0.0",
"jest": "^26.6.3", "jest": "^26.6.3",
"nodemon": "^2.0.6", "nodemon": "^2.0.6",
"rimraf": "^2.7.1", "rimraf": "^2.7.1",
@ -67,7 +68,7 @@
}, },
"scripts": { "scripts": {
"dev": "nodemon src/app.ts", "dev": "nodemon src/app.ts",
"build": "tsc", "build": "rimraf ./dist && tsc && cp-cli ./src/static ./dist/static",
"docs": "typedoc --out docs src", "docs": "typedoc --out docs src",
"test": "jest", "test": "jest",
"test:watch": "jest --watchAll", "test:watch": "jest --watchAll",