|
6 | 6 | "name": "kazuya kawaguchi", |
7 | 7 | "email": "kawakazu80@gmail.com" |
8 | 8 | }, |
9 | | - "ava": { |
10 | | - "require": [ |
11 | | - "@babel/register" |
12 | | - ] |
13 | | - }, |
14 | 9 | "bugs": { |
15 | 10 | "url": "https://github.com/kazupon/vue-i18n-loader/issues" |
16 | 11 | }, |
17 | 12 | "devDependencies": { |
18 | 13 | "@babel/cli": "^7.5.0", |
19 | 14 | "@babel/core": "^7.5.4", |
20 | | - "@babel/register": "^7.4.4", |
21 | | - "ava": "^1.1.0", |
22 | 15 | "babel-eslint": "^10.0.2", |
| 16 | + "babel-jest": "^24.8.0", |
23 | 17 | "babel-preset-env": "^1.7.0", |
24 | 18 | "conventional-changelog-cli": "^2.0.12", |
25 | 19 | "conventional-github-releaser": "^3.1.2", |
26 | 20 | "cross-env": "^5.2.0", |
27 | 21 | "eslint": "^6.0.0", |
28 | 22 | "eslint-plugin-vue-libs": "^4.0.0", |
29 | 23 | "git-commit-message-convention": "git://github.com/kazupon/git-commit-message-convention.git", |
30 | | - "nyc": "^13.3.0", |
31 | | - "opener": "^1.5.1" |
| 24 | + "jest": "^24.8.0", |
| 25 | + "jsdom": "^15.1.1", |
| 26 | + "memory-fs": "^0.4.1", |
| 27 | + "opener": "^1.5.1", |
| 28 | + "vue-loader": "^15.7.0", |
| 29 | + "vue-template-compiler": "^2.6.10", |
| 30 | + "webpack": "^4.35.3" |
32 | 31 | }, |
33 | 32 | "engines": { |
34 | 33 | "node": ">= 8" |
|
53 | 52 | "scripts": { |
54 | 53 | "build": "cross-env BABEL_ENV=production babel ./src --out-dir ./lib", |
55 | 54 | "changelog": "conventional-changelog -i CHANGELOG.md -s -n ./node_modules/git-commit-message-convention/convention.js", |
56 | | - "ci:coverage": "nyc report --reporter=text-lcov > coverage.lcov", |
57 | 55 | "clean": "rm -rf ./coverage && rm -rf ./lib/*.js*", |
58 | | - "coverage": "nyc report --reporter lcov && opener coverage/lcov-report/index.html", |
| 56 | + "coverage": "opener coverage/lcov-report/index.html", |
59 | 57 | "lint": "eslint ./src ./test", |
60 | 58 | "release": "conventional-github-releaser -n ./node_modules/git-commit-message-convention/convention.js", |
61 | 59 | "test": "npm run lint && npm run test:cover", |
62 | | - "test:cover": "cross-env BABEL_ENV=test nyc ava", |
63 | | - "test:unit": "cross-env BABEL_ENV=test ava", |
| 60 | + "test:cover": "npm run test:unit -- --coverage", |
| 61 | + "test:unit": "cross-env BABEL_ENV=test jest --env node", |
64 | 62 | "watch": "cross-env BABEL_ENV=development babel ./src --out-dir ./lib --watch" |
65 | 63 | } |
66 | 64 | } |
0 commit comments