|
17 | 17 | "commitmsg": "node distribution/cli.js --edit",
|
18 | 18 | "changelog": "conventional-changelog --preset angular --infile changelog.md --same-file --output-unreleased",
|
19 | 19 | "push": "git push && git push --tags && hub release create \"v$npm_package_version\" --message=\"v$npm_package_version\n$(conventional-changelog -p angular)\" && npm publish",
|
20 |
| - "test": "eslint *.js && jsonlint-cli *.json && node distribution/cli.js --from=HEAD~1 && ava", |
| 20 | + "test": "xo *.js && node distribution/cli.js --from=HEAD~1 && ava", |
21 | 21 | "preversion": "npm run build && npm test",
|
22 | 22 | "release": "npm version --no-git-tag-version $(conventional-recommended-bump -p angular)",
|
23 | 23 | "version": "npm run changelog && git add .",
|
|
29 | 29 | "babel-register"
|
30 | 30 | ]
|
31 | 31 | },
|
| 32 | + "babel": { |
| 33 | + "presets": [ |
| 34 | + "es2015-node4", |
| 35 | + "stage-0" |
| 36 | + ], |
| 37 | + "plugins": [ |
| 38 | + "add-module-exports" |
| 39 | + ] |
| 40 | + }, |
32 | 41 | "config": {
|
33 | 42 | "commitizen": {
|
34 | 43 | "path": "cz-conventional-changelog-lint"
|
|
57 | 66 | "license": "MIT",
|
58 | 67 | "devDependencies": {
|
59 | 68 | "ava": "0.15.2",
|
60 |
| - "babel": "6.5.1", |
61 | 69 | "babel-cli": "6.4.0",
|
62 |
| - "babel-eslint": "5.0.0", |
63 | 70 | "babel-plugin-add-module-exports": "0.1.2",
|
64 | 71 | "babel-preset-es2015-node4": "2.0.3",
|
65 | 72 | "babel-preset-stage-0": "6.5.0",
|
66 | 73 | "commitizen": "2.6.1",
|
67 | 74 | "conventional-changelog-cli": "1.0.0",
|
68 | 75 | "conventional-recommended-bump": "0.1.0",
|
69 | 76 | "cz-conventional-changelog-lint": "0.1.2",
|
70 |
| - "eslint": "2.2.0", |
71 |
| - "eslint-config-xo": "0.11.0", |
72 |
| - "eslint-plugin-babel": "3.1.0", |
73 |
| - "jsonlint-cli": "0.2.7" |
| 77 | + "xo": "0.17.0" |
74 | 78 | },
|
75 | 79 | "dependencies": {
|
| 80 | + "babel-cli": "6.18.0", |
| 81 | + "babel-plugin-add-module-exports": "0.2.1", |
76 | 82 | "babel-polyfill": "6.3.14",
|
| 83 | + "babel-preset-es2015-node4": "2.1.0", |
| 84 | + "babel-preset-stage-0": "6.16.0", |
77 | 85 | "chalk": "1.1.1",
|
78 | 86 | "conventional-changelog-angular": "1.0.0",
|
79 | 87 | "conventional-changelog-lint-config-angular": "0.2.3",
|
|
0 commit comments