UNPKG

babel-plugin-rewire

Version:

A babel plugin adding the ability to rewire module dependencies. This enables to mock modules for testing purposes.

85 lines (84 loc) 2.52 kB
{ "name": "babel-plugin-rewire", "version": "1.2.0", "description": "A babel plugin adding the ability to rewire module dependencies. This enables to mock modules for testing purposes.", "main": "lib/babel-plugin-rewire.js", "scripts": { "test": "./node_modules/.bin/mocha && ./node_modules/.bin/mocha usage-tests", "build": "./node_modules/.bin/babel src --out-dir lib", "prepublish": "./node_modules/.bin/babel src --out-dir lib" }, "publishConfig": { "registry": "http://registry.npmjs.org/" }, "repository": { "type": "git", "url": "git://github.com/speedskater/babel-plugin-rewire.git" }, "bugs": { "url": "https://github.com/speedskater/babel-plugin-rewire/issues" }, "keywords": [ "babel", "plugin", "rewire", "es6", "modules" ], "author": "r.binna@synedra.com", "contributors": [ { "name": "Robert Binna", "email": "r.binna@synedra.com" }, { "name": "Peet Goddard" }, { "name": "Eli White", "email": "github@eli-white.com" }, { "name": "Philip Spitzlinger", "email": "p.spitzlinger@synedra.com" }, { "name": "Gustaf Dalemar" } ], "license": "ISC", "devDependencies": { "babel-cli": "^6.10.1", "babel-core": "^6.0.0", "babel-plugin-syntax-async-functions": "^6.8.0", "babel-plugin-syntax-flow": "^6.8.0", "babel-plugin-syntax-jsx": "^6.8.0 ", "babel-plugin-transform-async-to-generator": "^6.8.0", "babel-plugin-transform-es2015-block-scoping": "^6.10.1 ", "babel-plugin-transform-es2015-template-literals": "^6.8.0", "babel-plugin-transform-es2015-typeof-symbol": "^6.8.0", "babel-plugin-transform-export-extensions": "^6.8.0", "babel-plugin-transform-flow-strip-types": "^6.18.0", "babel-plugin-transform-object-rest-spread": "^6.8.0", "babel-plugin-transform-react-jsx": "^6.8.0", "babel-plugin-transform-regenerator": "^6.9.0", "babel-plugin-transform-runtime": "^6.9.0", "babel-polyfill": "^6.9.1", "babel-preset-es2015": "^6.9.0", "babel-preset-react": "^6.11.0", "babel-preset-stage-0": "^6.16.0", "babel-runtime": "^6.11.6", "babel-template": "^6.2.0", "babel-types": "^6.2.0", "chai": "^3.5.0", "core-js": "^1.0.0", "expect.js": "^0.3.1", "mocha": "^2.2.4", "node-hook": "^0.1.0", "react": "^15.1.0", "react-dom": "^15.1.0", "regenerator-runtime": "^0.9.5", "should": "^9.0.2", "sinon": "^1.17.4" } }