Skip to content

Commit

Permalink
Update devDependencies and Travis (#4211)
Browse files Browse the repository at this point in the history
* update devDependencies
* fix linting error
* .lintstagedrc.json: advanced to simple format
* travis: run browser tests with Node v12
  • Loading branch information
juergba committed Mar 23, 2020
1 parent 6320d3d commit 0e77e41
Show file tree
Hide file tree
Showing 5 changed files with 7,999 additions and 8,071 deletions.
12 changes: 4 additions & 8 deletions .lintstagedrc.json
@@ -1,10 +1,6 @@
{
"linters": {
"(bin/*|*.js|**/*.js)": ["eslint --fix", "git add"],
"(*.{json,yml,md,html}|**/*.{json,yml,md,html})": [
"prettier --write",
"git add"
]
},
"ignore": ["docs/**/*.js", "test/**/*.fixture.js", "package*.json"]
"*.js": ["eslint --fix", "git add"],
"bin/*": ["eslint --fix", "git add"],
"!(package*).json": ["prettier --write", "git add"],
"*.{yml,md,html}": ["prettier --write", "git add"]
}
3 changes: 1 addition & 2 deletions .travis.yml
Expand Up @@ -47,8 +47,7 @@ jobs:
node_js: '10'

- script: npm start test.bundle test.browser
# XXX: update when canvas supplies a prebuilt binary for Node.js v12.x
node_js: 10
node_js: 12
install: npm ci # we need the native modules here
addons:
artifacts:
Expand Down

0 comments on commit 0e77e41

Please sign in to comment.