Skip to content

Commit

Permalink
Fix types script
Browse files Browse the repository at this point in the history
  • Loading branch information
Nii Yeboah committed Jun 10, 2022
1 parent 82cdd23 commit 5890bd3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@
"build:demo": "webpack",
"build:lib": "rollup -c",
"build:prod": "run-s build:api build:demo",
"build:types": "tsc",
"clean:ts": "find ./src -name '*.ts' -delete",
"clean:map": "find ./src -name '*.map' -delete",
"clean": "run-p clean:ts clean:map",
"publish": "node util/publish.js",
"prepublishOnly": "tsc"
"prepublishOnly": "run-s clean build:types"
},
"files": [
"src",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"allowJs": true,
"declaration": true,
"emitDeclarationOnly": true,
"outDir": "./",
"outDir": "src",
"declarationMap": true,
"skipLibCheck": true
},
"include": ["src/*.js"],
"exclude": ["lib"]
"exclude": []
}

0 comments on commit 5890bd3

Please sign in to comment.