Skip to content

Commit 7438088

Browse files
committed
add prepush script
1 parent f84e4bb commit 7438088

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"build:exports": "./node_modules/.bin/babel src --out-dir src --config-file ./src/.babelrc.json --extensions '.ts,.tsx' --ignore 'src/index.ts'",
3131
"build:packages": "node scripts/buildPackages.js",
3232
"build": "tsc --p tsconfig.build.json && npm run build:exports && npm run build:packages",
33+
"prepush": "npm run build:dev && npm run test",
3334
"log": "react-native log-ios | grep 'ethan -'",
3435
"docs:install": "(cd ./uilib-docs && rm -rf node_modules && rm -rf package-lock.json && npm install)",
3536
"docs:deploy": "(cd ./uilib-docs && gatsby build --prefix-paths && gh-pages -d public --branch gh-pages)",

0 commit comments

Comments
 (0)