feature: add tslint script, add tsconfig.spec
This commit is contained in:
+2
-1
@@ -4,12 +4,13 @@
|
||||
"description": "Nest TypeScript starter repository",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"format": "prettier --write \"**/*.ts\"",
|
||||
"format": "prettier --write \"src/**/*.ts\"",
|
||||
"start": "ts-node -r tsconfig-paths/register src/main.ts",
|
||||
"start:dev": "nodemon",
|
||||
"prestart:prod": "rm -rf dist && tsc",
|
||||
"start:prod": "node dist/main.js",
|
||||
"start:hmr": "node dist/server",
|
||||
"lint": "tslint -p tsconfig.json -c tslint.json",
|
||||
"test": "jest",
|
||||
"test:cov": "jest --coverage",
|
||||
"test:e2e": "jest --config ./test/jest-e2e.json",
|
||||
|
||||
Reference in New Issue
Block a user