feature: add build command

This commit is contained in:
Kamil Myśliwiec 2018-09-07 13:41:55 +02:00
parent 05802f37f9
commit 2d2f16aa6d
No known key found for this signature in database
GPG Key ID: 75F02E89A1A1092B
1 changed files with 6 additions and 1 deletions

View File

@ -4,6 +4,7 @@
"description": "Nest TypeScript starter repository", "description": "Nest TypeScript starter repository",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"build": "tsc",
"format": "prettier --write \"src/**/*.ts\"", "format": "prettier --write \"src/**/*.ts\"",
"start": "ts-node -r tsconfig-paths/register src/main.ts", "start": "ts-node -r tsconfig-paths/register src/main.ts",
"start:dev": "nodemon", "start:dev": "nodemon",
@ -48,7 +49,11 @@
"webpack-node-externals": "^1.7.2" "webpack-node-externals": "^1.7.2"
}, },
"jest": { "jest": {
"moduleFileExtensions": ["js", "json", "ts"], "moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src", "rootDir": "src",
"testRegex": ".spec.ts$", "testRegex": ".spec.ts$",
"transform": { "transform": {