File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ config.json
5
5
/dist-cjs /
6
6
.vscode /*
7
7
.DS_Store
8
+ * .tgz
Original file line number Diff line number Diff line change 14
14
"access" : " public"
15
15
},
16
16
"type" : " module" ,
17
+ "module" : " dist-esm/lib/index.js" ,
18
+ "main" : " dist-cjs/lib/index.js" ,
19
+ "types" : " dist-cjs/lib/index.d.ts" ,
17
20
"bin" : {
18
21
"zwave-server" : " dist-esm/bin/server.js" ,
19
22
"zwave-client" : " dist-esm/bin/client.js"
25
28
},
26
29
"./package.json" : " ./package.json"
27
30
},
31
+ "files" : [
32
+ " dist-esm" ,
33
+ " dist-cjs"
34
+ ],
28
35
"scripts" : {
29
36
"lint" : " eslint" ,
30
37
"lint:fix" : " eslint --fix && prettier -w ." ,
31
38
"test" : " prettier --check src && tsc --noEmit && npm run lint && tsx src/test/integration.ts" ,
32
39
"build" : " tsc -p ." ,
33
40
"postbuild" : " esm2cjs --in dist-esm --out dist-cjs -l error -t node18" ,
34
41
"prepare" : " npm run build" ,
35
- "prepublishOnly" : " rm -rf dist && npm run build" ,
36
- "try" : " testbin"
42
+ "prepublishOnly" : " rm -rf dist && npm run build"
37
43
},
38
44
"author" : " " ,
39
45
"license" : " Apache-2.0" ,
You can’t perform that action at this time.
0 commit comments