feature: add tslint script, add tsconfig.spec

This commit is contained in:
Kamil Myśliwiec
2018-04-22 12:42:34 +02:00
parent 5717281847
commit cd4b5f89b4
4 changed files with 10 additions and 4 deletions
+2 -1
View File
@@ -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",