Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Commit

Permalink
fix: build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Soontao committed Jul 7, 2020
1 parent 1eda6d0 commit 546a5e5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 15 deletions.
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ coverage
report
docs
.nyc_output
*.log*
*.log*
.vscode
15 changes: 3 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "lib/index.js",
"typings": "lib/index",
"scripts": {
"prebuild": "rimraf build",
"prebuild": "rimraf lib",
"build": "tsc",
"lint": "eslint src/**/*.ts --fix",
"test": "jest",
Expand Down Expand Up @@ -48,7 +48,6 @@
"@types/benchmark": "^1.0.33",
"@types/event-stream": "^3.3.34",
"@types/jsonstream": "^0.8.30",
"@types/mocha": "^5.2.5",
"@types/mongodb": "^3.1.1",
"@types/request": "^2.48.5",
"@types/request-promise": "^4.1.42",
Expand Down
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
"ES2017"
]
},
"include": [
"src/lib"
],
"exclude": [
"node_modules",
"build"
Expand Down

0 comments on commit 546a5e5

Please sign in to comment.