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

refactor: 🔨 add cross-env to npm script for Windows

This commit is contained in:
Meeeeow 2017-12-02 23:29:15 +08:00 committed by juanpicado
parent 136de84cc5
commit 38c15bfe2a
2 changed files with 6 additions and 5 deletions

View file

@ -53,8 +53,10 @@
"babel-cli": "6.26.0",
"babel-core": "6.26.0",
"babel-eslint": "8.0.1",
"babel-jest": "^21.2.0",
"babel-loader": "7.1.2",
"babel-plugin-flow-runtime": "0.11.1",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "1.3.4",
"babel-plugin-transform-es2015-classes": "^6.24.1",
"babel-plugin-transform-runtime": "6.23.0",
@ -68,11 +70,10 @@
"babel-preset-stage-3": "6.24.1",
"babel-register": "^6.26.0",
"babel-runtime": "6.26.0",
"babel-jest": "^21.2.0",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"codacy-coverage": "2.0.2",
"codecov": "2.2.0",
"coveralls": "2.13.1",
"cross-env": "^5.1.1",
"css-loader": "0.28.7",
"element-react": "1.4.1",
"element-theme-default": "1.4.9",
@ -133,7 +134,7 @@
"release": "standard-version -a -s",
"prepublish": "in-publish && npm run build:webui || not-in-publish",
"flow": "flow",
"test": "BABEL_ENV=registry mocha --require babel-register ./test/functional ./test/unit --reporter=spec --full-trace",
"test": "cross-env BABEL_ENV=registry mocha --require babel-register ./test/functional ./test/unit --reporter=spec --full-trace",
"pre:ci": "npm run build:webui",
"test:ci": "npm run test:coverage",
"test:only": "mocha ./test/functional ./test/unit",
@ -142,8 +143,8 @@
"coverage:publish": "nyc report --reporter=lcov | codecov",
"lint": "eslint .",
"lint:css": "stylelint 'src/**/*.scss' --syntax scss",
"dev:start": "BABEL_ENV=registry babel-node src/lib/cli",
"code:build": "BABEL_ENV=registry babel src/ --out-dir build/ --ignore src/webui/ --copy-files",
"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",
"build:webui": "npm run pre:webpack && BABEL_ENV=ui webpack --config tools/webpack.prod.config.babel.js",

BIN
yarn.lock

Binary file not shown.