diff --git a/package.json b/package.json index ead7fdd..9ddaa10 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "main": "dist/assembler.js", "scripts": { "prepublish": "npm run build", - "build": "browserify src/assembler.js -o dist/assembler.js --standalone reduct.assembler -t [ babelify --presets [ es2015 ] ]", + "build": "browserify src/assembler.js -o dist/assembler.js --standalone reduct.assembler -t [ babelify --presets [ es2015 ] ] -p browserify-derequire", "lint": "xo src/**/*.js", "mocha": "export TEST=true && find ./src -name '*.spec.js' | xargs istanbul cover -x *.spec.js _mocha -- -R spec --compilers js:babel-register", "test": "npm run lint && npm run mocha && npm run build", @@ -57,6 +57,7 @@ "babel-register": "^6.3.13", "babelify": "^7.2.0", "browserify": "^12.0.1", + "browserify-derequire": "^0.9.4", "chai": "^3.4.1", "istanbul": "^0.4.1", "jsdom": "^7.2.2",