add lib build watch script for local dev
This commit is contained in:
parent
62706f9629
commit
c238fdab03
2
package-lock.json
generated
2
package-lock.json
generated
@ -1041,7 +1041,7 @@
|
|||||||
},
|
},
|
||||||
"babel-eslint": {
|
"babel-eslint": {
|
||||||
"version": "8.2.2",
|
"version": "8.2.2",
|
||||||
"resolved": "http://registry.npmjs.org/babel-eslint/-/babel-eslint-8.2.2.tgz",
|
"resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-8.2.2.tgz",
|
||||||
"integrity": "sha512-Qt2lz2egBxNYWqN9JIO2z4NOOf8i4b5JS6CFoYrOZZTDssueiV1jH/jsefyg+86SeNY3rB361/mi3kE1WK2WYQ==",
|
"integrity": "sha512-Qt2lz2egBxNYWqN9JIO2z4NOOf8i4b5JS6CFoYrOZZTDssueiV1jH/jsefyg+86SeNY3rB361/mi3kE1WK2WYQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
"build": "genversion lib/version.js && npm run validate-ts-declarations && npm run build-lib && npm run build-flow",
|
"build": "genversion lib/version.js && npm run validate-ts-declarations && npm run build-lib && npm run build-flow",
|
||||||
"build-flow": "flow-copy-source -i */__tests__* lib dist",
|
"build-flow": "flow-copy-source -i */__tests__* lib dist",
|
||||||
"build-lib": "BABEL_ENV=publish babel lib -d dist --ignore __tests__ --copy-files",
|
"build-lib": "BABEL_ENV=publish babel lib -d dist --ignore __tests__ --copy-files",
|
||||||
|
"build-lib-watch": "BABEL_ENV=publish genversion lib/version.js && babel lib -d dist --ignore __tests__ --copy-files --watch",
|
||||||
"clean": "rimraf dist/",
|
"clean": "rimraf dist/",
|
||||||
"flow": "flow",
|
"flow": "flow",
|
||||||
"format:assets": "prettier --ignore-path .gitignore --write \"**/*.{json,md}\"",
|
"format:assets": "prettier --ignore-path .gitignore --write \"**/*.{json,md}\"",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user