mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 22:50:20 +08:00
[build] use development environment when build watching locally
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
"build": "genversion src/version.js && npm run build-src",
|
||||
"build-src": "BABEL_ENV=publish babel src -d dist --ignore __tests__ --copy-files",
|
||||
"build-flow": "flow-copy-source -i */__tests__* src dist",
|
||||
"build-src-watch": "genversion src/version.js && BABEL_ENV=publish babel src -d dist --ignore __tests__ --copy-files --watch",
|
||||
"build-src-watch": "genversion src/version.js && BABEL_ENV=development babel src -d dist --ignore __tests__ --copy-files --watch",
|
||||
"lint": "eslint ./src",
|
||||
"clean": "rimraf dist/",
|
||||
"validate-ts-declarations": "tsc --project ./",
|
||||
|
||||
Reference in New Issue
Block a user