From 6385e4b193886ad1c7188c9cf273dc962016445a Mon Sep 17 00:00:00 2001 From: jos Date: Tue, 26 Dec 2017 21:21:39 +0100 Subject: [PATCH] Added index files --- examples/react_demo/src/App.js | 2 +- index.js | 1 + react.js | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 index.js create mode 100644 react.js diff --git a/examples/react_demo/src/App.js b/examples/react_demo/src/App.js index 2306db0..edaeec0 100755 --- a/examples/react_demo/src/App.js +++ b/examples/react_demo/src/App.js @@ -7,7 +7,7 @@ import './App.css' // // import JSONEditor from 'jsoneditor/react' // -import JSONEditor from 'jsoneditor/lib/components/JSONEditor' +import JSONEditor from '../../../react' const json = { diff --git a/index.js b/index.js new file mode 100644 index 0000000..af2df48 --- /dev/null +++ b/index.js @@ -0,0 +1 @@ +module.exports = require('./dist/jsoneditor') diff --git a/react.js b/react.js new file mode 100644 index 0000000..225037e --- /dev/null +++ b/react.js @@ -0,0 +1 @@ +module.exports = require('./lib/index.react') \ No newline at end of file