File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3
3
"version" : " 6.0.2" ,
4
4
"description" : " Next-generation ZeroMQ bindings for Node.js" ,
5
5
"main" : " lib/index.js" ,
6
- "types" : " lib/index.d.ts" ,
7
6
"type" : " commonjs" ,
7
+ "types" : " lib/index.d.ts" ,
8
8
"typesVersions" : {
9
- ">= 3.7" : {
9
+ "< 3.7" : {
10
10
"lib/*" : [
11
11
" lib/ts3.7/*"
12
12
]
88
88
"clean.script" : " shx rm -rf ./script/*.js ./script/*.mjs ./script/*.js.map ./script/*.mjs.map ./script/*.d.ts ./script/*.d.mts ./script/*.cjs ./scripts/*.cjs.map ./scripts/*.d.cts ./script/*.tsbuildinfo" ,
89
89
"clean.release" : " shx rm -rf ./build/Release" ,
90
90
"clean.temp" : " shx rm -rf ./tmp && shx mkdir -p ./tmp" ,
91
- "build.library" : " tsc -p ./src/tsconfig.json" ,
91
+ "build.library" : " tsc -p ./src/tsconfig.json && run-s build.downlevel" ,
92
+ "build.downlevel" : " downlevel-dts ./lib ./lib/ts3.7" ,
92
93
"build.script" : " tsc -p ./script/tsconfig.esm.json && tsc -p ./script/tsconfig.json" ,
93
94
"build.js" : " run-p build.script build.library" ,
94
95
"build.doc" : " typedoc --options ./typedoc.json && minify-all -s docs-unminified -d docs --jsCompressor terser && shx rm -rf docs-unminified" ,
You can’t perform that action at this time.
0 commit comments