File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 "branches" : 100 ,
44 "check-coverage" : true ,
55 "exclude" : [
6+ " **/*.d.ts" ,
67 " **/*.spec.ts" ,
78 " **/index.ts"
89 ],
Original file line number Diff line number Diff line change 1010 "files" : {
1111 "includes" : [
1212 " **" ,
13+ " !*.d.ts" ,
1314 " !*.js" ,
1415 " !.vscode" ,
1516 " !coverage" ,
16- " !index.d.ts" ,
1717 " !lib" ,
1818 " !node_modules"
1919 ],
Original file line number Diff line number Diff line change 4545 "clean" : " rimraf coverage/ index.d.ts index.js lib/" ,
4646 "cover" : " c8 --check-coverage _mocha" ,
4747 "lint" : " biome lint --write" ,
48+ "postbuild:tsc" : " tar -C types/src -cf - . | tar -xf - && rm -fr types" ,
4849 "postpublish" : " run-s clean" ,
4950 "prebuild" : " run-p clean lint" ,
5051 "prepublishOnly" : " run-s build" ,
Original file line number Diff line number Diff line change 33 "allowImportingTsExtensions" : true ,
44 "alwaysStrict" : true ,
55 "declaration" : true ,
6- "declarationDir" : " ." ,
6+ "declarationDir" : " ./types " ,
77 "downlevelIteration" : true ,
88 "emitBOM" : false ,
99 "emitDeclarationOnly" : true ,
1010 "emitDecoratorMetadata" : false ,
1111 "experimentalDecorators" : false ,
12+ "ignoreDeprecations" : " 6.0" ,
1213 "lib" : [
1314 " ES2015" ,
1415 ],
1718 "newLine" : " lf" ,
1819 "pretty" : false ,
1920 "removeComments" : true ,
21+ "rootDir" : " ." ,
2022 "strict" : true ,
2123 "strictNullChecks" : false ,
2224 "target" : " ES2015" ,
23- "typeRoots " : [
24- " node_modules/@types " ,
25+ "types " : [
26+ " node " ,
2527 ],
2628 },
2729 "exclude" : [],
You can’t perform that action at this time.
0 commit comments