chore: change build destination
This commit is contained in:
parent
1d6640db8f
commit
5f50eba402
3 changed files with 11 additions and 14 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -86,7 +86,7 @@ tags
|
||||||
# IDE
|
# IDE
|
||||||
.idea/
|
.idea/
|
||||||
.c9/
|
.c9/
|
||||||
|
.vscode/
|
||||||
|
|
||||||
# build artifacts
|
# build artifacts
|
||||||
src/**/*.js
|
target/
|
||||||
src/**/*.d.ts
|
|
||||||
|
|
11
package.json
11
package.json
|
@ -2,18 +2,15 @@
|
||||||
"name": "it-fsm",
|
"name": "it-fsm",
|
||||||
"version": "1.0.7",
|
"version": "1.0.7",
|
||||||
"description": "Simple finite state machine for nodejs",
|
"description": "Simple finite state machine for nodejs",
|
||||||
"main": "./src/index.js",
|
"main": "./target/index.js",
|
||||||
"types": "./src/index.d.ts",
|
"types": "./target/index.d.ts",
|
||||||
"readme": "README.md",
|
"readme": "README.md",
|
||||||
"files": [
|
"files": [
|
||||||
"src",
|
"target"
|
||||||
"!*.spec.ts",
|
|
||||||
"!*.ts",
|
|
||||||
"*.d.ts"
|
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"prepublishOnly": "tsc",
|
"prepublishOnly": "rm -rf ./target && tsc",
|
||||||
"report-coverage": "cat coverage/lcov.info | coveralls"
|
"report-coverage": "cat coverage/lcov.info | coveralls"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -15,13 +15,13 @@
|
||||||
"noImplicitReturns": true,
|
"noImplicitReturns": true,
|
||||||
"noImplicitThis": true,
|
"noImplicitThis": true,
|
||||||
"noUnusedParameters": true,
|
"noUnusedParameters": true,
|
||||||
|
"strict": true,
|
||||||
"strictNullChecks": true,
|
"strictNullChecks": true,
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"outDir": "./src"
|
"rootDir": "src",
|
||||||
|
"outDir": "target"
|
||||||
},
|
},
|
||||||
"exclude": [
|
"include": [
|
||||||
"node_modules",
|
"src"
|
||||||
"coverage",
|
|
||||||
"tests"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue