зеркало из https://github.com/mozilla/reflex.git
Fix dist build name.
This commit is contained in:
Родитель
fba0553a94
Коммит
6ed0b80c64
|
@ -30,7 +30,7 @@
|
||||||
"flow": "flow check",
|
"flow": "flow check",
|
||||||
"start": "babel --watch --out-dir ./lib ./src",
|
"start": "babel --watch --out-dir ./lib ./src",
|
||||||
"build-node": "babel --out-dir ./lib ./src && cp ./src/*.flow ./lib",
|
"build-node": "babel --out-dir ./lib ./src && cp ./src/*.flow ./lib",
|
||||||
"build-browser": "mkdir -p dist && babel --out-file ./dist/result.js --plugins 'transform-es2015-modules-umd' ./src",
|
"build-browser": "mkdir -p dist && babel --out-file ./dist/reflex.js --plugins 'transform-es2015-modules-umd' ./src",
|
||||||
"build": "npm run build-node && npm run build-browser",
|
"build": "npm run build-node && npm run build-browser",
|
||||||
"prepublish": "npm run build && npm run flow"
|
"prepublish": "npm run build && npm run flow"
|
||||||
},
|
},
|
||||||
|
|
Загрузка…
Ссылка в новой задаче