Skip to content

Commit

Permalink
Merge pull request #128 from evansiroky/microbundle
Browse files Browse the repository at this point in the history
Convert project to have TypeScript files, add linting and build using microbundle
  • Loading branch information
evansiroky authored Nov 25, 2021
2 parents 015df06 + debc6ca commit 4f0bf4f
Show file tree
Hide file tree
Showing 23 changed files with 22,310 additions and 4,753 deletions.
21 changes: 21 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"standard",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 13,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"no-var": "error"
}
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ lib-cov

# Coverage directory used by tools like istanbul
coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
Expand Down Expand Up @@ -79,4 +80,5 @@ $RECYCLE.BIN/
*.lnk

# project exclusions
dist
downloads
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ lib-cov

# Coverage directory used by tools like istanbul
coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
Expand Down Expand Up @@ -80,7 +81,6 @@ $RECYCLE.BIN/

# project exclusions
.gitattributes
data.zip
downloads
scripts
tests
4 changes: 4 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"semi": false,
"singleQuote": true
}
25 changes: 17 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,43 @@ sudo: false
language: node_js

node_js:
- "17"
- "16"
- "14"
- "13"
- "12"
- "11"
- "10"

env:
- COVERAGE=false

matrix:
fast_finish: true
include:
- node_js: "10"
- node_js: "14"
env: COVERAGE=true
script:
- "npm run cover"
- bash <(curl -s https://codecov.io/bash)
- stage: deploy
script: npm run semantic-release
script:
- npm run build
- npm run semantic-release
allow_failures:
- node_js: "10"
- node_js: "14"
env: COVERAGE=true
script:
- "npm run cover"
- bash <(curl -s https://codecov.io/bash)
- node_js: "12"
env: COVERAGE=false
script:
- npm run lint
- npm t
- npm run build

before_script:
- npm prune
script:
- npm run lint
- npm t
- npm run build
branches:
except:
- /^v\d+\.\d+\.\d+$/
3 changes: 0 additions & 3 deletions index.js

This file was deleted.

116 changes: 0 additions & 116 deletions lib/update.js

This file was deleted.

Loading

0 comments on commit 4f0bf4f

Please sign in to comment.