chore: change build destination

This commit is contained in:
Dmitriy Pleshevskiy 2020-11-06 06:13:43 +03:00
parent 1d6640db8f
commit 5f50eba402
3 changed files with 11 additions and 14 deletions

4
.gitignore vendored
View file

@ -86,7 +86,7 @@ tags
# IDE
.idea/
.c9/
.vscode/
# build artifacts
src/**/*.js
src/**/*.d.ts
target/

View file

@ -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": {

View file

@ -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"
]
}