File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1414 "static" : " run-p watch serve" ,
1515 "typings" : " tsc -d --declarationDir typings" ,
1616 "start" : " node script/dev.js" ,
17+ "types" : " tsc --emitDeclarationOnly && tscpaths -p tsconfig.json -s ./src -o ./dist" ,
1718 "build" : " export target=dist && node script/build.js" ,
18- "prepublishOnly" : " npm run build"
19+ "prepublishOnly" : " npm run build && npm run types "
1920 },
2021 "husky" : {
2122 "hooks" : {
6768 "ts-loader" : " ^5.3.0" ,
6869 "ts-node" : " ^8.10.1" ,
6970 "tsconfig-paths" : " ^3.9.0" ,
71+ "tscpaths" : " 0.0.9" ,
7072 "typescript" : " ^3.1.6" ,
7173 "webpack" : " ^4.25.1" ,
7274 "webpack-cli" : " ^3.1.2" ,
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
33 "esModuleInterop" : true ,
4+ "declaration" : true ,
45 "sourceMap" : true ,
6+ "outDir" : " ./dist" ,
57 "lib" : [
68 " dom" ,
79 " dom.iterable" ,
You can’t perform that action at this time.
0 commit comments