Skip to content

Commit 174993d

Browse files
authored
Update dependencies && Upgrade CI node env (#114)
* chore(deps): Update Deps - Upgrade CI node versions * chore(deps): upgrade husky
1 parent 3f9508c commit 174993d

File tree

4 files changed

+1839
-555
lines changed

4 files changed

+1839
-555
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
sudo: false
22
language: node_js
33
node_js:
4-
- 4
5-
- 6
6-
- 7
4+
- 8
5+
- 10
6+
- 12
77
notification:
88
slack:
99
secure: "lOi/Boe8VymCFXJY+6VFM7uTQ5dirToXHEmRWc4yWO+wEWeB2xMxmG4qBS4hqpgUfnzg+6MQmpvI4xti2Ddsp9DOPEORiKfdUKS1duTsijucEA3N0ERS4SUfSVht2QivGgRLEQ3UtvS+nFratPfGIp2nnUejpWCaKuOuSqVAIbiZ0lcnlDdmwGsvdom+JBpga20iOkmg5YqdMvYUwTTHGQl9EYC1lcyIEs3hWbF4JSfZ+V85lWQ/PM5DINOyuMz7nWakzOX9hn13xEzdGw2lhNM3i0cp+Q4/9prvXUOYe5A66/OVxMM0i6DcyTHsRCU3x+5RjkerUW1DaQyr4Ju9NE3spjSHlqm+p2XjjPQGP0MSFWf5ArDiSz32/dxEikvLRk9PUdsiYAWdrAPZbzKxg0Ua294hnHS69CjGcS3OmQvKH/AVVoKgHo8vBDQgUnNokD0enaVcyUGYpScaMYinPfqJ3BUjZGPx5Eq7htCg393UUN8qv6Sh1Thgm0VVkphinMlZgDT/Ac28ZtnbrG28iVivW6XZ1dcvzfIs+YoqI+fSJrmQQ3s3r4c1g+JNqgcvsWJ2ekMelmxaudfvPC2HQL/CbCNB9zn5qpPToDJtTZdLJ5st0QDLsT+lF2WHeV8j5VLkMUcoHaj8878tdB7J8oQKwpdHZXZDAO3+Jm1w2UM="

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
environment:
33
matrix:
44
# node.js
5-
- nodejs_version: "6"
5+
- nodejs_version: "10"
66

77
# Install scripts. (runs after repo cloning)
88
install:

package.json

Lines changed: 32 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,42 +12,58 @@
1212
"test": "npm-run-all lint mocha",
1313
"lint": "eslint --fix src test",
1414
"mocha": "mocha",
15-
"precommit": "lint-staged",
1615
"prettier": "prettier --write \"**/*.{js,json,md}\""
1716
},
18-
"files": ["lib", "src"],
19-
"keywords": ["textlint", "rule"],
17+
"files": [
18+
"lib",
19+
"src"
20+
],
21+
"keywords": [
22+
"textlint",
23+
"rule"
24+
],
2025
"author": "nodaguti",
2126
"license": "MIT",
2227
"bugs": "https://github.com/textlint-rule/textlint-rule-no-dead-link/issues",
2328
"homepage": "https://github.com/textlint-rule/textlint-rule-no-dead-link",
2429
"repository": "textlint-rule/textlint-rule-no-dead-link",
2530
"dependencies": {
26-
"fs-extra": "^5.0.0",
31+
"fs-extra": "^8.0.1",
2732
"get-url-origin": "^1.0.1",
2833
"isomorphic-fetch": "^2.2.1",
2934
"minimatch": "^3.0.4",
30-
"textlint-rule-helper": "^2.0.0"
35+
"textlint-rule-helper": "^2.1.1"
3136
},
3237
"lint-staged": {
33-
"*.js": ["prettier", "git add"],
34-
"*.json": ["prettier", "git add"]
38+
"*.js": [
39+
"prettier",
40+
"git add"
41+
],
42+
"*.json": [
43+
"prettier",
44+
"git add"
45+
]
3546
},
3647
"devDependencies": {
3748
"babel-cli": "^6.26.0",
38-
"babel-core": "^6.26.0",
39-
"babel-preset-env": "^1.6.1",
49+
"babel-core": "^6.26.3",
50+
"babel-preset-env": "^1.7.0",
4051
"eslint": "^4.13.1",
4152
"eslint-config-airbnb-base": "^12.1.0",
4253
"eslint-config-prettier": "^2.9.0",
4354
"eslint-plugin-immutable": "^1.0.0",
4455
"eslint-plugin-import": "^2.8.0",
45-
"husky": "^0.14.3",
46-
"lint-staged": "^6.0.0",
47-
"mocha": "^4.0.1",
48-
"npm-run-all": "^4.1.2",
49-
"prettier": "^1.9.2",
50-
"textlint": "^10.0.0",
51-
"textlint-tester": "4.0.0"
56+
"husky": "^2.4.1",
57+
"lint-staged": "^8.2.1",
58+
"mocha": "^6.1.4",
59+
"npm-run-all": "^4.1.5",
60+
"prettier": "^1.18.2",
61+
"textlint": "^11.2.5",
62+
"textlint-tester": "5.1.6"
63+
},
64+
"husky": {
65+
"hooks": {
66+
"pre-commit": "lint-staged"
67+
}
5268
}
5369
}

0 commit comments

Comments
 (0)