|
10 | 10 | ],
|
11 | 11 | "scripts": {
|
12 | 12 | "commit": "git cz",
|
13 |
| - "test": "mocha --require tests/config/setup 'tests/**/*.test.js'", |
14 |
| - "test:watch": "mocha --require tests/config/setup 'tests/**/*.test.js' --watch", |
15 |
| - "test:cover": "istanbul cover -x *.test.js _mocha -- -R spec --require tests/config/setup 'tests/**/*.test.js'", |
| 13 | + "test": "ava", |
| 14 | + "test:watch": "ava --watch", |
| 15 | + "test:cover": "nyc ava", |
16 | 16 | "test:report": "cat ./coverage/lcov.info | codecov && rm -rf ./coverage",
|
17 | 17 | "semantic-release": "semantic-release pre && npm publish && semantic-release post",
|
18 | 18 | "build": "npm run build:umd && npm run build:es && npm run build:cjs",
|
|
28 | 28 | },
|
29 | 29 | "license": "MIT",
|
30 | 30 | "devDependencies": {
|
| 31 | + "ava": "^0.21.0", |
31 | 32 | "babel-core": "^6.25.0",
|
32 |
| - "chai": "^4.1.0", |
| 33 | + "babel-polyfill": "^6.23.0", |
| 34 | + "babel-preset-env": "^1.6.0", |
| 35 | + "babel-register": "^6.24.1", |
33 | 36 | "codecov.io": "^0.1.6",
|
34 | 37 | "concurrently": "^3.5.0",
|
35 | 38 | "cz-conventional-changelog": "^2.0.0",
|
|
41 | 44 | "eslint-plugin-promise": "^3.5.0",
|
42 | 45 | "eslint-plugin-standard": "^3.0.1",
|
43 | 46 | "husky": "^0.14.3",
|
44 |
| - "istanbul": "^1.1.0-alpha.1", |
45 | 47 | "jsdom": "^9.12.0",
|
46 | 48 | "lint-staged": "^4.0.1",
|
47 |
| - "mocha": "^3.4.2", |
| 49 | + "nyc": "^11.0.3", |
48 | 50 | "pascal-case": "^2.0.1",
|
49 | 51 | "prettier-eslint-cli": "^4.1.1",
|
50 | 52 | "rollup": "^0.45.2",
|
|
69 | 71 | "git add"
|
70 | 72 | ]
|
71 | 73 | },
|
72 |
| - "homepage": "https://github.com/ritz078/javascript-plugin-boilerplate" |
| 74 | + "homepage": "https://github.com/ritz078/javascript-plugin-boilerplate", |
| 75 | + "ava": { |
| 76 | + "require": [ |
| 77 | + "babel-register", |
| 78 | + "babel-polyfill" |
| 79 | + ] |
| 80 | + } |
73 | 81 | }
|
0 commit comments