2
0
mirror of synced 2025-01-11 06:35:51 +00:00

add lib build watch script for local dev

This commit is contained in:
Salakar 2018-04-12 08:08:39 +01:00
parent 62706f9629
commit c238fdab03
2 changed files with 2 additions and 1 deletions

2
package-lock.json generated
View File

@ -1041,7 +1041,7 @@
},
"babel-eslint": {
"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==",
"dev": true,
"requires": {

View File

@ -9,6 +9,7 @@
"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-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/",
"flow": "flow",
"format:assets": "prettier --ignore-path .gitignore --write \"**/*.{json,md}\"",