Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.

Commit 3116d25

Browse files
feat(update): updated versions
1 parent 78f2d99 commit 3116d25

File tree

8 files changed

+6215
-7012
lines changed

8 files changed

+6215
-7012
lines changed

.babelrc

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
{
22
"env": {
33
"development": {
4-
"presets": ["env"],
4+
"presets": [
5+
"@babel/preset-env"
6+
],
57
"plugins": [
6-
"add-module-exports"
8+
"istanbul"
79
]
810
},
911
"production": {
10-
"presets": ["env", "minify"],
12+
"presets": [
13+
"@babel/preset-env",
14+
"minify"
15+
],
1116
"plugins": [
12-
"add-module-exports"
17+
"istanbul"
1318
]
1419
}
1520
}

.branchlintrc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"branchNameLinter": {
3+
"prefixes": ["feature", "hotfix", "release"],
4+
"suggestions": {
5+
"features": "feature",
6+
"feat": "feature",
7+
"fix": "hotfix",
8+
"releases": "release"
9+
},
10+
"banned": ["wip"],
11+
"skip": ["skip-ci"],
12+
"disallowed": ["master", "develop", "staging"],
13+
"seperator": "/",
14+
"msgBranchBanned": "Branches with the name \"%s\" are not allowed.",
15+
"msgBranchDisallowed": "Pushing to \"%s\" is not allowed, use git-flow.",
16+
"msgPrefixNotAllowed": "Branch prefix \"%s\" is not allowed.",
17+
"msgPrefixSuggestion": "Instead of \"%s\" try \"%s\".",
18+
"msgSeperatorRequired": "Branch \"%s\" must contain a seperator \"%s\"."
19+
}
20+
}

.huskyrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hooks": {
3+
"pre-push": "npx branch-name-lint .branchlintrc",
4+
"pre-commit": "npm run lint",
5+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
6+
}
7+
}

.nycrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"require": [
3+
"@babel/register"
4+
],
5+
"reporter": [
6+
"lcov"
7+
],
8+
"sourceMap": false,
9+
"instrument": false
10+
}

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ script:
1515
- npm run test
1616
- npm run build
1717
after_success:
18-
- npm run travis-deploy-once "npm run semantic-release"
18+
- npx travis-deploy-once "npm run semantic-release"

config.code-workspace

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
"env/nuxt/config/global/favicon.json": true
3838
},
3939
"files.associations": {
40+
".branchlintrc": "json",
41+
".huskyrc": "json",
4042
".postcssrc": "json",
4143
".releaserc": "json",
4244
".stylelintrc": "json",

0 commit comments

Comments
 (0)