update build script
This commit is contained in:
parent
19b97cdd8e
commit
42e18c8f52
|
@ -6,7 +6,7 @@
|
|||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "genversion lib/version.js && npm run validate-ts-declarations && npm run build-src && npm run build-flow",
|
||||
"build": "genversion src/version.js && npm run validate-ts-declarations && npm run build-src && npm run build-flow",
|
||||
"build-flow": "flow-copy-source -i */__tests__* src dist",
|
||||
"build-src": "BABEL_ENV=publish babel src -d dist --ignore __tests__ --copy-files",
|
||||
"build-src-watch": "genversion src/version.js && BABEL_ENV=publish babel src -d dist --ignore __tests__ --copy-files --watch",
|
||||
|
|
Loading…
Reference in New Issue