File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010strategy :
1111 matrix :
12- node_16_x :
13- node_version : 16.x
1412 node_17_x :
1513 node_version : 17.x
1614
Original file line number Diff line number Diff line change 66 "main" : " ./commonjs/index.js" ,
77 "exports" : {
88 "." : {
9+ "types" : " ./types/index.d.ts" ,
910 "require" : " ./commonjs/index.js" ,
1011 "default" : " ./esm/index.js"
1112 }
1213 },
1314 "module" : " ./esm/index.js" ,
14- "types" : " ./commonjs /index.d.ts" ,
15+ "types" : " ./types /index.d.ts" ,
1516 "maintainers" : [
1617 {
1718 "name" : " Alexandre Rogozine" ,
2021 ],
2122 "scripts" : {
2223 "build" : " npx rimraf dist && npm run build:main && npm run build:esm && npm run build:declaration" ,
23- "build:main" : " tsc --removeComments --module commonjs --outDir dist/commonjs --declaration " ,
24- "build:declaration" : " tsc --module commonjs --outDir dist/commonjs --declaration --emitDeclarationOnly" ,
24+ "build:main" : " tsc --removeComments --module commonjs --outDir dist/commonjs" ,
25+ "build:declaration" : " tsc --module commonjs --outDir dist/types --declaration --emitDeclarationOnly" ,
2526 "build:esm" : " tsc --removeComments --outDir dist/esm" ,
2627 "postbuild" : " node --experimental-json-modules config/copy" ,
2728 "lint" : " eslint -c .eslintrc.cjs --ext .ts src" ,
You can’t perform that action at this time.
0 commit comments