diff --git a/package-lock.json b/package-lock.json index 59ad16a..c7d0a6f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1074,12 +1074,14 @@ "@cloudbase/adapter-interface": { "version": "0.4.0", "resolved": "https://registry.npm.taobao.org/@cloudbase/adapter-interface/download/@cloudbase/adapter-interface-0.4.0.tgz", - "integrity": "sha1-xXk1tQPnv6zksVHfY6h9xWSumQc=" + "integrity": "sha1-xXk1tQPnv6zksVHfY6h9xWSumQc=", + "dev": true }, "@cloudbase/database": { "version": "0.9.11-rc.0", "resolved": "https://registry.npm.taobao.org/@cloudbase/database/download/@cloudbase/database-0.9.11-rc.0.tgz", "integrity": "sha1-ev1zOIzpzmct1bbZTm5XCNmRQ70=", + "dev": true, "requires": { "bson": "^4.0.2", "lodash.clonedeep": "4.5.0", @@ -1140,6 +1142,11 @@ "@hapi/hoek": "^8.3.0" } }, + "@icons/material": { + "version": "0.2.4", + "resolved": "https://registry.npm.taobao.org/@icons/material/download/@icons/material-0.2.4.tgz", + "integrity": "sha1-6QyfcXaLNzbnbX3WeD/Gwq+oi8g=" + }, "@jest/console": { "version": "24.9.0", "resolved": "https://registry.npm.taobao.org/@jest/console/download/@jest/console-24.9.0.tgz", @@ -2404,6 +2411,7 @@ "version": "0.19.2", "resolved": "https://registry.npm.taobao.org/axios/download/axios-0.19.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Faxios%2Fdownload%2Faxios-0.19.2.tgz", "integrity": "sha1-PqNsXYgY0NX4qKl6bTa4bNwAyyc=", + "dev": true, "requires": { "follow-redirects": "1.5.10" }, @@ -2412,6 +2420,7 @@ "version": "3.1.0", "resolved": "https://registry.npm.taobao.org/debug/download/debug-3.1.0.tgz", "integrity": "sha1-W7WgZyYotkFJVmuhaBnmFRjGcmE=", + "dev": true, "requires": { "ms": "2.0.0" } @@ -2420,6 +2429,7 @@ "version": "1.5.10", "resolved": "https://registry.npm.taobao.org/follow-redirects/download/follow-redirects-1.5.10.tgz?cache=0&sync_timestamp=1585479417937&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffollow-redirects%2Fdownload%2Ffollow-redirects-1.5.10.tgz", "integrity": "sha1-e3qfmuov3/NnhqlP9kPtB/T/Xio=", + "dev": true, "requires": { "debug": "=3.1.0" } @@ -2427,7 +2437,8 @@ "ms": { "version": "2.0.0", "resolved": "https://registry.npm.taobao.org/ms/download/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true } } }, @@ -3150,6 +3161,7 @@ "version": "4.0.4", "resolved": "https://registry.npm.taobao.org/bson/download/bson-4.0.4.tgz", "integrity": "sha1-S9os7fKuehjRXLJO4e3ox5f47s8=", + "dev": true, "requires": { "buffer": "^5.1.0", "long": "^4.0.0" @@ -3159,6 +3171,7 @@ "version": "5.6.0", "resolved": "https://registry.npm.taobao.org/buffer/download/buffer-5.6.0.tgz?cache=0&sync_timestamp=1588706716358&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbuffer%2Fdownload%2Fbuffer-5.6.0.tgz", "integrity": "sha1-oxdJ3H2B2E2wir+Te2uMQDP2J4Y=", + "dev": true, "requires": { "base64-js": "^1.0.2", "ieee754": "^1.1.4" @@ -3523,6 +3536,7 @@ "version": "0.1.1", "resolved": "https://registry.npm.taobao.org/cloudbase-adapter-wx_mp/download/cloudbase-adapter-wx_mp-0.1.1.tgz", "integrity": "sha1-J1DtgUX4IWhB0lu7XWubSiFLhDg=", + "dev": true, "requires": { "@cloudbase/adapter-interface": "^0.4.0" } @@ -3890,7 +3904,8 @@ "crypto-js": { "version": "3.3.0", "resolved": "https://registry.npm.taobao.org/crypto-js/download/crypto-js-3.3.0.tgz?cache=0&sync_timestamp=1581508591511&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcrypto-js%2Fdownload%2Fcrypto-js-3.3.0.tgz", - "integrity": "sha1-hG3RzOL2iqz6FWyFePkmpgm3l2s=" + "integrity": "sha1-hG3RzOL2iqz6FWyFePkmpgm3l2s=", + "dev": true }, "css": { "version": "2.2.4", @@ -5648,7 +5663,8 @@ "fingerprintjs2": { "version": "2.1.0", "resolved": "https://registry.npm.taobao.org/fingerprintjs2/download/fingerprintjs2-2.1.0.tgz", - "integrity": "sha1-Idw/7ifTsZkFbvjrhz3rzNjgYyM=" + "integrity": "sha1-Idw/7ifTsZkFbvjrhz3rzNjgYyM=", + "dev": true }, "flat-cache": { "version": "2.0.1", @@ -6172,6 +6188,14 @@ "minimalistic-crypto-utils": "^1.0.1" } }, + "hoist-non-react-statics": { + "version": "3.3.2", + "resolved": "https://registry.npm.taobao.org/hoist-non-react-statics/download/hoist-non-react-statics-3.3.2.tgz", + "integrity": "sha1-7OCsr3HWLClpwuxZ/v9CpLGoW0U=", + "requires": { + "react-is": "^16.7.0" + } + }, "hosted-git-info": { "version": "2.8.8", "resolved": "https://registry.npm.taobao.org/hosted-git-info/download/hosted-git-info-2.8.8.tgz", @@ -8252,7 +8276,8 @@ "lodash.clonedeep": { "version": "4.5.0", "resolved": "https://registry.npm.taobao.org/lodash.clonedeep/download/lodash.clonedeep-4.5.0.tgz", - "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=" + "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=", + "dev": true }, "lodash.memoize": { "version": "4.1.2", @@ -8262,7 +8287,8 @@ "lodash.set": { "version": "4.3.2", "resolved": "https://registry.npm.taobao.org/lodash.set/download/lodash.set-4.3.2.tgz", - "integrity": "sha1-2HV7HagH3eJIFrDWqEvqGnYjCyM=" + "integrity": "sha1-2HV7HagH3eJIFrDWqEvqGnYjCyM=", + "dev": true }, "lodash.sortby": { "version": "4.7.0", @@ -8294,7 +8320,8 @@ "lodash.unset": { "version": "4.5.2", "resolved": "https://registry.npm.taobao.org/lodash.unset/download/lodash.unset-4.5.2.tgz", - "integrity": "sha1-Nw0dPoW3Kn4bDN8tJyEhMG8j5O0=" + "integrity": "sha1-Nw0dPoW3Kn4bDN8tJyEhMG8j5O0=", + "dev": true }, "loglevel": { "version": "1.6.8", @@ -8304,7 +8331,8 @@ "long": { "version": "4.0.0", "resolved": "https://registry.npm.taobao.org/long/download/long-4.0.0.tgz", - "integrity": "sha1-mntxz7fTYaGU6lVSQckvdGjVvyg=" + "integrity": "sha1-mntxz7fTYaGU6lVSQckvdGjVvyg=", + "dev": true }, "loose-envify": { "version": "1.4.0", @@ -8392,6 +8420,11 @@ "object-visit": "^1.0.0" } }, + "material-colors": { + "version": "1.2.6", + "resolved": "https://registry.npm.taobao.org/material-colors/download/material-colors-1.2.6.tgz", + "integrity": "sha1-bRlYhxEmmSzuzHL0vMTY8BCGX0Y=" + }, "md5.js": { "version": "1.3.5", "resolved": "https://registry.npm.taobao.org/md5.js/download/md5.js-1.3.5.tgz", @@ -10768,6 +10801,19 @@ } } }, + "react-color": { + "version": "2.18.1", + "resolved": "https://registry.npm.taobao.org/react-color/download/react-color-2.18.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Freact-color%2Fdownload%2Freact-color-2.18.1.tgz", + "integrity": "sha1-LNqMyOBqnixSrTkaMN2tMZckcvQ=", + "requires": { + "@icons/material": "^0.2.4", + "lodash": "^4.17.11", + "material-colors": "^1.2.1", + "prop-types": "^15.5.10", + "reactcss": "^1.2.0", + "tinycolor2": "^1.4.1" + } + }, "react-dev-utils": { "version": "10.2.1", "resolved": "https://registry.npm.taobao.org/react-dev-utils/download/react-dev-utils-10.2.1.tgz?cache=0&sync_timestamp=1584750310214&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Freact-dev-utils%2Fdownload%2Freact-dev-utils-10.2.1.tgz", @@ -11022,6 +11068,18 @@ "resolved": "https://registry.npm.taobao.org/react-is/download/react-is-16.13.1.tgz", "integrity": "sha1-eJcppNw23imZ3BVt1sHZwYzqVqQ=" }, + "react-redux": { + "version": "7.2.0", + "resolved": "https://registry.npm.taobao.org/react-redux/download/react-redux-7.2.0.tgz", + "integrity": "sha1-+XD2IZKzmBZC/sRv0NsYoHT+h50=", + "requires": { + "@babel/runtime": "^7.5.5", + "hoist-non-react-statics": "^3.3.0", + "loose-envify": "^1.4.0", + "prop-types": "^15.7.2", + "react-is": "^16.9.0" + } + }, "react-scripts": { "version": "3.4.1", "resolved": "https://registry.npm.taobao.org/react-scripts/download/react-scripts-3.4.1.tgz", @@ -11082,6 +11140,14 @@ "workbox-webpack-plugin": "4.3.1" } }, + "reactcss": { + "version": "1.2.3", + "resolved": "https://registry.npm.taobao.org/reactcss/download/reactcss-1.2.3.tgz", + "integrity": "sha1-wAATh15Vexzw39mjaKHD2rO1SN0=", + "requires": { + "lodash": "^4.0.1" + } + }, "read-pkg": { "version": "3.0.0", "resolved": "https://registry.npm.taobao.org/read-pkg/download/read-pkg-3.0.0.tgz", @@ -11184,6 +11250,36 @@ "strip-indent": "^3.0.0" } }, + "redux": { + "version": "4.0.5", + "resolved": "https://registry.npm.taobao.org/redux/download/redux-4.0.5.tgz?cache=0&sync_timestamp=1577154206919&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fredux%2Fdownload%2Fredux-4.0.5.tgz", + "integrity": "sha1-TbXeWBbheJHeioDEJCMtBvBR2T8=", + "requires": { + "loose-envify": "^1.4.0", + "symbol-observable": "^1.2.0" + } + }, + "redux-devtools": { + "version": "3.5.0", + "resolved": "https://registry.npm.taobao.org/redux-devtools/download/redux-devtools-3.5.0.tgz", + "integrity": "sha1-1pq3bU8Pir320kvPWVTXoaoraCc=", + "dev": true, + "requires": { + "lodash": "^4.2.0", + "prop-types": "^15.5.7", + "redux-devtools-instrument": "^1.9.0" + } + }, + "redux-devtools-instrument": { + "version": "1.9.6", + "resolved": "https://registry.npm.taobao.org/redux-devtools-instrument/download/redux-devtools-instrument-1.9.6.tgz", + "integrity": "sha1-a0EllfdLnUjP1OzBPlhbFYjtbn4=", + "dev": true, + "requires": { + "lodash": "^4.2.0", + "symbol-observable": "^1.0.2" + } + }, "regenerate": { "version": "1.4.0", "resolved": "https://registry.npm.taobao.org/regenerate/download/regenerate-1.4.0.tgz", @@ -12631,6 +12727,11 @@ "util.promisify": "~1.0.0" } }, + "symbol-observable": { + "version": "1.2.0", + "resolved": "https://registry.npm.taobao.org/symbol-observable/download/symbol-observable-1.2.0.tgz", + "integrity": "sha1-wiaIrtTqs83C3+rLtWFmBWCgCAQ=" + }, "symbol-tree": { "version": "3.2.4", "resolved": "https://registry.npm.taobao.org/symbol-tree/download/symbol-tree-3.2.4.tgz", @@ -12678,6 +12779,7 @@ "version": "1.6.1", "resolved": "https://registry.npm.taobao.org/tcb-js-sdk/download/tcb-js-sdk-1.6.1.tgz", "integrity": "sha1-jaLnrtwR+iNYqtrr2YcSg4shFUM=", + "dev": true, "requires": { "@cloudbase/adapter-interface": "^0.4.0", "@cloudbase/database": "0.9.11-rc.0", @@ -12884,6 +12986,11 @@ "resolved": "https://registry.npm.taobao.org/timsort/download/timsort-0.3.0.tgz", "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=" }, + "tinycolor2": { + "version": "1.4.1", + "resolved": "https://registry.npm.taobao.org/tinycolor2/download/tinycolor2-1.4.1.tgz", + "integrity": "sha1-9PrTM0R7wLB9TcjpIJ2POaisd+g=" + }, "tmp": { "version": "0.0.33", "resolved": "https://registry.npm.taobao.org/tmp/download/tmp-0.0.33.tgz", diff --git a/package.json b/package.json index 2b23484..0f35c44 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,13 @@ "@testing-library/jest-dom": "^4.2.4", "@testing-library/react": "^9.3.2", "@testing-library/user-event": "^7.1.2", + "prop-types": "^15.7.2", "react": "^16.13.1", + "react-color": "^2.18.1", "react-dom": "^16.13.1", + "react-redux": "^7.2.0", "react-scripts": "3.4.1", - "tcb-js-sdk": "^1.6.1" + "redux": "^4.0.5" }, "scripts": { "start": "react-scripts start", @@ -32,5 +35,9 @@ "last 1 safari version" ] }, - "homepage": "./" + "homepage": "./", + "devDependencies": { + "redux-devtools": "^3.5.0", + "tcb-js-sdk": "^1.6.1" + } } diff --git a/public/index.html b/public/index.html index 8b9691d..6f9e156 100644 --- a/public/index.html +++ b/public/index.html @@ -4,42 +4,66 @@ - + + + +