Skip to content

Commit 55ed736

Browse files
committed
update package scripts and deps
1 parent eed8949 commit 55ed736

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

package-lock.json

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
},
1010
"main": "minimatch.js",
1111
"scripts": {
12-
"posttest": "standard minimatch.js test/*.js",
13-
"test": "tap test/*.js"
12+
"test": "tap test/*.js --cov",
13+
"preversion": "npm test",
14+
"postversion": "npm publish",
15+
"postpublish": "git push origin --all; git push origin --tags"
1416
},
1517
"engines": {
1618
"node": "*"
@@ -19,8 +21,7 @@
1921
"brace-expansion": "^1.0.0"
2022
},
2123
"devDependencies": {
22-
"standard": "^3.7.2",
23-
"tap": "^5.6.0"
24+
"tap": "^10.3.2"
2425
},
2526
"license": "ISC",
2627
"files": [

test/basic.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ tap.test('basic tests', function (t) {
5454

5555
tap.test('global leak test', function (t) {
5656
var globalAfter = Object.keys(global).filter(function (k) {
57-
return (k !== '__coverage__')
57+
return (k !== '__coverage__' && k !== '__core-js_shared__')
5858
})
5959
t.equivalent(globalAfter, globalBefore, 'no new globals, please')
6060
t.end()

0 commit comments

Comments
 (0)