0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

fix: 🐛 npm script "dev:webui" failed due no BABEL_ENV environment variable

This commit is contained in:
Meeeeow 2017-12-02 23:32:45 +08:00 committed by juanpicado
parent 38c15bfe2a
commit 7caad09ca0

View file

@ -146,7 +146,7 @@
"dev:start": "cross-env BABEL_ENV=registry babel-node src/lib/cli",
"code:build": "cross-env BABEL_ENV=registry babel src/ --out-dir build/ --ignore src/webui/ --copy-files",
"pre:webpack": "npm run lint && rimraf static/*",
"dev:webui": "babel-node tools/dev.server.js",
"dev:webui": "cross-env BABEL_ENV=ui babel-node tools/dev.server.js",
"build:webui": "npm run pre:webpack && BABEL_ENV=ui webpack --config tools/webpack.prod.config.babel.js",
"build:docker": "docker build -t verdaccio . --no-cache",
"build:docker:rpi": "docker build -f Dockerfile.rpi -t verdaccio:rpi ."