hoc-react-datgui
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -6,3 +6,3 @@ { | ||
"scripts": { | ||
"start": "set NODE_ENV=development && webpack-dev-server --inline --hot --port=3000 --history-api-fallback", | ||
"start": "set NODE_ENV=development && webpack-dev-server --inline --port=3000 --history-api-fallback", | ||
"build": "NODE_ENV=production webpack --define process.env.NODE_ENV='\"production\"' -p ", | ||
@@ -38,3 +38,3 @@ "lint": "eslint src --ext=jsx --ext=js -v --no-exit {} +", | ||
"dependencies": { | ||
"hoc-react-datgui": "file:../", | ||
"hoc-react-datgui": "^0.0.1", | ||
"react": "15.3.0", | ||
@@ -41,0 +41,0 @@ "react-dom": "15.3.0" |
{ | ||
"name": "hoc-react-datgui", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "HOC adding a dat.GUI plugged to React.Component props", | ||
@@ -31,2 +31,3 @@ "main": "build/index.js", | ||
"build": "cross-env BABEL_ENV=cjs babel --ignore \"*.spec.js\" ./src/ --out-dir build", | ||
"watch": "cross-env BABEL_ENV=cjs babel --ignore \"*.spec.js\" ./src/ --out-dir build --watch", | ||
"test": "echo \"no tests\"" | ||
@@ -53,5 +54,2 @@ }, | ||
"stage-0" | ||
], | ||
"plugins": [ | ||
"react-docgen" | ||
] | ||
@@ -83,7 +81,5 @@ }, | ||
"dependencies": { | ||
"babel-plugin-react-docgen": "^1.4.2", | ||
"dat.gui": "dataarts/dat.gui", | ||
"react-docgen": "^2.13.0", | ||
"lodash": "^4.17.4" | ||
} | ||
} |
## hoc-react-datgui | ||
> HOC adding a `dat.GUI` plugged to `React.Component` props. | ||
> HOC adding `dat.GUI` plugged to `React.Component` props. | ||
@@ -11,6 +11,8 @@ _*Library currently in development*_ | ||
See some examples at http://workshop.chromeexperiments.com/examples/gui. | ||
### Getting started | ||
``` | ||
npm install hoc-react-datgui | ||
``` | ||
#### withDatGui(Component, model) | ||
@@ -17,0 +19,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
518388
3
20
1273
53
- Removedbabel-plugin-react-docgen@^1.4.2
- Removedreact-docgen@^2.13.0
- Removed@babel/helper-string-parser@7.25.9(transitive)
- Removed@babel/helper-validator-identifier@7.25.9(transitive)
- Removed@babel/parser@7.26.9(transitive)
- Removed@babel/runtime@7.26.9(transitive)
- Removed@babel/types@7.26.9(transitive)
- Removedast-types@0.10.10.11.7(transitive)
- Removedasync@2.6.4(transitive)
- Removedbabel-plugin-react-docgen@1.9.0(transitive)
- Removedbabel-runtime@6.26.0(transitive)
- Removedbabel-types@6.26.0(transitive)
- Removedbabylon@5.8.38(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedcommander@2.20.3(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedcore-js@2.6.12(transitive)
- Removeddoctrine@2.1.0(transitive)
- Removedesprima@4.0.1(transitive)
- Removedesutils@2.0.3(transitive)
- Removedminimatch@3.1.2(transitive)
- Removednode-dir@0.1.17(transitive)
- Removedprivate@0.1.8(transitive)
- Removedreact-docgen@2.21.03.0.0(transitive)
- Removedrecast@0.12.90.16.2(transitive)
- Removedregenerator-runtime@0.11.10.14.1(transitive)
- Removedsource-map@0.6.1(transitive)
- Removedto-fast-properties@1.0.3(transitive)