Skip to content
This repository has been archived by the owner on Dec 21, 2024. It is now read-only.

Commit

Permalink
Rework exports
Browse files Browse the repository at this point in the history
  • Loading branch information
geowarin committed Mar 5, 2016
1 parent 3aac5be commit 6fa36a0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/compiler.js → compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
// Can be used as a mocha compiler
// mocha --compilers electron-hot/compiler.js
// This will not instrument the files and hot reload will be disabled
require('./jsxTransform').install({doNotInstrument: true});
require('./src/jsxTransform').install({doNotInstrument: true});
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "electron-hot",
"name": "electron-hot-loader",
"version": "0.1.0",
"description": "Hot reloading for React components in electron without babel nor webpack",
"main": "src/index.js",
Expand All @@ -8,7 +8,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/geowarin/electron-hot.git"
"url": "git+https://github.com/geowarin/electron-hot-loader.git"
},
"keywords": [
"electron",
Expand All @@ -18,13 +18,14 @@
"author": "Geoffroy Warin",
"license": "MIT",
"bugs": {
"url": "https://github.com/geowarin/electron-hot/issues"
"url": "https://github.com/geowarin/electron-hot-loader/issues"
},
"homepage": "https://github.com/geowarin/electron-hot#readme",
"homepage": "https://github.com/geowarin/electron-hot-loader#readme",
"dependencies": {
"escodegen": "^1.8.0",
"esprima": "^2.7.2",
"estraverse": "^4.1.1",
"jstransform": "^11.0.3",
"react-deep-force-update": "^2.0.1",
"react-proxy": "^2.0.3",
"watch-glob": "^0.1.3"
Expand Down
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ module.exports = {
watchJsx: require('./watchJsx'),
watchCss: require('./watchCss'),
register: require('./register'),
registerRoot: require('./registerRoot')
registerRoot: require('./registerRoot'),
install: require('./jsxTransform').install
};

0 comments on commit 6fa36a0

Please sign in to comment.