diff --git a/package-lock.json b/package-lock.json index 817b97d..824a613 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "with-redux-toolkit", + "name": "taro-toolkit", "version": "1.0.0", "lockfileVersion": 1, "requires": true, @@ -808,9 +808,9 @@ } }, "@tarojs/components": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/components/-/components-1.3.25.tgz", - "integrity": "sha512-kbY8EroOqN2KfplETSCXaSV9LWUFSisozP4BJfMBsMOe9357DKMzRQVGldrwYmQzaGHST8FEGkwHwi2RH6jCrQ==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/@tarojs/components/-/components-1.3.29.tgz", + "integrity": "sha512-2JSeHGttLXyRUpuS+PlKCaGxa40UwKVxj18zP2dlQzBNc2w+Y7lMU4SuNYMnmRaMsCBX9Mpgunm6WTJEUWLqNA==", "requires": { "better-scroll": "^1.14.1", "classnames": "^2.2.5", @@ -822,27 +822,27 @@ } }, "@tarojs/plugin-babel": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/plugin-babel/-/plugin-babel-1.3.25.tgz", - "integrity": "sha512-DQ457W2I9GmMVxfvL8CJ4i9bcgPw2/QeTc69RZXZUYaadB6S5tRDXH5WifyDMjz9Dv9C9BeGbfFINJ10muec+g==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/@tarojs/plugin-babel/-/plugin-babel-1.3.29.tgz", + "integrity": "sha512-Q7MeTZ80jOitb7MptFMoZC/OsLv6gE8j87Z6IwOokEUd4/psHRFtPZg5B8wuai18hlQsOTdln2gk/s/iPXUroA==", "dev": true, "requires": { "babel-core": "^6.26.0" } }, "@tarojs/plugin-csso": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/plugin-csso/-/plugin-csso-1.3.25.tgz", - "integrity": "sha512-DnCL1yJPJ4FNKNB48F9DsMSe/PFsvEghJStgKW5+dkbEEgmCOltNEiongCNcdG/HyKSAsjRFFhcGbnbY+1ORrQ==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/@tarojs/plugin-csso/-/plugin-csso-1.3.29.tgz", + "integrity": "sha512-Ol7kaDDRtMQ8ZdUIH+ZpnADYEBIXRnR20qpEJa9cEUjh7HHccj7gvSnmBSsVC87nBz0DPe/g/BJKWU9fmxZwig==", "dev": true, "requires": { "csso": "^3.5.0" } }, "@tarojs/plugin-sass": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/plugin-sass/-/plugin-sass-1.3.25.tgz", - "integrity": "sha512-82z3EOR8V+GDb8vwg1xg+8LcIhW5bMT+J/8zo3bbwGLGpekyk4zLlqP8P2rNhDlBhClw+Mx/yXGxMkY972g1tQ==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/@tarojs/plugin-sass/-/plugin-sass-1.3.29.tgz", + "integrity": "sha512-O7nEaYMxjayn7nMTTXuLBcLX3do63oxAN0pdosbb8RsoX8fHjM8sWrrPZLEwwtWverg2LtRJK79MZGXJDFuI3Q==", "dev": true, "requires": { "node-sass": "^4.12.0", @@ -850,9 +850,9 @@ } }, "@tarojs/plugin-uglifyjs": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/plugin-uglifyjs/-/plugin-uglifyjs-1.3.25.tgz", - "integrity": "sha512-Tw/usns4ZXwTU4CaWOO43qQB3MoeRmkhltx5TpBSmWPMy3nviR6QPakID2GteYe95CWAFm+dLOiL4IOEFIcNHA==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/@tarojs/plugin-uglifyjs/-/plugin-uglifyjs-1.3.29.tgz", + "integrity": "sha512-ezirRpGEGPsjrJCWKxnRnIhcYLYvtKyewC5ybvJaqGuKsjAFR+uwT/0vUeul3pAvgHHngBBJfNe0h1GUxAtgxA==", "dev": true, "requires": { "uglify-js": "^3.3.24" @@ -865,16 +865,6 @@ "requires": { "@tarojs/taro": "1.3.29", "@tarojs/utils": "1.3.29" - }, - "dependencies": { - "@tarojs/taro": { - "version": "1.3.29", - "resolved": "https://registry.npmjs.org/@tarojs/taro/-/taro-1.3.29.tgz", - "integrity": "sha512-BhgbaWZWrs0rvz+uu1mHKnqN4CPzlQd4J00Suk0vbIgP4RSDyJplL6sOj/ZjHeGYcEDOIYpO5dopVfuXJrmiBQ==", - "requires": { - "@tarojs/utils": "1.3.29" - } - } } }, "@tarojs/redux-h5": { @@ -889,9 +879,9 @@ } }, "@tarojs/router": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/router/-/router-1.3.25.tgz", - "integrity": "sha512-YVnAV08Jb+FUcCv7YWch4VrbPQow7Qo0TCwV6kBQKYHlLWdCC96LIjdDZjNgrwMsYt0a5kwg3g37dviGzR0uZA==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/@tarojs/router/-/router-1.3.29.tgz", + "integrity": "sha512-2OuL2/+r5PUG+J3Bg3AwvbYGMpn36mHQvSShNaEtfzWbIGTypKvdPHwPbAC0rsQm49tOo4CMBhUaKGGh+X4phw==", "requires": { "invariant": "2.2.4", "lodash": "4.17.13", @@ -909,42 +899,28 @@ } }, "@tarojs/taro": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/taro/-/taro-1.3.25.tgz", - "integrity": "sha512-DTgS5K9Sz0JZtwQ1nqD7GYRpBxbKioYwzmCEPjuyAhOXY6JDxPyZkbLGfsqSTh86CQgy/hBq6oh1E1of/JBGrw==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/@tarojs/taro/-/taro-1.3.29.tgz", + "integrity": "sha512-BhgbaWZWrs0rvz+uu1mHKnqN4CPzlQd4J00Suk0vbIgP4RSDyJplL6sOj/ZjHeGYcEDOIYpO5dopVfuXJrmiBQ==", "requires": { - "@tarojs/utils": "1.3.25" - }, - "dependencies": { - "@tarojs/utils": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/utils/-/utils-1.3.25.tgz", - "integrity": "sha512-c/gpkBdPX94KwPKZRcQMO1FiRlho9r+VxF1StqDseaRUmQTCMcir44Cfw4NYVcMmpjm3YtWIDHWMCTimoMvaPA==" - } + "@tarojs/utils": "1.3.29" } }, "@tarojs/taro-alipay": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/taro-alipay/-/taro-alipay-1.3.25.tgz", - "integrity": "sha512-couA8bfmYMbdkmRxb5c8CmWGNTuFD0DLeCjXdT3wvibYR2G6OuB21ypF6dZv9YSyDCATQPTqmGGLbipnuzw2lA==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/@tarojs/taro-alipay/-/taro-alipay-1.3.29.tgz", + "integrity": "sha512-BVGerpD4NTcfIT/jkImG2K/5iuOIylZRg5V76/lEGY0RFPhoeKpflXM6PvzyCb9hGZAUpLwnEsHe3hFWCWIIuA==", "requires": { - "@tarojs/taro": "1.3.25", - "@tarojs/utils": "1.3.25", + "@tarojs/taro": "1.3.29", + "@tarojs/utils": "1.3.29", "lodash": "^4.17.10", "prop-types": "^15.6.1" - }, - "dependencies": { - "@tarojs/utils": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/utils/-/utils-1.3.25.tgz", - "integrity": "sha512-c/gpkBdPX94KwPKZRcQMO1FiRlho9r+VxF1StqDseaRUmQTCMcir44Cfw4NYVcMmpjm3YtWIDHWMCTimoMvaPA==" - } } }, "@tarojs/taro-h5": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/taro-h5/-/taro-h5-1.3.25.tgz", - "integrity": "sha512-1HFr+a8U2ltfqWC7WTawcVvr05urndaJ08fZxTp+wO6YHFrGINoJGdlE2faIxUwcyz4KP3aO7W6cSwcGAJUx+w==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/@tarojs/taro-h5/-/taro-h5-1.3.29.tgz", + "integrity": "sha512-LyYm4G6nfFlbP3j4+XjzvzKjBOAWkA5AkRKp9vUXvhkRi1OePSxFo/ig16YLQELQXfs8HDEh2alawZD55sc6lg==", "requires": { "base64-js": "^1.3.0", "jsonp-retry": "^1.0.3", @@ -954,93 +930,58 @@ } }, "@tarojs/taro-qq": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/taro-qq/-/taro-qq-1.3.25.tgz", - "integrity": "sha512-fDllSlIZZhzScJOhumKy4OGqEpumrlYGNzz+6cD9A/1LqWaBcxZYHwZKDvVKi4f7KR0BBkzk99lgAn1mi5I/uA==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/@tarojs/taro-qq/-/taro-qq-1.3.29.tgz", + "integrity": "sha512-eaQgQXsJvstMXVVxW90I30geQAy/y7H+sqlyJsZCIxdusWXB5JR7+l/4btidKSOeHY2SQIn9UAd2nvhbZ1YQhA==", "requires": { - "@tarojs/taro": "1.3.25", - "@tarojs/utils": "1.3.25", + "@tarojs/taro": "1.3.29", + "@tarojs/utils": "1.3.29", "lodash": "^4.17.10", "prop-types": "^15.6.1" - }, - "dependencies": { - "@tarojs/utils": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/utils/-/utils-1.3.25.tgz", - "integrity": "sha512-c/gpkBdPX94KwPKZRcQMO1FiRlho9r+VxF1StqDseaRUmQTCMcir44Cfw4NYVcMmpjm3YtWIDHWMCTimoMvaPA==" - } } }, "@tarojs/taro-quickapp": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/taro-quickapp/-/taro-quickapp-1.3.25.tgz", - "integrity": "sha512-kn3mMoj/C5EsUm++yIy3OE/8UKXLPZEoGDSyocKdntJRUa967GE2to3zAwnkX/UBvRWZaX5eiyHDmwUbWLC40w==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/@tarojs/taro-quickapp/-/taro-quickapp-1.3.29.tgz", + "integrity": "sha512-ZcTTqonX00JFQ9e9toYhRLJEu/lZJJAWK5RcC74ccOG4VRu+JTfD2sxoJBXkZS76yBVYZXTMq73bCWXlGHYpNQ==", "requires": { - "@tarojs/taro": "1.3.25", - "@tarojs/utils": "1.3.25", + "@tarojs/taro": "1.3.29", + "@tarojs/utils": "1.3.29", "lodash": "^4.17.10", "prop-types": "^15.6.1" - }, - "dependencies": { - "@tarojs/utils": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/utils/-/utils-1.3.25.tgz", - "integrity": "sha512-c/gpkBdPX94KwPKZRcQMO1FiRlho9r+VxF1StqDseaRUmQTCMcir44Cfw4NYVcMmpjm3YtWIDHWMCTimoMvaPA==" - } } }, "@tarojs/taro-swan": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/taro-swan/-/taro-swan-1.3.25.tgz", - "integrity": "sha512-WADf4HYmJoJJ2Q7GWV4c/C8R61rr9dV1KiZkiQrNR8Y7R/YYo5wfd+YgWgy0oJgRTdJ7j7XXGRcRQPBhOlLP8w==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/@tarojs/taro-swan/-/taro-swan-1.3.29.tgz", + "integrity": "sha512-O4y75UTH9FMKAuyoz8KLvLPQpusDZ2NTK7MLSHxZ5IYgX/1WolQM5eWC1THiMyCAIXWpNN+vSeAfksCXDSbTUw==", "requires": { - "@tarojs/taro": "1.3.25", - "@tarojs/utils": "1.3.25", + "@tarojs/taro": "1.3.29", + "@tarojs/utils": "1.3.29", "lodash": "^4.17.10", "prop-types": "^15.6.1" - }, - "dependencies": { - "@tarojs/utils": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/utils/-/utils-1.3.25.tgz", - "integrity": "sha512-c/gpkBdPX94KwPKZRcQMO1FiRlho9r+VxF1StqDseaRUmQTCMcir44Cfw4NYVcMmpjm3YtWIDHWMCTimoMvaPA==" - } } }, "@tarojs/taro-tt": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/taro-tt/-/taro-tt-1.3.25.tgz", - "integrity": "sha512-iM5oOsqY68GikmKJ+mPYBR1H+0HZH8LK+ZgEy1JwVKNVKwldf0E1PhcanEffCAaQomGeNvZI3b8sJ3xa2wW1wQ==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/@tarojs/taro-tt/-/taro-tt-1.3.29.tgz", + "integrity": "sha512-P0u4UTocmVENHGRE6tVlLgygtiKC4XDCpIaNm3CTqXMVXY2vh6jf9YAbjTQBR4ZooVA9VyqBweYAdL/lEhLa4w==", "requires": { - "@tarojs/taro": "1.3.25", - "@tarojs/utils": "1.3.25", + "@tarojs/taro": "1.3.29", + "@tarojs/utils": "1.3.29", "lodash": "^4.17.10", "prop-types": "^15.6.1" - }, - "dependencies": { - "@tarojs/utils": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/utils/-/utils-1.3.25.tgz", - "integrity": "sha512-c/gpkBdPX94KwPKZRcQMO1FiRlho9r+VxF1StqDseaRUmQTCMcir44Cfw4NYVcMmpjm3YtWIDHWMCTimoMvaPA==" - } } }, "@tarojs/taro-weapp": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/taro-weapp/-/taro-weapp-1.3.25.tgz", - "integrity": "sha512-OLO/3MiaDps7mfvmPpUUNJLHBMr/i8wF2GtF4bHVyT4yh77hUYfwAFq6uPMiiB2uPh++WG9EBOPvw7sAYlHISw==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/@tarojs/taro-weapp/-/taro-weapp-1.3.29.tgz", + "integrity": "sha512-2/++56qDIfACs2Jxn9ZiSdTlBTFJoq3GHaluBU8ollAbOievZwIUTgjdTUcFT7jO3MTxUc9X/8bRE43Uzxx00w==", "requires": { - "@tarojs/taro": "1.3.25", - "@tarojs/utils": "1.3.25", + "@tarojs/taro": "1.3.29", + "@tarojs/utils": "1.3.29", "lodash": "^4.17.10", "prop-types": "^15.6.1" - }, - "dependencies": { - "@tarojs/utils": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/utils/-/utils-1.3.25.tgz", - "integrity": "sha512-c/gpkBdPX94KwPKZRcQMO1FiRlho9r+VxF1StqDseaRUmQTCMcir44Cfw4NYVcMmpjm3YtWIDHWMCTimoMvaPA==" - } } }, "@tarojs/utils": { @@ -1049,19 +990,19 @@ "integrity": "sha512-mdyUvbDIEuQ6ZyVOp24F3my3w8x7R+um/uDLO/iqpYcczoE9JSNdFJPvVf6BpCI3CcRxYaDYZ6pCTWGuGvAmOQ==" }, "@tarojs/webpack-runner": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/@tarojs/webpack-runner/-/webpack-runner-1.3.25.tgz", - "integrity": "sha512-rzLDa6iDHgwTnPLTiO4/0/YD48fUfICJZ9ilAzI1jBTtgZXFLXywauvmBtU3nvxZQHZkzeXapq/5qztxwPePJQ==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/@tarojs/webpack-runner/-/webpack-runner-1.3.29.tgz", + "integrity": "sha512-KOosZxVGcGL2E+ewsUnagtU2E6QthUiEiWRJ6xH5LLNHwlGfQC1D83YtuAsOntLxs2NP/gtNUZAz40s+KOJBdQ==", "dev": true, "requires": { - "@tarojs/plugin-sass": "1.3.25", - "@tarojs/taro-h5": "1.3.25", + "@tarojs/plugin-sass": "1.3.29", + "@tarojs/taro-h5": "1.3.29", "autoprefixer": "8.6.4", "babel-core": "6.26.0", "babel-loader": "7.1.4", "babel-plugin-syntax-dynamic-import": "6.18.0", "babel-plugin-transform-react-jsx": "6.24.1", - "babel-plugin-transform-taroapi": "1.3.25", + "babel-plugin-transform-taroapi": "1.3.29", "babel-types": "6.26.0", "chalk": "2.4.2", "copy-webpack-plugin": "^5.0.3", @@ -1078,8 +1019,8 @@ "opn": "5.3.0", "ora": "2.1.0", "postcss-loader": "2.1.6", - "postcss-plugin-constparse": "1.3.25", - "postcss-pxtransform": "1.3.25", + "postcss-plugin-constparse": "1.3.29", + "postcss-pxtransform": "1.3.29", "resolve": "1.8.1", "resolve-url-loader": "2.3.0", "sass": "^1.23.1", @@ -2730,9 +2671,9 @@ } }, "babel-plugin-transform-taroapi": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-taroapi/-/babel-plugin-transform-taroapi-1.3.25.tgz", - "integrity": "sha512-0A3lS2WpFV4eVKjfizasPpJxQnmTSXh3f5Nq7FYjozqfCB6LteQrki4GpFuIjGqDLFJMLKQpw49J2NAe3nJkdg==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/babel-plugin-transform-taroapi/-/babel-plugin-transform-taroapi-1.3.29.tgz", + "integrity": "sha512-Q9U9pK1VkuzQ08WfRlQXTbSCDbNn53VUIvg7qU5hR/iFyTlA4zV1Gwbz6cStRH3ONPARPueWzsnupwnbDyFzOA==", "dev": true }, "babel-polyfill": { @@ -6118,12 +6059,12 @@ } }, "eslint-config-taro": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/eslint-config-taro/-/eslint-config-taro-1.3.25.tgz", - "integrity": "sha512-fAFqJqNSTqHpTVcm8atSZjuIHbsynuixaSs/xZMCX507O71CwNY4FyM9q/Pde+Znw++1q3WiC6o8ykyROxsYzA==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/eslint-config-taro/-/eslint-config-taro-1.3.29.tgz", + "integrity": "sha512-zYr7TcC7SR0xRQHz19CbIKP2VyfSdiELlF1ycbQhjxJBRQ8m4F34yOvh8TEg9RKlJkWUk1Wqrj7Sjx8A4jDQKw==", "dev": true, "requires": { - "eslint-plugin-taro": "1.3.25" + "eslint-plugin-taro": "1.3.29" } }, "eslint-import-resolver-node": { @@ -6317,9 +6258,9 @@ "dev": true }, "eslint-plugin-taro": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/eslint-plugin-taro/-/eslint-plugin-taro-1.3.25.tgz", - "integrity": "sha512-SBoShpzAYHU1cQdEsUkkoH5E75kSvgrC2oTSioJjgHyYQr9ZjM+5nHsrEXqrMvDAWSLKELinHWGevXDaHpuz8A==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/eslint-plugin-taro/-/eslint-plugin-taro-1.3.29.tgz", + "integrity": "sha512-FKbne+jcD2SIguIRCSlbWzMvHWCDi0lWDWV24AGo4IZ+er/w2hwdNd8akZENKd28BZXcN4X31K1XeIlA78JUYQ==", "dev": true, "requires": { "has": "^1.0.1" @@ -10871,9 +10812,9 @@ "dev": true }, "object-is": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.0.1.tgz", - "integrity": "sha1-CqYOyZiaCz7Xlc9NBvYs8a1lObY=", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.0.2.tgz", + "integrity": "sha512-Epah+btZd5wrrfjkJZq1AOB9O6OxUQto45hzFd7lXGrpHPGE0W1k+426yrZV+k6NJOzLNNW/nVsmZdIWsAqoOQ==", "dev": true }, "object-keys": { @@ -11741,9 +11682,9 @@ } }, "postcss-plugin-constparse": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/postcss-plugin-constparse/-/postcss-plugin-constparse-1.3.25.tgz", - "integrity": "sha512-pN5i2gHBs8IVBeOuD+hTuxKetT0d25F/sqX6XrEbO/Z3WLv34W1jpj2qY9hkyaUgSB7T8f/rNvLNWvH2Fb0HDA==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/postcss-plugin-constparse/-/postcss-plugin-constparse-1.3.29.tgz", + "integrity": "sha512-fz3N5QLFx5Z06CNjvqRLfbQ3fdco2ytv7R/X41cxUUba5mPrQ17KJvUsHIH7GX+hwUqFkkeVOTuyHYCoiAFcCg==", "dev": true, "requires": { "postcss": "^6.0.22" @@ -11789,9 +11730,9 @@ } }, "postcss-pxtransform": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/postcss-pxtransform/-/postcss-pxtransform-1.3.25.tgz", - "integrity": "sha512-YvR34kfhbH63C5KerF4SepjNJj/e/jtthM6AvoIbzr737vshhTry7xbrq9ixgXG/maz3I2VKnxGDN0/6OP9hhg==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/postcss-pxtransform/-/postcss-pxtransform-1.3.29.tgz", + "integrity": "sha512-p6gdtDVaHfAebw9M0EFj2rqcPf9jOF5hSmxxRZVDxaNlom7A4Ou5u8DGW2sgwO6gEDey1PColxdPcMQ7Vk24Rw==", "dev": true, "requires": { "postcss": "^6.0.16", @@ -14606,15 +14547,15 @@ } }, "stylelint-config-taro-rn": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/stylelint-config-taro-rn/-/stylelint-config-taro-rn-1.3.25.tgz", - "integrity": "sha512-auV698Zpw2GqfINKDhHJepq6AHDPYpNWyaWJNykTFysTGZ+qFrT12wEf7Bzy9wN8hoQlcwoEnmlEvxzTNiGx0Q==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/stylelint-config-taro-rn/-/stylelint-config-taro-rn-1.3.29.tgz", + "integrity": "sha512-P7GQajFb34iCIJRSvXN0Zp88R8T24xH/73A4FdM3iS54HiCFTex566oFxd5I+A4BiVeSEaNQxjrBW1HROVDMdw==", "dev": true }, "stylelint-taro-rn": { - "version": "1.3.25", - "resolved": "https://registry.npmjs.org/stylelint-taro-rn/-/stylelint-taro-rn-1.3.25.tgz", - "integrity": "sha512-SFarc97KWQvCP7WIL/GThKURGanD6O1IGMy0AANnhsFz/9yWFfQADr/Ox/bAhnbMXXSfZuNQ+MdNeMDvZ7aHwA==", + "version": "1.3.29", + "resolved": "https://registry.npmjs.org/stylelint-taro-rn/-/stylelint-taro-rn-1.3.29.tgz", + "integrity": "sha512-3vcYCc0IJpSQcKjjFV1ssvySlDMq64jILs2PfA+udeai3k/JME4XttEiFLf3/qgOFHHTtDpDoaLAYbBpXdYaig==", "dev": true, "requires": { "react-native-known-styling-properties": "^1.0.4" @@ -15133,6 +15074,30 @@ "integrity": "sha512-Mcr/Qk7hXqFBXMN7p7Lusj1ktCBydylfQM/FZCk5glCNQJrCUKPkMHdo9R0MTFWsC/4kPFvDS0fDPvukfCkFsw==", "dev": true }, + "uglify-es": { + "version": "3.3.9", + "resolved": "https://registry.npmjs.org/uglify-es/-/uglify-es-3.3.9.tgz", + "integrity": "sha512-r+MU0rfv4L/0eeW3xZrd16t4NZfK8Ld4SWVglYBb7ez5uXFWHuVRs6xCTrf1yirs9a4j4Y27nn7SRfO6v67XsQ==", + "dev": true, + "requires": { + "commander": "~2.13.0", + "source-map": "~0.6.1" + }, + "dependencies": { + "commander": { + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.13.0.tgz", + "integrity": "sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, "uglify-js": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.7.2.tgz", @@ -15188,12 +15153,6 @@ "y18n": "^4.0.0" } }, - "commander": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.13.0.tgz", - "integrity": "sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA==", - "dev": true - }, "mississippi": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-2.0.0.tgz", @@ -15253,16 +15212,6 @@ "safe-buffer": "^5.1.1" } }, - "uglify-es": { - "version": "3.3.9", - "resolved": "https://registry.npmjs.org/uglify-es/-/uglify-es-3.3.9.tgz", - "integrity": "sha512-r+MU0rfv4L/0eeW3xZrd16t4NZfK8Ld4SWVglYBb7ez5uXFWHuVRs6xCTrf1yirs9a4j4Y27nn7SRfO6v67XsQ==", - "dev": true, - "requires": { - "commander": "~2.13.0", - "source-map": "~0.6.1" - } - }, "y18n": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", diff --git a/package.json b/package.json index 185489f..7561591 100644 --- a/package.json +++ b/package.json @@ -32,31 +32,31 @@ "license": "MIT", "dependencies": { "@reduxjs/toolkit": "^1.1.0", - "@tarojs/async-await": "^1.3.25", - "@tarojs/components": "1.3.25", - "@tarojs/redux": "^1.3.27", - "@tarojs/redux-h5": "^1.3.25", - "@tarojs/router": "1.3.25", - "@tarojs/taro": "1.3.25", - "@tarojs/taro-alipay": "1.3.25", - "@tarojs/taro-h5": "1.3.25", - "@tarojs/taro-qq": "1.3.25", - "@tarojs/taro-quickapp": "1.3.25", - "@tarojs/taro-swan": "1.3.25", - "@tarojs/taro-tt": "1.3.25", - "@tarojs/taro-weapp": "1.3.25", - "nerv-devtools": "^1.5.0", - "nervjs": "^1.5.0", + "@tarojs/async-await": "1.3.29", + "@tarojs/components": "1.3.29", + "@tarojs/redux": "1.3.29", + "@tarojs/redux-h5": "1.3.29", + "@tarojs/router": "1.3.29", + "@tarojs/taro": "1.3.29", + "@tarojs/taro-alipay": "1.3.29", + "@tarojs/taro-h5": "1.3.29", + "@tarojs/taro-qq": "1.3.29", + "@tarojs/taro-quickapp": "1.3.29", + "@tarojs/taro-swan": "1.3.29", + "@tarojs/taro-tt": "1.3.29", + "@tarojs/taro-weapp": "1.3.29", + "nerv-devtools": "^1.5.6", + "nervjs": "^1.5.6", "redux-logger": "^3.0.6" }, "devDependencies": { "@commitlint/cli": "^8.2.0", "@commitlint/config-conventional": "^8.2.0", - "@tarojs/plugin-babel": "1.3.25", - "@tarojs/plugin-csso": "1.3.25", - "@tarojs/plugin-sass": "1.3.25", - "@tarojs/plugin-uglifyjs": "1.3.25", - "@tarojs/webpack-runner": "1.3.25", + "@tarojs/plugin-babel": "1.3.29", + "@tarojs/plugin-csso": "1.3.29", + "@tarojs/plugin-sass": "1.3.29", + "@tarojs/plugin-uglifyjs": "1.3.29", + "@tarojs/webpack-runner": "1.3.29", "@types/react": "^16.4.6", "@types/redux-logger": "^3.0.7", "@types/webpack-env": "^1.13.6", @@ -69,17 +69,17 @@ "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-preset-env": "^1.6.1", "eslint": "^5.16.0", - "eslint-config-taro": "1.3.25", + "eslint-config-taro": "1.3.29", "eslint-plugin-import": "^2.12.0", "eslint-plugin-react": "^7.8.2", "eslint-plugin-react-hooks": "^1.6.1", - "eslint-plugin-taro": "1.3.25", + "eslint-plugin-taro": "1.3.29", "husky": "^3.1.0", "prettier": "^1.19.1", "standard-version": "^7.0.1", "stylelint": "9.3.0", - "stylelint-config-taro-rn": "1.3.25", - "stylelint-taro-rn": "1.3.25", + "stylelint-config-taro-rn": "1.3.29", + "stylelint-taro-rn": "1.3.29", "typescript": "^3.0.1" }, "husky": { diff --git a/src/assets/warning.png b/src/assets/warning.png new file mode 100644 index 0000000..0a03d02 Binary files /dev/null and b/src/assets/warning.png differ diff --git a/src/pages/index/index.scss b/src/pages/index/index.scss index fda5eef..cf8f43f 100644 --- a/src/pages/index/index.scss +++ b/src/pages/index/index.scss @@ -2,11 +2,24 @@ width: 100%; height: 100%; padding: 0 48px; + display: flex; + flex-direction: column; + align-items: center; + + .icon { + width: 200px; + height: 200px; + } .buttons { + width: 100%; margin: 20px 0; display: flex; justify-content: center; align-items: center; } + + .todos { + width: 100%; + } } diff --git a/src/pages/index/index.tsx b/src/pages/index/index.tsx index 765a8d1..55f7b17 100644 --- a/src/pages/index/index.tsx +++ b/src/pages/index/index.tsx @@ -1,11 +1,12 @@ import Taro, { useState } from '@tarojs/taro'; import { useSelector, useDispatch } from '@tarojs/redux'; -import { View, Button, Input } from '@tarojs/components'; +import { View, Button, Input, Image } from '@tarojs/components'; import { CommonEventFunction } from '@tarojs/components/types/common'; import { RootState } from '~/redux/rootReducer'; import { increment, decrement, asyncIncrement, asyncDecrement } from '~/redux/slices/count'; import { addTodo, deleteTodo, toggleTodo } from '~/redux/slices/todos'; +import warningIcon from '~/assets/warning.png'; import './index.scss'; @@ -33,6 +34,7 @@ const Index: Taro.FC = () => { return ( + Count: {count}