File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 44 "type" : " module" ,
55 "exports" : {
66 "." : {
7- "types" : " ./lib/index.d.ts" ,
7+ "types" : {
8+ "import" : " ./lib/index.d.ts" ,
9+ "require" : " ./lib/index.d.cts" ,
10+ "default" : " ./lib/index.d.ts"
11+ },
812 "import" : " ./lib/index.js" ,
913 "require" : " ./lib/index.cjs" ,
1014 "default" : " ./lib/index.js"
2933 "scripts" : {
3034 "test" : " NODE_OPTIONS='--experimental-vm-modules' jest" ,
3135 "build:cjs" : " esbuild --bundle --sourcemap --platform=node --target=node14 src/index.ts --minify --external:chalk --external:antlr4ts --outfile=lib/index.cjs" ,
32- "build" : " tsc && npm run build:cjs" ,
36+ "build" : " tsc && npm run build:cjs && cp lib/index.d.ts lib/index.d.cts " ,
3337 "check" : " tsc --noEmit" ,
3438 "watch" : " tsc --watch --preserveWatchOutput"
3539 },
You can’t perform that action at this time.
0 commit comments