File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 49
49
"types" : " ./libcjs/*.d.ts" ,
50
50
"default" : " ./libcjs/*.js"
51
51
}
52
+ },
53
+ "./lib/" : {
54
+ "import" : {
55
+ "types" : " ./libesm/" ,
56
+ "default" : " ./libesm/"
57
+ },
58
+ "require" : {
59
+ "types" : " ./libcjs/" ,
60
+ "default" : " ./libcjs/"
61
+ }
52
62
}
53
63
},
54
64
"type" : " module" ,
62
72
"check-types" : " yarn run-tsd && yarn run-attw" ,
63
73
"test" : " nyc yarn _test" ,
64
74
"_test" : " yarn build && cross-env NODE_ENV=test yarn run-mocha" ,
65
- "run-attw" : " yarn attw --pack" ,
75
+ "run-attw" : " yarn attw --pack --entrypoints . && yarn attw --pack --entrypoints lib/diff/word.js --profile node16 " ,
66
76
"run-tsd" : " yarn tsd --typings libesm/ && yarn tsd --files test-d/" ,
67
77
"run-rollup" : " rollup -c rollup.config.mjs" ,
68
78
"run-uglify" : " uglifyjs dist/diff.js -c -o dist/diff.min.js" ,
You can’t perform that action at this time.
0 commit comments