File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change
1
+ files:
2
+ - test/**/*.test.js
Original file line number Diff line number Diff line change 6
6
"types" : " plugin.d.ts" ,
7
7
"scripts" : {
8
8
"lint" : " standard --verbose | snazzy" ,
9
- "lint:ci" : " standard" ,
10
- "test" : " npm run unit && npm run test:types" ,
11
- "test:types" : " tsd" ,
12
- "unit" : " tap -J \" test/*.test.js\" " ,
13
- "unit:report" : " npm run unit -- --coverage-report=html" ,
14
- "unit:verbose" : " npm run unit -- -Rspec"
9
+ "test" : " npm run test:unit && npm run test:typescript" ,
10
+ "test:typescript" : " tsd" ,
11
+ "test:unit" : " tap" ,
12
+ "test:unit:report" : " npm run test:unit -- --coverage-report=html" ,
13
+ "test:unit:verbose" : " npm run test:unit -- -Rspec"
15
14
},
16
15
"precommit" : [
17
16
" lint" ,
51
50
},
52
51
"publishConfig" : {
53
52
"access" : " public"
54
- }
53
+ },
54
+ "pre-commit" : [
55
+ " lint" ,
56
+ " test"
57
+ ]
55
58
}
You can’t perform that action at this time.
0 commit comments