Skip to content

Commit

Permalink
update package scripts and deps
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed May 7, 2017
1 parent eed8949 commit 55ed736
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
},
"main": "minimatch.js",
"scripts": {
"posttest": "standard minimatch.js test/*.js",
"test": "tap test/*.js"
"test": "tap test/*.js --cov",
"preversion": "npm test",
"postversion": "npm publish",
"postpublish": "git push origin --all; git push origin --tags"
},
"engines": {
"node": "*"
Expand All @@ -19,8 +21,7 @@
"brace-expansion": "^1.0.0"
},
"devDependencies": {
"standard": "^3.7.2",
"tap": "^5.6.0"
"tap": "^10.3.2"
},
"license": "ISC",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion test/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ tap.test('basic tests', function (t) {

tap.test('global leak test', function (t) {
var globalAfter = Object.keys(global).filter(function (k) {
return (k !== '__coverage__')
return (k !== '__coverage__' && k !== '__core-js_shared__')
})
t.equivalent(globalAfter, globalBefore, 'no new globals, please')
t.end()
Expand Down

1 comment on commit 55ed736

@Lilith89Sukki
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/helpers.js

Please sign in to comment.