Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanGerbeth committed Aug 4, 2019
0 parents commit 8d6b8c7
Show file tree
Hide file tree
Showing 26 changed files with 13,143 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .appveyor.yml
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
45 changes: 45 additions & 0 deletions .babelrc
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"
]
}
}
}
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\"."
}
}
6 changes: 6 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": ["@commitlint/config-conventional"],
"rules": {
"scope-empty": [2, "never"]
}
}
15 changes: 15 additions & 0 deletions .editorconfig
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
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test
10 changes: 10 additions & 0 deletions .eslintrc
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"]
}
}
44 changes: 44 additions & 0 deletions .gitignore
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
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"
}
}
25 changes: 25 additions & 0 deletions .npmignore
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
101 changes: 101 additions & 0 deletions .npmrc
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
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10.6.0
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
}
16 changes: 16 additions & 0 deletions .releaserc
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"]
}
18 changes: 18 additions & 0 deletions .travis.yml
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"
2 changes: 2 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Mr. Telanie <[email protected]>
Stephan Gerbeth <[email protected]>
Loading

0 comments on commit 8d6b8c7

Please sign in to comment.