Skip to content

Commit 4f7a914

Browse files
committed
🔧 config(npm): update script
1 parent 1c9f308 commit 4f7a914

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
"name": "kazuya kawaguchi",
77
"email": "[email protected]"
88
},
9+
"ava": {
10+
"require": [
11+
"babel-core/register"
12+
]
13+
},
914
"bugs": {
1015
"url": "https://github.com/kazupon/vue-i18n-loader/issues"
1116
},
@@ -21,41 +26,36 @@
2126
"eslint-plugin-vue": "^2.0.1",
2227
"nyc": "^10.2.0"
2328
},
29+
"engines": {
30+
"node": ">= 4.0"
31+
},
2432
"files": [
2533
"lib",
2634
"src"
2735
],
2836
"homepage": "https://github.com/kazupon/vue-i18n-loader#readme",
29-
"main": "lib/index.js",
3037
"keywords": [
31-
"vue",
32-
"webpack",
38+
"i18n",
3339
"loader",
34-
"i18n"
40+
"vue",
41+
"webpack"
3542
],
3643
"license": "MIT",
37-
"engines": {
38-
"node": ">= 4.0"
39-
},
44+
"main": "lib/index.js",
4045
"repository": {
4146
"type": "git",
4247
"url": "git+https://github.com/kazupon/vue-i18n-loader.git"
4348
},
4449
"scripts": {
4550
"build": "BABEL_ENV=production babel ./src --out-dir ./lib",
46-
"watch": "BABEL_ENV=development babel ./src --out-dir ./lib --watch",
47-
"changelog": "conventional-changelog -i CHANGELOG.md -s -n ./config/convention.js",
48-
"release": "conventional-github-releaser -n ./config/convention.js",
51+
"changelog": "conventional-changelog -i CHANGELOG.md -s -n ./node_modules/git-commit-message-convention/convention.js",
4952
"clean": "rm -rf ./coverage && rm -rf ./lib/*.js*",
5053
"coverage": "./node_modules/.bin/nyc report --reporter=text-lcov > coverage.lcov",
5154
"lint": "eslint ./src ./test",
55+
"release": "conventional-github-releaser -n ./node_modules/git-commit-message-convention/convention.js",
5256
"test": "npm run lint && npm run test:cover",
5357
"test:cover": "BABEL_ENV=test ./node_modules/.bin/nyc report --reporter=html ava",
54-
"test:unit": "BABEL_ENV=test ava"
55-
},
56-
"ava": {
57-
"require": [
58-
"babel-core/register"
59-
]
58+
"test:unit": "BABEL_ENV=test ava",
59+
"watch": "BABEL_ENV=development babel ./src --out-dir ./lib --watch"
6060
}
6161
}

0 commit comments

Comments
 (0)