Uninstall preact

jh-changes
Shin'ya Ueoka 6 years ago
parent 55f15c9350
commit 46228c6b18
  1. 22
      package-lock.json
  2. 3
      package.json
  3. 2
      src/console/components/console/message.jsx

22
package-lock.json generated

@ -1168,16 +1168,6 @@
"babel-plugin-transform-flow-strip-types": "^6.22.0" "babel-plugin-transform-flow-strip-types": "^6.22.0"
} }
}, },
"babel-preset-preact": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/babel-preset-preact/-/babel-preset-preact-1.1.0.tgz",
"integrity": "sha1-NaxlWnOkm4Q4FjzgU4Fld+GYCGE=",
"dev": true,
"requires": {
"babel-plugin-syntax-jsx": "^6.0.2",
"babel-plugin-transform-react-jsx": "^6.0.2"
}
},
"babel-preset-react": { "babel-preset-react": {
"version": "6.24.1", "version": "6.24.1",
"resolved": "https://registry.npmjs.org/babel-preset-react/-/babel-preset-react-6.24.1.tgz", "resolved": "https://registry.npmjs.org/babel-preset-react/-/babel-preset-react-6.24.1.tgz",
@ -8443,18 +8433,6 @@
"integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==", "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==",
"dev": true "dev": true
}, },
"preact": {
"version": "8.4.2",
"resolved": "https://registry.npmjs.org/preact/-/preact-8.4.2.tgz",
"integrity": "sha512-TsINETWiisfB6RTk0wh3/mvxbGRvx+ljeBccZ4Z6MPFKgu/KFGyf2Bmw3Z/jlXhL5JlNKY6QAbA9PVyzIy9//A==",
"dev": true
},
"preact-redux": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/preact-redux/-/preact-redux-2.0.3.tgz",
"integrity": "sha1-lgpTXDImQ801mY8z8MLme8Hn6qs=",
"dev": true
},
"prelude-ls": { "prelude-ls": {
"version": "1.1.2", "version": "1.1.2",
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",

@ -23,7 +23,6 @@
"babel-cli": "^6.26.0", "babel-cli": "^6.26.0",
"babel-eslint": "^10.0.1", "babel-eslint": "^10.0.1",
"babel-loader": "^7.1.5", "babel-loader": "^7.1.5",
"babel-preset-preact": "^1.1.0",
"babel-preset-react": "^6.24.1", "babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1", "babel-preset-stage-2": "^6.24.1",
"chai": "^4.2.0", "chai": "^4.2.0",
@ -43,8 +42,6 @@
"lanthan": "git+https://github.com/ueokande/lanthan.git#master", "lanthan": "git+https://github.com/ueokande/lanthan.git#master",
"mocha": "^6.1.4", "mocha": "^6.1.4",
"node-sass": "^4.12.0", "node-sass": "^4.12.0",
"preact": "^8.4.2",
"preact-redux": "^2.0.3",
"react": "^16.8.6", "react": "^16.8.6",
"react-dom": "^16.8.6", "react-dom": "^16.8.6",
"react-redux": "^7.0.3", "react-redux": "^7.0.3",

@ -1,3 +1,5 @@
import React from 'react';
export default function Message(props) { export default function Message(props) {
switch (props.mode) { switch (props.mode) {
case 'error': case 'error':