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

Commit

Permalink
Merge pull request #22 from basics/feature/update
Browse files Browse the repository at this point in the history
feat(update): updated versions
  • Loading branch information
StephanGerbeth authored Aug 3, 2019
2 parents 78f2d99 + 2382f57 commit c734002
Show file tree
Hide file tree
Showing 8 changed files with 6,249 additions and 7,000 deletions.
37 changes: 33 additions & 4 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,15 +1,44 @@
{
"env": {
"development": {
"presets": ["env"],
"presets": [
[
"@babel/preset-env",
{
"targets": {
"browsers": [
"last 2 versions",
"ie >= 11"
],
},
"corejs": "3.1.4",
"useBuiltIns": "usage"
}
]
],
"plugins": [
"add-module-exports"
"istanbul"
]
},
"production": {
"presets": ["env", "minify"],
"presets": [
[
"@babel/preset-env",
{
"targets": {
"browsers": [
"last 2 versions",
"ie >= 11"
],
},
"corejs": "3.1.4",
"useBuiltIns": "usage"
}
],
"minify"
],
"plugins": [
"add-module-exports"
"istanbul"
]
}
}
Expand Down
20 changes: 20 additions & 0 deletions .branchlintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"branchNameLinter": {
"prefixes": ["feature", "hotfix", "release"],
"suggestions": {
"features": "feature",
"feat": "feature",
"fix": "hotfix",
"releases": "release"
},
"banned": ["wip"],
"skip": ["skip-ci"],
"disallowed": ["master", "develop", "staging"],
"seperator": "/",
"msgBranchBanned": "Branches with the name \"%s\" are not allowed.",
"msgBranchDisallowed": "Pushing to \"%s\" is not allowed, use git-flow.",
"msgPrefixNotAllowed": "Branch prefix \"%s\" is not allowed.",
"msgPrefixSuggestion": "Instead of \"%s\" try \"%s\".",
"msgSeperatorRequired": "Branch \"%s\" must contain a seperator \"%s\"."
}
}
7 changes: 7 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"hooks": {
"pre-push": "npx branch-name-lint .branchlintrc",
"pre-commit": "npm run lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
10 changes: 10 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"require": [
"@babel/register"
],
"reporter": [
"lcov"
],
"sourceMap": false,
"instrument": false
}
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ script:
- npm run test
- npm run build
after_success:
- npm run travis-deploy-once "npm run semantic-release"
- npx travis-deploy-once "npm run semantic-release"
2 changes: 2 additions & 0 deletions config.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"env/nuxt/config/global/favicon.json": true
},
"files.associations": {
".branchlintrc": "json",
".huskyrc": "json",
".postcssrc": "json",
".releaserc": "json",
".stylelintrc": "json",
Expand Down
Loading

0 comments on commit c734002

Please sign in to comment.