File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 18
18
"yargs" : " ^17.2.1"
19
19
},
20
20
"scripts" : {
21
+ "clean" : " rimraf dist" ,
21
22
"dev" : " ts-node index.ts" ,
22
- "test" : " jest"
23
+ "test" : " jest" ,
24
+ "build" : " ncc build index.ts -o dist" ,
25
+ "prepack" : " yarn test && yarn clean && yarn build"
23
26
},
24
27
"devDependencies" : {
25
28
"@types/glob" : " ^7.2.0" ,
26
29
"@types/node" : " ^18.6.1" ,
27
30
"@types/semver" : " ^7.3.10" ,
28
31
"@types/yargs" : " ^17.0.3" ,
32
+ "@vercel/ncc" : " ^0.34.0" ,
29
33
"jest" : " ^28.1.3" ,
30
34
"ts-jest" : " ^28.0.7" ,
31
35
"typescript" : " ^4.7.4"
32
36
},
33
37
"bin" : {
34
- "grida" : " ./bin /index.js"
38
+ "grida" : " ./dist /index.js"
35
39
}
36
- }
40
+ }
Original file line number Diff line number Diff line change 763
763
dependencies :
764
764
" @types/yargs-parser" " *"
765
765
766
+ " @vercel/ncc@^0.34.0 " :
767
+ version "0.34.0"
768
+ resolved "https://registry.yarnpkg.com/@vercel/ncc/-/ncc-0.34.0.tgz#d0139528320e46670d949c82967044a8f66db054"
769
+ integrity sha512-G9h5ZLBJ/V57Ou9vz5hI8pda/YQX5HQszCs3AmIus3XzsmRn/0Ptic5otD3xVST8QLKk7AMk7AqpsyQGN7MZ9A==
770
+
766
771
acorn-walk@^8.1.1 :
767
772
version "8.2.0"
768
773
resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1"
You can’t perform that action at this time.
0 commit comments