|
21 | 21 | "babel-preset-es2015": "^6.22.0", |
22 | 22 | "conventional-changelog-cli": "^1.2.0", |
23 | 23 | "conventional-github-releaser": "^1.1.3", |
| 24 | + "cross-env": "^5.0.5", |
24 | 25 | "eslint": "^3.18.0", |
25 | 26 | "eslint-config-vue": "^2.0.2", |
26 | 27 | "eslint-plugin-vue": "^2.0.1", |
|
48 | 49 | "url": "git+https://github.com/kazupon/vue-i18n-loader.git" |
49 | 50 | }, |
50 | 51 | "scripts": { |
51 | | - "build": "BABEL_ENV=production babel ./src --out-dir ./lib", |
| 52 | + "build": "cross-env BABEL_ENV=production babel ./src --out-dir ./lib", |
52 | 53 | "changelog": "conventional-changelog -i CHANGELOG.md -s -n ./node_modules/git-commit-message-convention/convention.js", |
53 | 54 | "clean": "rm -rf ./coverage && rm -rf ./lib/*.js*", |
54 | 55 | "coverage": "./node_modules/.bin/nyc report --reporter=text-lcov > coverage.lcov", |
55 | 56 | "lint": "eslint ./src ./test", |
56 | 57 | "release": "conventional-github-releaser -n ./node_modules/git-commit-message-convention/convention.js", |
57 | 58 | "test": "npm run lint && npm run test:cover", |
58 | | - "test:cover": "BABEL_ENV=test ./node_modules/.bin/nyc report --reporter=html ava", |
59 | | - "test:unit": "BABEL_ENV=test ava", |
60 | | - "watch": "BABEL_ENV=development babel ./src --out-dir ./lib --watch" |
| 59 | + "test:cover": "cross-env BABEL_ENV=test ./node_modules/.bin/nyc report --reporter=html ava", |
| 60 | + "test:unit": "cross-env BABEL_ENV=test ava", |
| 61 | + "watch": "cross-env BABEL_ENV=development babel ./src --out-dir ./lib --watch" |
61 | 62 | } |
62 | 63 | } |
0 commit comments