generated from basics/blueprint-npm-module
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8d6b8c7
Showing
26 changed files
with
13,143 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
version: "{build}" | ||
|
||
install: | ||
- ps: $nodejs_version = Get-Content .nvmrc -Raw | foreach{ $_.Trim()} | ||
- ps: Install-Product node $nodejs_version | ||
- npm install | ||
|
||
build: off | ||
|
||
test_script: | ||
- node --version && npm --version | ||
- npm run test | ||
|
||
matrix: | ||
fast_finish: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"env": { | ||
"development": { | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"browsers": [ | ||
"last 2 versions", | ||
"ie >= 11" | ||
], | ||
}, | ||
"corejs": "3.1.4", | ||
"useBuiltIns": "usage" | ||
} | ||
] | ||
], | ||
"plugins": [ | ||
"istanbul" | ||
] | ||
}, | ||
"production": { | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"browsers": [ | ||
"last 2 versions", | ||
"ie >= 11" | ||
], | ||
}, | ||
"corejs": "3.1.4", | ||
"useBuiltIns": "usage" | ||
} | ||
], | ||
"minify" | ||
], | ||
"plugins": [ | ||
"istanbul" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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\"." | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": ["@commitlint/config-conventional"], | ||
"rules": { | ||
"scope-empty": [2, "never"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# EditorConfig helps developers define and maintain | ||
# consistent coding styles between different editors and IDEs. | ||
|
||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"parser": "babel-eslint", | ||
"extends": "airbnb", | ||
"env": { | ||
"mocha": true | ||
}, | ||
"rules": { | ||
"comma-dangle": ["error", "only-multiline"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules | ||
jspm_packages | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Editors | ||
.idea | ||
|
||
# Lib | ||
lib | ||
|
||
# npm package lock | ||
package-lock.json | ||
yarn.lock | ||
|
||
others | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
*.log | ||
npm-debug.log* | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
.nyc_output | ||
|
||
# Dependency directories | ||
node_modules | ||
|
||
# npm package lock | ||
package-lock.json | ||
yarn.lock | ||
|
||
# project files | ||
src | ||
test | ||
examples | ||
CHANGELOG.md | ||
.travis.yml | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc | ||
.babelrc | ||
.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
;;;; | ||
; npm userconfig file | ||
; this is a simple ini-formatted file | ||
; lines that start with semi-colons are comments. | ||
; read `npm help config` for help on the various options | ||
;;;; | ||
|
||
;;;; | ||
; all options with default values | ||
;;;; | ||
access=public | ||
; always-auth=false | ||
; also=null | ||
; bin-links=true | ||
; browser=null | ||
; ca=null | ||
; cafile=undefined | ||
; cache=/Users/zool/.npm | ||
; cache-lock-stale=60000 | ||
; cache-lock-retries=10 | ||
; cache-lock-wait=10000 | ||
; cache-max=null | ||
; cache-min=10 | ||
; cert=null | ||
; color=true | ||
; depth=null | ||
; description=true | ||
; dev=false | ||
; dry-run=false | ||
; editor=vim | ||
; engine-strict=false | ||
; force=false | ||
; fetch-retries=2 | ||
; fetch-retry-factor=10 | ||
; fetch-retry-mintimeout=10000 | ||
; fetch-retry-maxtimeout=60000 | ||
; git=git | ||
; git-tag-version=true | ||
; global=false | ||
; globalconfig=/Users/zool/.node/etc/npmrc | ||
; group=20 | ||
; heading=npm | ||
; if-present=false | ||
; ignore-scripts=false | ||
; init-module=/Users/zool/.npm-init.js | ||
; init-author-name= | ||
; init-author-email= | ||
; init-author-url= | ||
; init-version=1.0.0 | ||
; init-license=ISC | ||
; json=false | ||
; key=null | ||
; link=false | ||
; local-address=undefined | ||
; loglevel=warn | ||
; long=false | ||
; message=%s | ||
; node-version=4.1.2 | ||
; npat=false | ||
; onload-script=null | ||
; only=null | ||
; optional=true | ||
; parseable=false | ||
; prefix=/usr/local/Cellar/node/4.1.2 | ||
; production=false | ||
; progress=true | ||
; proprietary-attribs=true | ||
; proxy=null | ||
; https-proxy=null | ||
; user-agent=npm/{npm-version} node/{node-version} {platform} {arch} | ||
; rebuild-bundle=true | ||
registry=https://registry.npmjs.org/ | ||
; rollback=true | ||
; save=false | ||
; save-bundle=false | ||
; save-dev=false | ||
; save-exact=false | ||
; save-optional=false | ||
; save-prefix=^ | ||
; scope= | ||
; searchopts= | ||
; searchexclude=null | ||
; searchsort=name | ||
; shell=/usr/local/bin/bash | ||
; shrinkwrap=true | ||
; sign-git-tag=false | ||
; strict-ssl=true | ||
tag=latest | ||
; tag-version-prefix=v | ||
; tmp=/var/folders/7y/j4hhyf5j0f19rqlvzwk99_2w0000gq/T | ||
; unicode=true | ||
; unsafe-perm=true | ||
; usage=false | ||
; user=503 | ||
; userconfig=/Users/zool/.npmrc | ||
; umask=18 | ||
; version=false | ||
; versions=false | ||
; viewer=man | ||
; _exit=true | ||
; globalignorefile=/Users/zool/.node/etc/npmignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
10.6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"require": [ | ||
"@babel/register" | ||
], | ||
"reporter": [ | ||
"lcov" | ||
], | ||
"sourceMap": false, | ||
"instrument": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"verifyConditions": [ | ||
"@semantic-release/changelog", | ||
"@semantic-release/npm", | ||
"@semantic-release/git" | ||
], | ||
"prepare": [ | ||
"@semantic-release/changelog", | ||
"@semantic-release/npm", | ||
{ | ||
"path": "@semantic-release/git", | ||
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" | ||
} | ||
], | ||
"publish": ["@semantic-release/npm", "@semantic-release/github"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
language: node_js | ||
branches: | ||
only: | ||
- master | ||
- /^greenkeeper/.*$/ | ||
cache: | ||
directories: | ||
- ~/.npm | ||
notifications: | ||
email: false | ||
install: | ||
- npm install | ||
- npm install semantic-release @semantic-release/git @semantic-release/changelog --no-save | ||
script: | ||
- npm run test | ||
- npm run build | ||
after_success: | ||
- npx travis-deploy-once "npm run semantic-release" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Mr. Telanie <[email protected]> | ||
Stephan Gerbeth <[email protected]> |
Oops, something went wrong.