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

Commit c734002

Browse files
Merge pull request #22 from basics/feature/update
feat(update): updated versions
2 parents 78f2d99 + 2382f57 commit c734002

File tree

8 files changed

+6249
-7000
lines changed

8 files changed

+6249
-7000
lines changed

.babelrc

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,44 @@
11
{
22
"env": {
33
"development": {
4-
"presets": ["env"],
4+
"presets": [
5+
[
6+
"@babel/preset-env",
7+
{
8+
"targets": {
9+
"browsers": [
10+
"last 2 versions",
11+
"ie >= 11"
12+
],
13+
},
14+
"corejs": "3.1.4",
15+
"useBuiltIns": "usage"
16+
}
17+
]
18+
],
519
"plugins": [
6-
"add-module-exports"
20+
"istanbul"
721
]
822
},
923
"production": {
10-
"presets": ["env", "minify"],
24+
"presets": [
25+
[
26+
"@babel/preset-env",
27+
{
28+
"targets": {
29+
"browsers": [
30+
"last 2 versions",
31+
"ie >= 11"
32+
],
33+
},
34+
"corejs": "3.1.4",
35+
"useBuiltIns": "usage"
36+
}
37+
],
38+
"minify"
39+
],
1140
"plugins": [
12-
"add-module-exports"
41+
"istanbul"
1342
]
1443
}
1544
}

.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)