diff --git a/package-lock.json b/package-lock.json index c5eefca..f3f49f1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1071,6 +1071,24 @@ "to-fast-properties": "^2.0.0" } }, + "@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=", + "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", + "lodash.set": "4.3.2", + "lodash.unset": "4.5.2" + } + }, "@cnakazawa/watch": { "version": "1.0.4", "resolved": "https://registry.npm.taobao.org/@cnakazawa/watch/download/@cnakazawa/watch-1.0.4.tgz", @@ -2384,6 +2402,41 @@ "resolved": "https://registry.npm.taobao.org/aws4/download/aws4-1.9.1.tgz?cache=0&sync_timestamp=1578959055063&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Faws4%2Fdownload%2Faws4-1.9.1.tgz", "integrity": "sha1-fjPY99RJs/ZzzXLeuavcVS2+Uo4=" }, + "axios": { + "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" + }, + "dependencies": { + "debug": { + "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" + } + }, + "follow-redirects": { + "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" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npm.taobao.org/ms/download/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, "axobject-query": { "version": "2.1.2", "resolved": "https://registry.npm.taobao.org/axobject-query/download/axobject-query-2.1.2.tgz", @@ -3099,6 +3152,28 @@ "node-int64": "^0.4.0" } }, + "bson": { + "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" + }, + "dependencies": { + "buffer": { + "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" + } + } + } + }, "buffer": { "version": "4.9.2", "resolved": "https://registry.npm.taobao.org/buffer/download/buffer-4.9.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbuffer%2Fdownload%2Fbuffer-4.9.2.tgz", @@ -3452,6 +3527,15 @@ "shallow-clone": "^0.1.2" } }, + "cloudbase-adapter-wx_mp": { + "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" + } + }, "co": { "version": "4.6.0", "resolved": "https://registry.npm.taobao.org/co/download/co-4.6.0.tgz", @@ -3812,6 +3896,12 @@ "randomfill": "^1.0.3" } }, + "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=", + "dev": true + }, "css": { "version": "2.2.4", "resolved": "https://registry.npm.taobao.org/css/download/css-2.2.4.tgz", @@ -5565,6 +5655,12 @@ "locate-path": "^2.0.0" } }, + "fingerprintjs2": { + "version": "2.1.0", + "resolved": "https://registry.npm.taobao.org/fingerprintjs2/download/fingerprintjs2-2.1.0.tgz", + "integrity": "sha1-Idw/7ifTsZkFbvjrhz3rzNjgYyM=", + "dev": true + }, "flat-cache": { "version": "2.0.1", "resolved": "https://registry.npm.taobao.org/flat-cache/download/flat-cache-2.0.1.tgz", @@ -8172,11 +8268,23 @@ "resolved": "https://registry.npm.taobao.org/lodash._reinterpolate/download/lodash._reinterpolate-3.0.0.tgz", "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=" }, + "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=", + "dev": true + }, "lodash.memoize": { "version": "4.1.2", "resolved": "https://registry.npm.taobao.org/lodash.memoize/download/lodash.memoize-4.1.2.tgz", "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=" }, + "lodash.set": { + "version": "4.3.2", + "resolved": "https://registry.npm.taobao.org/lodash.set/download/lodash.set-4.3.2.tgz", + "integrity": "sha1-2HV7HagH3eJIFrDWqEvqGnYjCyM=", + "dev": true + }, "lodash.sortby": { "version": "4.7.0", "resolved": "https://registry.npm.taobao.org/lodash.sortby/download/lodash.sortby-4.7.0.tgz", @@ -8204,11 +8312,23 @@ "resolved": "https://registry.npm.taobao.org/lodash.uniq/download/lodash.uniq-4.5.0.tgz", "integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=" }, + "lodash.unset": { + "version": "4.5.2", + "resolved": "https://registry.npm.taobao.org/lodash.unset/download/lodash.unset-4.5.2.tgz", + "integrity": "sha1-Nw0dPoW3Kn4bDN8tJyEhMG8j5O0=", + "dev": true + }, "loglevel": { "version": "1.6.8", "resolved": "https://registry.npm.taobao.org/loglevel/download/loglevel-1.6.8.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Floglevel%2Fdownload%2Floglevel-1.6.8.tgz", "integrity": "sha1-iiX7ddCSIw7NRFcnDYC1TigBEXE=" }, + "long": { + "version": "4.0.0", + "resolved": "https://registry.npm.taobao.org/long/download/long-4.0.0.tgz", + "integrity": "sha1-mntxz7fTYaGU6lVSQckvdGjVvyg=", + "dev": true + }, "loose-envify": { "version": "1.4.0", "resolved": "https://registry.npm.taobao.org/loose-envify/download/loose-envify-1.4.0.tgz", @@ -12624,6 +12744,21 @@ "resolved": "https://registry.npm.taobao.org/tapable/download/tapable-1.1.3.tgz", "integrity": "sha1-ofzMBrWNth/XpF2i2kT186Pme6I=" }, + "tcb-js-sdk": { + "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", + "axios": "^0.19.1", + "cloudbase-adapter-wx_mp": "^0.1.0", + "crypto-js": "^3.1.9-1", + "fingerprintjs2": "^2.1.0", + "url": "^0.11.0" + } + }, "terser": { "version": "4.6.12", "resolved": "https://registry.npm.taobao.org/terser/download/terser-4.6.12.tgz?cache=0&sync_timestamp=1587902079221&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fterser%2Fdownload%2Fterser-4.6.12.tgz", diff --git a/package.json b/package.json index 0bc5de1..0c28453 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ }, "homepage": "./", "devDependencies": { - "redux-devtools": "^3.5.0" + "redux-devtools": "^3.5.0", + "tcb-js-sdk": "^1.6.1" } } diff --git a/public/index.html b/public/index.html index 6b5bd12..6f9e156 100644 --- a/public/index.html +++ b/public/index.html @@ -1,14 +1,39 @@ + + + + + - + +