Skip to content

Commit b80768f

Browse files
thiamsantosdevelopit
authored andcommitted
use reify to run test (#52)
1 parent 9953570 commit b80768f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 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 --compilers js:babel-register test/**/*.js",
11+
"testonly": "mocha --require reify/node --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",
@@ -61,15 +61,16 @@
6161
"babel-plugin-transform-flow-strip-types": "^6.21.0",
6262
"babel-preset-es2015": "^6.9.0",
6363
"babel-preset-stage-0": "^6.5.0",
64-
"babel-register": "^6.9.0",
6564
"chai": "^3.5.0",
6665
"documentation": "^4.0.0-beta4",
6766
"eslint": "^3.13.1",
6867
"flow-bin": "^0.38.0",
68+
"flow-remove-types": "^1.2.0",
6969
"gzip-size-cli": "^1.0.0",
7070
"mocha": "^3.2.0",
7171
"npm-run-all": "^2.1.1",
7272
"pretty-bytes-cli": "^2.0.0",
73+
"reify": "^0.8.3",
7374
"rimraf": "^2.5.2",
7475
"rollup": "^0.41.4",
7576
"rollup-plugin-buble": "^0.15.0",

0 commit comments

Comments
 (0)