Move react to devDependencies
This commit is contained in:
parent
8462bcda2c
commit
99cc07577d
|
@ -7,7 +7,7 @@ import './App.css'
|
|||
//
|
||||
// import JSONEditor from 'jsoneditor/react'
|
||||
//
|
||||
import JSONEditor from '../../../dist/jsoneditor-react'
|
||||
import JSONEditor from '../../../react'
|
||||
|
||||
|
||||
const json = {
|
||||
|
|
|
@ -5949,12 +5949,14 @@
|
|||
"preact": {
|
||||
"version": "7.1.0",
|
||||
"resolved": "https://registry.npmjs.org/preact/-/preact-7.1.0.tgz",
|
||||
"integrity": "sha1-EZz2WWOr/ygDiyMwYBrd6WmZCo0="
|
||||
"integrity": "sha1-EZz2WWOr/ygDiyMwYBrd6WmZCo0=",
|
||||
"dev": true
|
||||
},
|
||||
"preact-compat": {
|
||||
"version": "3.9.4",
|
||||
"resolved": "https://registry.npmjs.org/preact-compat/-/preact-compat-3.9.4.tgz",
|
||||
"integrity": "sha1-VaXYHeY37cGMRJvuRYBLdL7xWzQ=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"preact-render-to-string": "3.6.3",
|
||||
"preact-transition-group": "1.1.1",
|
||||
|
@ -5965,6 +5967,7 @@
|
|||
"version": "3.6.3",
|
||||
"resolved": "https://registry.npmjs.org/preact-render-to-string/-/preact-render-to-string-3.6.3.tgz",
|
||||
"integrity": "sha1-SB0NW9rJGS0zR1V0N9XNAKoxIEM=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"pretty-format": "3.8.0"
|
||||
}
|
||||
|
@ -5972,7 +5975,8 @@
|
|||
"preact-transition-group": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/preact-transition-group/-/preact-transition-group-1.1.1.tgz",
|
||||
"integrity": "sha1-8KSTJ+pRXs406ivoZMSn0p5dbhA="
|
||||
"integrity": "sha1-8KSTJ+pRXs406ivoZMSn0p5dbhA=",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -5991,7 +5995,8 @@
|
|||
"pretty-format": {
|
||||
"version": "3.8.0",
|
||||
"resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-3.8.0.tgz",
|
||||
"integrity": "sha1-v77VbV6ad2ZF9LH/eqGjrE+jw4U="
|
||||
"integrity": "sha1-v77VbV6ad2ZF9LH/eqGjrE+jw4U=",
|
||||
"dev": true
|
||||
},
|
||||
"pretty-hrtime": {
|
||||
"version": "1.0.3",
|
||||
|
@ -6056,7 +6061,8 @@
|
|||
"proptypes": {
|
||||
"version": "0.14.4",
|
||||
"resolved": "https://registry.npmjs.org/proptypes/-/proptypes-0.14.4.tgz",
|
||||
"integrity": "sha1-Hq12ANREcqYUqhzwxMzO59hnmX0="
|
||||
"integrity": "sha1-Hq12ANREcqYUqhzwxMzO59hnmX0=",
|
||||
"dev": true
|
||||
},
|
||||
"prr": {
|
||||
"version": "0.0.0",
|
||||
|
@ -6181,6 +6187,7 @@
|
|||
"version": "15.4.1",
|
||||
"resolved": "https://registry.npmjs.org/react/-/react-15.4.1.tgz",
|
||||
"integrity": "sha1-SY6RhgJnejmDzQ/SBt/nADiaDdY=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"fbjs": "0.8.12",
|
||||
"loose-envify": "1.3.1",
|
||||
|
@ -6191,6 +6198,7 @@
|
|||
"version": "15.4.1",
|
||||
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-15.4.1.tgz",
|
||||
"integrity": "sha1-1UyRMmGq7bF63CBBDQKdzBihNEo=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"fbjs": "0.8.12",
|
||||
"loose-envify": "1.3.1",
|
||||
|
|
10
package.json
10
package.json
|
@ -29,11 +29,7 @@
|
|||
"brace": "0.9.1",
|
||||
"javascript-natural-sort": "0.7.1",
|
||||
"lodash": "4.17.4",
|
||||
"preact": "7.1.0",
|
||||
"preact-compat": "3.9.4",
|
||||
"prop-types": "15.5.10",
|
||||
"react": "15.4.1",
|
||||
"react-dom": "15.4.1"
|
||||
"prop-types": "15.5.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"ava": "0.17.0",
|
||||
|
@ -56,6 +52,10 @@
|
|||
"less": "2.7.2",
|
||||
"less-loader": "2.2.3",
|
||||
"mkdirp": "0.5.1",
|
||||
"preact": "7.1.0",
|
||||
"preact-compat": "3.9.4",
|
||||
"react": "15.4.1",
|
||||
"react-dom": "15.4.1",
|
||||
"style-loader": "0.13.1",
|
||||
"svg-url-loader": "1.1.0",
|
||||
"webpack": "1.14.0"
|
||||
|
|
Loading…
Reference in New Issue