Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 80bbdbe

Browse files
committed
fix test runner
1 parent bcbe163 commit 80bbdbe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎.gitignore‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/test-reports
33
/node_modules
44
/npm-debug.log
5+
package-lock.json
56
.DS_Store
67
.idea
7-
.reify-cache
88
flow-typed

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"umd:main": "dist/mitt.umd.js",
99
"scripts": {
1010
"bump": "standard-version",
11-
"testonly": "mocha --require reify/node --require flow-remove-types/register test/**/*.js",
11+
"testonly": "mocha --require esm --require flow-remove-types/register test/**/*.js",
1212
"lint": "eslint src test",
1313
"test": "flow && npm run lint && npm run testonly",
1414
"build": "npm-run-all --silent clean -p rollup -p minify:* -s docs size",
@@ -73,13 +73,13 @@
7373
"chai": "^3.5.0",
7474
"documentation": "^4.0.0-beta4",
7575
"eslint": "^3.13.1",
76+
"esm": "^3.2.25",
7677
"flow-bin": "^0.38.0",
7778
"flow-remove-types": "^1.2.0",
7879
"gzip-size-cli": "^1.0.0",
7980
"mocha": "^3.2.0",
8081
"npm-run-all": "^2.1.1",
8182
"pretty-bytes-cli": "^2.0.0",
82-
"reify": "^0.8.3",
8383
"rimraf": "^2.5.2",
8484
"rollup": "^0.41.4",
8585
"rollup-plugin-buble": "^0.15.0",

0 commit comments

Comments
 (0)