1
0
mirror of https://github.com/seejohnrun/haste-server.git synced 2026-02-10 16:01:32 +00:00

fix types and build

This commit is contained in:
Yusuf Yilmaz
2022-06-07 10:50:51 +02:00
parent b920c1f7ad
commit 6c1a1277ff
10 changed files with 783 additions and 76 deletions
+10 -8
View File
@@ -60,6 +60,8 @@
"ts-auto-mock": "^3.6.2",
"ts-jest": "^28.0.3",
"ts-node": "^9.1.1",
"tsconfig-paths": "^4.0.0",
"tscpaths": "^0.0.9",
"typescript": "^4.6.4"
},
"bundledDependencies": [],
@@ -72,12 +74,11 @@
"static"
],
"nodemonConfig": {
"ignore":
[
"test/**/*.test.ts",
".git",
"node_modules"
],
"ignore": [
"test/**/*.test.ts",
".git",
"node_modules"
],
"watch": [
"src"
],
@@ -89,9 +90,10 @@
"remove:files": "rimraf dist",
"test:unit": "jest --config config/jest.config.js",
"build:nostatic": "yarn remove:files && tsc --project ./",
"build": "yarn remove:files && yarn copy:files && tsc --project ./",
"build:typescript": "tsc --project tsconfig.json && tscpaths -p tsconfig.json -s ./src -o ./dist",
"build": "yarn remove:files && yarn copy:files && yarn build:typescript",
"start": "node -r tsconfig-paths/register -r ts-node ./dist/src/server.js",
"dev": "nodemon",
"start": "node dist/src/server.js",
"lint": "eslint src --fix",
"types:check": "tsc --noEmit --pretty",
"pretty": "prettier --write src"