File tree 4 files changed +16
-3
lines changed
4 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 16
16
with :
17
17
node-version : 16
18
18
- run : yarn run ci
19
- - run : yarn run build
20
19
- run : yarn test
21
20
22
21
publish-npm :
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env sh
2
+ . " $( dirname -- " $0 " ) /_/husky.sh"
3
+
4
+ yarn test
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @twilio-labs/docusaurus-plugin-segment" ,
3
- "version" : " 0.1.0" ,
3
+ "version" : " 0.1.0-pre1 " ,
4
4
"description" : " Segment plugin for Docusaurus." ,
5
5
"main" : " lib/index.js" ,
6
6
"types" : " lib/index.d.ts" ,
10
10
"scripts" : {
11
11
"build" : " tsc --build" ,
12
12
"watch" : " tsc --build --watch" ,
13
- "test" : " jest"
13
+ "test" : " jest" ,
14
+ "prepack" : " rimraf lib && yarn run build && rimraf lib/src/tests" ,
15
+ "preci" : " rm -rf node_modules" ,
16
+ "ci" : " yarn install --frozen-lockfile" ,
17
+ "prepare" : " husky install"
14
18
},
15
19
"repository" : " https://github.com/twilio-labs/docusaurus-plugin-segment" ,
16
20
"license" : " MIT" ,
24
28
"@docusaurus/types" : " 2.0.0-beta.21" ,
25
29
"@types/jest" : " ^28.1.1" ,
26
30
"@types/segment-analytics" : " ^0.0.34" ,
31
+ "husky" : " ^8.0.1" ,
27
32
"jest" : " ^28.1.1" ,
28
33
"ts-jest" : " ^28.0.4" ,
29
34
"typescript" : " ^4.7.3"
Original file line number Diff line number Diff line change @@ -4319,6 +4319,11 @@ human-signals@^2.1.0:
4319
4319
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
4320
4320
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
4321
4321
4322
+ husky@^8.0.1 :
4323
+ version "8.0.1"
4324
+ resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.1.tgz#511cb3e57de3e3190514ae49ed50f6bc3f50b3e9"
4325
+ integrity sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw==
4326
+
4322
4327
4323
4328
version "0.4.24"
4324
4329
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
You can’t perform that action at this time.
0 commit comments