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
|
||||
.idea/
|
||||
.c9/
|
||||
.vscode/
|
||||
|
||||
# build artifacts
|
||||
src/**/*.js
|
||||
src/**/*.d.ts
|
||||
target/
|
||||
|
|
11
package.json
11
package.json
|
@ -2,18 +2,15 @@
|
|||
"name": "it-fsm",
|
||||
"version": "1.0.7",
|
||||
"description": "Simple finite state machine for nodejs",
|
||||
"main": "./src/index.js",
|
||||
"types": "./src/index.d.ts",
|
||||
"main": "./target/index.js",
|
||||
"types": "./target/index.d.ts",
|
||||
"readme": "README.md",
|
||||
"files": [
|
||||
"src",
|
||||
"!*.spec.ts",
|
||||
"!*.ts",
|
||||
"*.d.ts"
|
||||
"target"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "jest",
|
||||
"prepublishOnly": "tsc",
|
||||
"prepublishOnly": "rm -rf ./target && tsc",
|
||||
"report-coverage": "cat coverage/lcov.info | coveralls"
|
||||
},
|
||||
"repository": {
|
||||
|
|
|
@ -15,13 +15,13 @@
|
|||
"noImplicitReturns": true,
|
||||
"noImplicitThis": true,
|
||||
"noUnusedParameters": true,
|
||||
"strict": true,
|
||||
"strictNullChecks": true,
|
||||
"esModuleInterop": true,
|
||||
"outDir": "./src"
|
||||
"rootDir": "src",
|
||||
"outDir": "target"
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"coverage",
|
||||
"tests"
|
||||
"include": [
|
||||
"src"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue