File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 49
49
run : pnpm security
50
50
51
51
- name : Lint Repo
52
- run : pnpm lint:js
52
+ run : pnpm lint
53
53
54
54
- name : Run Tests
55
55
run : pnpm ci:coverage
Original file line number Diff line number Diff line change 16
16
"node" : " >=12"
17
17
},
18
18
"scripts" : {
19
- "ci:coverage" : " nyc npm run test && nyc report --reporter=text-lcov > coverage.lcov" ,
20
- "ci:test" : " npm run test" ,
21
- "lint" : " eslint src test --fix --cache" ,
19
+ "build" : " tsc --project tsconfig.json" ,
20
+ "ci:coverage" : " nyc pnpm ci:test && nyc report --reporter=text-lcov > coverage.lcov" ,
21
+ "ci:lint" : " pnpm lint && pnpm security" ,
22
+ "ci:test" : " pnpm test -- --verbose" ,
23
+ "lint" : " pnpm lint:docs && pnpm lint:json && pnpm lint:js" ,
22
24
"lint-staged" : " lint-staged" ,
23
- "security" : " npm audit --audit-level=high --prod" ,
24
- "test" : " ava test/integration.ts"
25
+ "lint:docs" : " prettier --write README.md" ,
26
+ "lint:js" : " eslint --cache --fix --cache src test" ,
27
+ "lint:json" : " prettier --write codecov.yml package.json" ,
28
+ "prepublishOnly" : " pnpm lint && pnpm build" ,
29
+ "pretest" : " pnpm build" ,
30
+ "security" : " pnpm audit --audit-level=high --prod" ,
31
+ "test" : " pnpm install && ava"
25
32
},
26
33
"files" : [
27
34
" dist" ,
You can’t perform that action at this time.
0 commit comments