Browse Source

chore: npm run clean before publish

pull/29058/head
afc163 4 years ago
parent
commit
57d37247df
  1. 1
      package.json
  2. 3
      scripts/test-all.sh

1
package.json

@ -52,6 +52,7 @@
"bundlesize": "bundlesize",
"check-commit": "node ./scripts/check-commit",
"check-ts-demo": "node ./scripts/check-ts-demo",
"clean": "antd-tools run clean && rm -rf es lib coverage dist report.html",
"prestart": "npm run version",
"precompile": "npm run version",
"pretest": "npm run version",

3
scripts/test-all.sh

@ -1,5 +1,8 @@
#!/bin/sh
echo "[CLEAN] clean"
npm run clean
echo "[TEST ALL] check-commit"
npm run check-commit

Loading…
Cancel
Save