-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from ukayani/remove-gulp
Remove gulp
- Loading branch information
Showing
11 changed files
with
1,684 additions
and
5,457 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,144 @@ | ||
{ | ||
"env": { | ||
"node": true, | ||
"es6": true | ||
}, | ||
"globals": {}, | ||
"rules": { | ||
"no-debugger": 0, | ||
"strict": 0, | ||
"semi": 0, | ||
"linebreak-style": [ | ||
2, | ||
"unix" | ||
], | ||
"no-bitwise": 0, | ||
"no-cond-assign": [ | ||
2, | ||
"except-parens" | ||
], | ||
"curly": [ | ||
2, | ||
"all" | ||
], | ||
"eqeqeq": 2, | ||
"no-eq-null": 0, | ||
"no-eval": 0, | ||
"no-unused-expressions": 2, | ||
"guard-for-in": 0, | ||
"wrap-iife": 2, | ||
"no-use-before-define": [ | ||
2, | ||
{ | ||
"functions": false | ||
} | ||
], | ||
"no-loop-func": 0, | ||
"no-caller": 0, | ||
"no-script-url": 0, | ||
"no-shadow": 2, | ||
"no-new-func": 0, | ||
"no-new-wrappers": 0, | ||
"no-undef": 2, | ||
"no-invalid-this": 0, | ||
"no-proto": 0, | ||
"no-multi-str": 0, | ||
"comma-style": [ | ||
2, | ||
"last" | ||
], | ||
"no-iterator": 0, | ||
"block-scoped-var": 2, | ||
"new-cap": 0, | ||
"no-empty": [ | ||
2, | ||
{ | ||
"allowEmptyCatch": true | ||
} | ||
], | ||
"no-new": 0, | ||
"no-plusplus": 0, | ||
"dot-notation": 2, | ||
"indent": [ | ||
2, | ||
4, | ||
{ | ||
"SwitchCase": 1 | ||
} | ||
], | ||
"max-params": [ | ||
2, | ||
5 | ||
], | ||
"max-depth": [ | ||
2, | ||
5 | ||
], | ||
"max-statements": [ | ||
2, | ||
50 | ||
], | ||
"complexity": [ | ||
2, | ||
10 | ||
], | ||
"keyword-spacing": [ | ||
2, | ||
{} | ||
], | ||
"array-bracket-spacing": [ | ||
2, | ||
"never", | ||
{ | ||
"singleValue": true | ||
} | ||
], | ||
"space-in-parens": [ | ||
2, | ||
"never" | ||
], | ||
"quote-props": [ | ||
2, | ||
"as-needed", | ||
{ | ||
"keywords": true | ||
} | ||
], | ||
"operator-linebreak": [ | ||
2, | ||
"after" | ||
], | ||
"space-unary-ops": [ | ||
2, | ||
{ | ||
"words": false, | ||
"nonwords": false | ||
} | ||
], | ||
"space-infix-ops": 2, | ||
"no-with": 2, | ||
"no-multiple-empty-lines": 2, | ||
"quotes": [ | ||
2, | ||
"single" | ||
], | ||
"no-mixed-spaces-and-tabs": 2, | ||
"no-trailing-spaces": 2, | ||
"brace-style": [ | ||
2, | ||
"1tbs", | ||
{ | ||
"allowSingleLine": true | ||
} | ||
], | ||
"eol-last": 2, | ||
"max-len": [ | ||
2, | ||
120 | ||
], | ||
"space-before-function-paren": [ | ||
2, | ||
"always" | ||
] | ||
} | ||
} |
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,33 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: Build | ||
|
||
# Controls when the action will run. Triggers the workflow on push or pull request | ||
# events but only for the master branch | ||
on: | ||
push: | ||
branches: [ '*' ] | ||
pull_request: | ||
branches: [ '*' ] | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Dependencies | ||
run: npm install | ||
- name: Lint | ||
run: npm run lint | ||
- name: Test | ||
run: npm 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,28 @@ | ||
name: Node.js Package | ||
on: | ||
release: | ||
types: [created] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
- run: npm install | ||
- run: npm run lint | ||
- run: npm test | ||
# Publish to npm | ||
- run: npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
# Setup .npmrc file to publish to GitHub Packages | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
registry-url: 'https://npm.pkg.github.com' | ||
- run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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
Oops, something went wrong.