File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ . " $( dirname " $0 " ) /_/husky.sh"
3
+
4
+ npm run build
Original file line number Diff line number Diff line change 1
1
{
2
2
"scripts" : {
3
- "build" : " node_modules/.bin/esbuild --target=es2020 ./src/index.jsx --bundle --platform=node --outfile=index.js"
3
+ "build" : " node_modules/.bin/esbuild --target=es2020 ./src/index.jsx --bundle --platform=node --outfile=index.js" ,
4
+ "prepare" : " husky install"
4
5
},
5
6
"dependencies" : {
6
7
"@actions/core" : " ^1.4.0" ,
7
8
"@actions/exec" : " ^1.1.0" ,
8
9
"d3" : " ^7.0.0" ,
9
10
"esbuild" : " ^0.12.15" ,
11
+ "husky" : " ^7.0.1" ,
10
12
"lodash" : " ^4.17.21" ,
11
13
"react" : " ^17.0.2" ,
12
14
"react-dom" : " ^17.0.2"
15
+ },
16
+ "devDependencies" : {
17
+ "husky" : " ^7.0.0"
13
18
}
14
19
}
Original file line number Diff line number Diff line change @@ -280,6 +280,11 @@ esbuild@^0.12.15:
280
280
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.12.15.tgz#9d99cf39aeb2188265c5983e983e236829f08af0"
281
281
integrity sha512-72V4JNd2+48eOVCXx49xoSWHgC3/cCy96e7mbXKY+WOWghN00cCmlGnwVLRhRHorvv0dgCyuMYBZlM2xDM5OQw==
282
282
283
+ husky@^7.0.1 :
284
+ version "7.0.1"
285
+ resolved "https://registry.yarnpkg.com/husky/-/husky-7.0.1.tgz#579f4180b5da4520263e8713cc832942b48e1f1c"
286
+ integrity sha512-gceRaITVZ+cJH9sNHqx5tFwbzlLCVxtVZcusME8JYQ8Edy5mpGDOqD8QBCdMhpyo9a+JXddnujQ4rpY2Ff9SJA==
287
+
283
288
284
289
version "0.6.3"
285
290
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501"
You can’t perform that action at this time.
0 commit comments