feature: add build command
This commit is contained in:
parent
05802f37f9
commit
2d2f16aa6d
|
|
@ -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": {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue