Separate tsconfig for release (which excludes tests)
This commit is contained in:
parent
208c160501
commit
12b848f08d
|
|
@ -9,7 +9,7 @@
|
|||
"test:watch": "jest src/ test/ --watch",
|
||||
"start": "node bin/make-workout.js",
|
||||
"format:js": "prettier --write src/",
|
||||
"build": "tsc",
|
||||
"build": "tsc --project tsconfig.release.json",
|
||||
"prepublish": "yarn build"
|
||||
},
|
||||
"main": "dist/index.js",
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
"declaration": true,
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
"src/**/*",
|
||||
"test/**/*"
|
||||
],
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
"src/**/*",
|
||||
],
|
||||
"exclude": [
|
||||
"**/*.test.ts",
|
||||
],
|
||||
}
|
||||
Loading…
Reference in New Issue