Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Aug 23, 2023
2 parents d45955a + 1e76171 commit b7b62a5
Show file tree
Hide file tree
Showing 53 changed files with 8,795 additions and 11,130 deletions.
18 changes: 1 addition & 17 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
{
"presets": [
"stage-0",
"stage-1",
"stage-2",
[
"env",
{
"modules": false,
"targets": {
"node": "4.8",
"browsers": ["last 2 versions"],
"ie": 8
}
}
]
],
"plugins": ["transform-object-rest-spread"]
"presets": [["@babel/preset-env", { "targets": "defaults" }]]
}
17 changes: 0 additions & 17 deletions .codeclimate.yml

This file was deleted.

13 changes: 3 additions & 10 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
{
"parser": "babel-eslint",
"extends": ["standard"],
"plugins": ["standard"],
"parser": "@babel/eslint-parser",
"extends": ["standard", "prettier"],
"rules": {
"semi": [2, "always"],
"space-before-function-paren": [2, "never"],
"max-len": [2, 80, 2],
"camelcase": [2, { "properties": "always" }],
"linebreak-style": [2, "unix"],
"new-cap": [2, { "newIsCap": true, "capIsNew": true }],
"arrow-body-style": [2, "as-needed"],
"arrow-parens": [2, "as-needed"],
"prefer-arrow-callback": 0,
"prefer-template": 0,

"no-var": 2,
"no-undef": 2,
"no-param-reassign": 2,
"comma-dangle": [2, "always-multiline"]
"no-param-reassign": 2
},
"env": {
"node": true
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Node.js CI

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm run test
- run: npm run lint
- run: npm run format-check
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release

on:
workflow_dispatch: ~
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
28 changes: 0 additions & 28 deletions .nycrc

This file was deleted.

3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"singleQuote": true
}
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
build: node_modules
npm run build
dist: node_modules
npm run build && npm run build-dist
clean:
rm -rf build
rm -rf dist
rm -rf coverage
test: node_modules
Expand Down
Loading

0 comments on commit b7b62a5

Please sign in to comment.