File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 27
27
"build" : " concurrently pnpm:build:cjs pnpm:build:esm" ,
28
28
"docs" : " rimraf docs && typedoc --options typedoc.json --readme none" ,
29
29
"lint" : " eslint src/**/*.ts" ,
30
- "precommit" : " concurrently pnpm:lint pnpm:test && pnpm run build" ,
31
- "prepublishOnly" : " pnpm run build && pnpm test" ,
30
+ "precommit" : " concurrently pnpm:lint pnpm:test && pnpm run build && pnpm run validate && git status -s " ,
31
+ "prepublishOnly" : " pnpm run build && pnpm run validate && pnpm test" ,
32
32
"preversion" : " concurrently pnpm:lint pnpm:test" ,
33
33
"postversion" : " git push && git push --tags && pnpm run docs && git add -A && git commit -m \" Updated docs.\" docs && git push" ,
34
- "test" : " mocha -r ts-node/register tests/**/*.ts"
34
+ "test" : " mocha -r ts-node/register tests/**/*.ts" ,
35
+ "validate" : " node ./.build/validate-package.js"
35
36
},
36
37
"repository" : {
37
38
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments