Skip to content

Commit 064d44e

Browse files
committed
fix some minor issues
1 parent affb96d commit 064d44e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
"main": "dist/index.js",
77
"scripts": {
88
"build": "rollup -c",
9-
"coverage": "BABEL_ENV=test nyc mocha --compilers js:babel-core/register ./test/index.js",
9+
"coverage": "BABEL_ENV=test nyc mocha --require babel-core/register ./test/index.js",
1010
"report:html": "nyc report --reporter=html",
1111
"report:text-lcov": "nyc report --reporter=text-lcov",
1212
"lint": "eslint .",
1313
"prettier": "prettier --single-quote --trailing-comma es5 --write '{src/**/*.js,test/**/*.js}'",
1414
"prepublish": "npm run build",
15-
"test": "BABEL_ENV=test mocha --compilers js:babel-core/register"
15+
"test": "BABEL_ENV=test mocha --require babel-core/register"
1616
},
1717
"repository": {
1818
"type": "git",

rollup.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ export default {
1313
output: {
1414
format: 'cjs',
1515
file: pkg.main
16-
}
16+
},
17+
external: ['path']
1718
};

0 commit comments

Comments
 (0)