Commit 9698a671 by liguokang

fe

parent da044774
...@@ -307,6 +307,12 @@ ...@@ -307,6 +307,12 @@
"resolved": "https://registry.nlark.com/@types/object-assign/download/@types/object-assign-4.0.30.tgz?cache=0&sync_timestamp=1621242072851&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40types%2Fobject-assign%2Fdownload%2F%40types%2Fobject-assign-4.0.30.tgz", "resolved": "https://registry.nlark.com/@types/object-assign/download/@types/object-assign-4.0.30.tgz?cache=0&sync_timestamp=1621242072851&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40types%2Fobject-assign%2Fdownload%2F%40types%2Fobject-assign-4.0.30.tgz",
"integrity": "sha1-iUk3HVqZ9Dge4PHfCpt6GH4H5lI=" "integrity": "sha1-iUk3HVqZ9Dge4PHfCpt6GH4H5lI="
}, },
"@types/parse-json": {
"version": "4.0.0",
"resolved": "https://registry.nlark.com/@types/parse-json/download/@types/parse-json-4.0.0.tgz",
"integrity": "sha1-L4u0QUNNFjs1+4/9zNcTiSf/uMA=",
"dev": true
},
"@types/prop-types": { "@types/prop-types": {
"version": "15.7.4", "version": "15.7.4",
"resolved": "https://registry.nlark.com/@types/prop-types/download/@types/prop-types-15.7.4.tgz", "resolved": "https://registry.nlark.com/@types/prop-types/download/@types/prop-types-15.7.4.tgz",
...@@ -1246,6 +1252,12 @@ ...@@ -1246,6 +1252,12 @@
"integrity": "sha1-EBXs7UdB4V0GZkqVfbv1DQQeJqw=", "integrity": "sha1-EBXs7UdB4V0GZkqVfbv1DQQeJqw=",
"dev": true "dev": true
}, },
"ci-info": {
"version": "2.0.0",
"resolved": "https://registry.nlark.com/ci-info/download/ci-info-2.0.0.tgz",
"integrity": "sha1-Z6npZL4xpR4V5QENWObxKDQAL0Y=",
"dev": true
},
"cipher-base": { "cipher-base": {
"version": "1.0.4", "version": "1.0.4",
"resolved": "https://registry.nlark.com/cipher-base/download/cipher-base-1.0.4.tgz", "resolved": "https://registry.nlark.com/cipher-base/download/cipher-base-1.0.4.tgz",
...@@ -1327,6 +1339,12 @@ ...@@ -1327,6 +1339,12 @@
"resolved": "https://registry.nlark.com/commondir/download/commondir-1.0.1.tgz", "resolved": "https://registry.nlark.com/commondir/download/commondir-1.0.1.tgz",
"integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=" "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs="
}, },
"compare-versions": {
"version": "3.6.0",
"resolved": "https://registry.npm.taobao.org/compare-versions/download/compare-versions-3.6.0.tgz",
"integrity": "sha1-GlaJkTaF5ah2N7jT/8p1UU7EHWI=",
"dev": true
},
"component-emitter": { "component-emitter": {
"version": "1.3.0", "version": "1.3.0",
"resolved": "https://registry.npm.taobao.org/component-emitter/download/component-emitter-1.3.0.tgz", "resolved": "https://registry.npm.taobao.org/component-emitter/download/component-emitter-1.3.0.tgz",
...@@ -2373,6 +2391,15 @@ ...@@ -2373,6 +2391,15 @@
"locate-path": "^2.0.0" "locate-path": "^2.0.0"
} }
}, },
"find-versions": {
"version": "4.0.0",
"resolved": "https://registry.nlark.com/find-versions/download/find-versions-4.0.0.tgz?cache=0&sync_timestamp=1619599444272&other_urls=https%3A%2F%2Fregistry.nlark.com%2Ffind-versions%2Fdownload%2Ffind-versions-4.0.0.tgz",
"integrity": "sha1-PFflc7+XdpuMuN8Wk0tieRXaSWU=",
"dev": true,
"requires": {
"semver-regex": "^3.1.2"
}
},
"flush-write-stream": { "flush-write-stream": {
"version": "1.1.1", "version": "1.1.1",
"resolved": "https://registry.npm.taobao.org/flush-write-stream/download/flush-write-stream-1.1.1.tgz", "resolved": "https://registry.npm.taobao.org/flush-write-stream/download/flush-write-stream-1.1.1.tgz",
...@@ -2781,10 +2808,166 @@ ...@@ -2781,10 +2808,166 @@
"integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=" "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM="
}, },
"husky": { "husky": {
"version": "7.0.1", "version": "4.3.8",
"resolved": "https://registry.nlark.com/husky/download/husky-7.0.1.tgz", "resolved": "https://registry.nlark.com/husky/download/husky-4.3.8.tgz",
"integrity": "sha1-V59BgLXaRSAmPocTzIMpQrSOHxw=", "integrity": "sha1-MRRAYL6WP9aFDlzI8Bmh3+GUKW0=",
"dev": true "dev": true,
"requires": {
"chalk": "^4.0.0",
"ci-info": "^2.0.0",
"compare-versions": "^3.6.0",
"cosmiconfig": "^7.0.0",
"find-versions": "^4.0.0",
"opencollective-postinstall": "^2.0.2",
"pkg-dir": "^5.0.0",
"please-upgrade-node": "^3.2.0",
"slash": "^3.0.0",
"which-pm-runs": "^1.0.0"
},
"dependencies": {
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.nlark.com/ansi-styles/download/ansi-styles-4.3.0.tgz?cache=0&sync_timestamp=1618995588464&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fansi-styles%2Fdownload%2Fansi-styles-4.3.0.tgz",
"integrity": "sha1-7dgDYornHATIWuegkG7a00tkiTc=",
"dev": true,
"requires": {
"color-convert": "^2.0.1"
}
},
"chalk": {
"version": "4.1.1",
"resolved": "https://registry.nlark.com/chalk/download/chalk-4.1.1.tgz",
"integrity": "sha1-yAs/qyi/Y3HmhjMl7uZ+YYt35q0=",
"dev": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.nlark.com/color-convert/download/color-convert-2.0.1.tgz",
"integrity": "sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=",
"dev": true,
"requires": {
"color-name": "~1.1.4"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npm.taobao.org/color-name/download/color-name-1.1.4.tgz",
"integrity": "sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=",
"dev": true
},
"cosmiconfig": {
"version": "7.0.0",
"resolved": "https://registry.npm.taobao.org/cosmiconfig/download/cosmiconfig-7.0.0.tgz?cache=0&sync_timestamp=1596310773001&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcosmiconfig%2Fdownload%2Fcosmiconfig-7.0.0.tgz",
"integrity": "sha1-75tE13OVnK5j3ezRIt4jhTtg+NM=",
"dev": true,
"requires": {
"@types/parse-json": "^4.0.0",
"import-fresh": "^3.2.1",
"parse-json": "^5.0.0",
"path-type": "^4.0.0",
"yaml": "^1.10.0"
}
},
"find-up": {
"version": "5.0.0",
"resolved": "https://registry.nlark.com/find-up/download/find-up-5.0.0.tgz",
"integrity": "sha1-TJKBnstwg1YeT0okCoa+UZj1Nvw=",
"dev": true,
"requires": {
"locate-path": "^6.0.0",
"path-exists": "^4.0.0"
}
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.nlark.com/has-flag/download/has-flag-4.0.0.tgz?cache=0&sync_timestamp=1626715907927&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fhas-flag%2Fdownload%2Fhas-flag-4.0.0.tgz",
"integrity": "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=",
"dev": true
},
"import-fresh": {
"version": "3.3.0",
"resolved": "https://registry.npm.taobao.org/import-fresh/download/import-fresh-3.3.0.tgz?cache=0&sync_timestamp=1608469579940&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fimport-fresh%2Fdownload%2Fimport-fresh-3.3.0.tgz",
"integrity": "sha1-NxYsJfy566oublPVtNiM4X2eDCs=",
"dev": true,
"requires": {
"parent-module": "^1.0.0",
"resolve-from": "^4.0.0"
}
},
"locate-path": {
"version": "6.0.0",
"resolved": "https://registry.nlark.com/locate-path/download/locate-path-6.0.0.tgz",
"integrity": "sha1-VTIeswn+u8WcSAHZMackUqaB0oY=",
"dev": true,
"requires": {
"p-locate": "^5.0.0"
}
},
"p-limit": {
"version": "3.1.0",
"resolved": "https://registry.nlark.com/p-limit/download/p-limit-3.1.0.tgz",
"integrity": "sha1-4drMvnjQ0TiMoYxk/qOOPlfjcGs=",
"dev": true,
"requires": {
"yocto-queue": "^0.1.0"
}
},
"p-locate": {
"version": "5.0.0",
"resolved": "https://registry.nlark.com/p-locate/download/p-locate-5.0.0.tgz",
"integrity": "sha1-g8gxXGeFAF470CGDlBHJ4RDm2DQ=",
"dev": true,
"requires": {
"p-limit": "^3.0.2"
}
},
"parse-json": {
"version": "5.2.0",
"resolved": "https://registry.nlark.com/parse-json/download/parse-json-5.2.0.tgz",
"integrity": "sha1-x2/Gbe5UIxyWKyK8yKcs8vmXU80=",
"dev": true,
"requires": {
"@babel/code-frame": "^7.0.0",
"error-ex": "^1.3.1",
"json-parse-even-better-errors": "^2.3.0",
"lines-and-columns": "^1.1.6"
}
},
"path-exists": {
"version": "4.0.0",
"resolved": "https://registry.nlark.com/path-exists/download/path-exists-4.0.0.tgz",
"integrity": "sha1-UTvb4tO5XXdi6METfvoZXGxhtbM=",
"dev": true
},
"pkg-dir": {
"version": "5.0.0",
"resolved": "https://registry.nlark.com/pkg-dir/download/pkg-dir-5.0.0.tgz",
"integrity": "sha1-oC1q6+a6EzqSj3Suwguv3+a452A=",
"dev": true,
"requires": {
"find-up": "^5.0.0"
}
},
"resolve-from": {
"version": "4.0.0",
"resolved": "https://registry.npm.taobao.org/resolve-from/download/resolve-from-4.0.0.tgz",
"integrity": "sha1-SrzYUq0y3Xuqv+m0DgCjbbXzkuY=",
"dev": true
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.nlark.com/supports-color/download/supports-color-7.2.0.tgz",
"integrity": "sha1-G33NyzK4E4gBs+R4umpRyqiWSNo=",
"dev": true,
"requires": {
"has-flag": "^4.0.0"
}
}
}
}, },
"iconv-lite": { "iconv-lite": {
"version": "0.4.24", "version": "0.4.24",
...@@ -3170,6 +3353,12 @@ ...@@ -3170,6 +3353,12 @@
"resolved": "https://registry.nlark.com/json-parse-better-errors/download/json-parse-better-errors-1.0.2.tgz", "resolved": "https://registry.nlark.com/json-parse-better-errors/download/json-parse-better-errors-1.0.2.tgz",
"integrity": "sha1-u4Z8+zRQ5pEHwTHRxRS6s9yLyqk=" "integrity": "sha1-u4Z8+zRQ5pEHwTHRxRS6s9yLyqk="
}, },
"json-parse-even-better-errors": {
"version": "2.3.1",
"resolved": "https://registry.npm.taobao.org/json-parse-even-better-errors/download/json-parse-even-better-errors-2.3.1.tgz",
"integrity": "sha1-fEeAWpQxmSjgV3dAXcEuH3pO4C0=",
"dev": true
},
"json-schema-traverse": { "json-schema-traverse": {
"version": "0.4.1", "version": "0.4.1",
"resolved": "https://registry.npm.taobao.org/json-schema-traverse/download/json-schema-traverse-0.4.1.tgz", "resolved": "https://registry.npm.taobao.org/json-schema-traverse/download/json-schema-traverse-0.4.1.tgz",
...@@ -3231,6 +3420,12 @@ ...@@ -3231,6 +3420,12 @@
} }
} }
}, },
"lines-and-columns": {
"version": "1.1.6",
"resolved": "https://registry.nlark.com/lines-and-columns/download/lines-and-columns-1.1.6.tgz",
"integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=",
"dev": true
},
"loader-runner": { "loader-runner": {
"version": "2.4.0", "version": "2.4.0",
"resolved": "https://registry.nlark.com/loader-runner/download/loader-runner-2.4.0.tgz", "resolved": "https://registry.nlark.com/loader-runner/download/loader-runner-2.4.0.tgz",
...@@ -4123,6 +4318,12 @@ ...@@ -4123,6 +4318,12 @@
"wrappy": "1" "wrappy": "1"
} }
}, },
"opencollective-postinstall": {
"version": "2.0.3",
"resolved": "https://registry.npm.taobao.org/opencollective-postinstall/download/opencollective-postinstall-2.0.3.tgz",
"integrity": "sha1-eg//l49tv6TQBiOPusmO1BmMMlk=",
"dev": true
},
"opener": { "opener": {
"version": "1.5.2", "version": "1.5.2",
"resolved": "https://registry.nlark.com/opener/download/opener-1.5.2.tgz", "resolved": "https://registry.nlark.com/opener/download/opener-1.5.2.tgz",
...@@ -4203,6 +4404,23 @@ ...@@ -4203,6 +4404,23 @@
} }
} }
}, },
"parent-module": {
"version": "1.0.1",
"resolved": "https://registry.npm.taobao.org/parent-module/download/parent-module-1.0.1.tgz",
"integrity": "sha1-aR0nCeeMefrjoVZiJFLQB2LKqqI=",
"dev": true,
"requires": {
"callsites": "^3.0.0"
},
"dependencies": {
"callsites": {
"version": "3.1.0",
"resolved": "https://registry.nlark.com/callsites/download/callsites-3.1.0.tgz",
"integrity": "sha1-s2MKvYlDQy9Us/BRkjjjPNffL3M=",
"dev": true
}
}
},
"parse-asn1": { "parse-asn1": {
"version": "5.1.6", "version": "5.1.6",
"resolved": "https://registry.npm.taobao.org/parse-asn1/download/parse-asn1-5.1.6.tgz?cache=0&sync_timestamp=1597165710136&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fparse-asn1%2Fdownload%2Fparse-asn1-5.1.6.tgz", "resolved": "https://registry.npm.taobao.org/parse-asn1/download/parse-asn1-5.1.6.tgz?cache=0&sync_timestamp=1597165710136&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fparse-asn1%2Fdownload%2Fparse-asn1-5.1.6.tgz",
...@@ -4276,6 +4494,12 @@ ...@@ -4276,6 +4494,12 @@
"integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=",
"dev": true "dev": true
}, },
"path-type": {
"version": "4.0.0",
"resolved": "https://registry.nlark.com/path-type/download/path-type-4.0.0.tgz",
"integrity": "sha1-hO0BwKe6OAr+CdkKjBgNzZ0DBDs=",
"dev": true
},
"pbkdf2": { "pbkdf2": {
"version": "3.1.2", "version": "3.1.2",
"resolved": "https://registry.npm.taobao.org/pbkdf2/download/pbkdf2-3.1.2.tgz?cache=0&sync_timestamp=1617976842723&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpbkdf2%2Fdownload%2Fpbkdf2-3.1.2.tgz", "resolved": "https://registry.npm.taobao.org/pbkdf2/download/pbkdf2-3.1.2.tgz?cache=0&sync_timestamp=1617976842723&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpbkdf2%2Fdownload%2Fpbkdf2-3.1.2.tgz",
...@@ -4356,6 +4580,15 @@ ...@@ -4356,6 +4580,15 @@
"resolved": "https://registry.npm.taobao.org/platform/download/platform-1.3.6.tgz", "resolved": "https://registry.npm.taobao.org/platform/download/platform-1.3.6.tgz",
"integrity": "sha1-SLTOmDFksgnC1FoQetsx9HOm56c=" "integrity": "sha1-SLTOmDFksgnC1FoQetsx9HOm56c="
}, },
"please-upgrade-node": {
"version": "3.2.0",
"resolved": "https://registry.nlark.com/please-upgrade-node/download/please-upgrade-node-3.2.0.tgz",
"integrity": "sha1-rt3T+ZTJM+StmLmdmlVu+g4v6UI=",
"dev": true,
"requires": {
"semver-compare": "^1.0.0"
}
},
"pnp-webpack-plugin": { "pnp-webpack-plugin": {
"version": "1.6.4", "version": "1.6.4",
"resolved": "https://registry.npm.taobao.org/pnp-webpack-plugin/download/pnp-webpack-plugin-1.6.4.tgz", "resolved": "https://registry.npm.taobao.org/pnp-webpack-plugin/download/pnp-webpack-plugin-1.6.4.tgz",
...@@ -5294,6 +5527,18 @@ ...@@ -5294,6 +5527,18 @@
"resolved": "https://registry.nlark.com/semver/download/semver-5.7.1.tgz?cache=0&sync_timestamp=1618846864940&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fsemver%2Fdownload%2Fsemver-5.7.1.tgz", "resolved": "https://registry.nlark.com/semver/download/semver-5.7.1.tgz?cache=0&sync_timestamp=1618846864940&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fsemver%2Fdownload%2Fsemver-5.7.1.tgz",
"integrity": "sha1-qVT5Ma66UI0we78Gnv8MAclhFvc=" "integrity": "sha1-qVT5Ma66UI0we78Gnv8MAclhFvc="
}, },
"semver-compare": {
"version": "1.0.0",
"resolved": "https://registry.nlark.com/semver-compare/download/semver-compare-1.0.0.tgz",
"integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=",
"dev": true
},
"semver-regex": {
"version": "3.1.2",
"resolved": "https://registry.nlark.com/semver-regex/download/semver-regex-3.1.2.tgz",
"integrity": "sha1-NLTA02Hu8mLgcZnb7zFtDyqxGAc=",
"dev": true
},
"send": { "send": {
"version": "0.17.1", "version": "0.17.1",
"resolved": "https://registry.nlark.com/send/download/send-0.17.1.tgz?cache=0&sync_timestamp=1618846901933&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fsend%2Fdownload%2Fsend-0.17.1.tgz", "resolved": "https://registry.nlark.com/send/download/send-0.17.1.tgz?cache=0&sync_timestamp=1618846901933&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fsend%2Fdownload%2Fsend-0.17.1.tgz",
...@@ -5428,6 +5673,12 @@ ...@@ -5428,6 +5673,12 @@
"resolved": "https://registry.npm.taobao.org/shell-quote/download/shell-quote-1.7.2.tgz", "resolved": "https://registry.npm.taobao.org/shell-quote/download/shell-quote-1.7.2.tgz",
"integrity": "sha1-Z6fQLHbJ2iT5nSCAj8re0ODgS+I=" "integrity": "sha1-Z6fQLHbJ2iT5nSCAj8re0ODgS+I="
}, },
"slash": {
"version": "3.0.0",
"resolved": "https://registry.nlark.com/slash/download/slash-3.0.0.tgz",
"integrity": "sha1-ZTm+hwwWWtvVJAIg2+Nh8bxNRjQ=",
"dev": true
},
"snapdragon": { "snapdragon": {
"version": "0.8.2", "version": "0.8.2",
"resolved": "https://registry.nlark.com/snapdragon/download/snapdragon-0.8.2.tgz", "resolved": "https://registry.nlark.com/snapdragon/download/snapdragon-0.8.2.tgz",
...@@ -6646,6 +6897,12 @@ ...@@ -6646,6 +6897,12 @@
"is-symbol": "^1.0.3" "is-symbol": "^1.0.3"
} }
}, },
"which-pm-runs": {
"version": "1.0.0",
"resolved": "https://registry.npm.taobao.org/which-pm-runs/download/which-pm-runs-1.0.0.tgz",
"integrity": "sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs=",
"dev": true
},
"which-typed-array": { "which-typed-array": {
"version": "1.1.4", "version": "1.1.4",
"resolved": "https://registry.npm.taobao.org/which-typed-array/download/which-typed-array-1.1.4.tgz", "resolved": "https://registry.npm.taobao.org/which-typed-array/download/which-typed-array-1.1.4.tgz",
...@@ -6701,6 +6958,12 @@ ...@@ -6701,6 +6958,12 @@
"integrity": "sha1-27fa+b/YusmrRev2ArjLrQ1dCP0=", "integrity": "sha1-27fa+b/YusmrRev2ArjLrQ1dCP0=",
"dev": true "dev": true
}, },
"yaml": {
"version": "1.10.2",
"resolved": "https://registry.nlark.com/yaml/download/yaml-1.10.2.tgz",
"integrity": "sha1-IwHF/78StGfejaIzOkWeKeeSDks=",
"dev": true
},
"yocto-queue": { "yocto-queue": {
"version": "0.1.0", "version": "0.1.0",
"resolved": "https://registry.nlark.com/yocto-queue/download/yocto-queue-0.1.0.tgz", "resolved": "https://registry.nlark.com/yocto-queue/download/yocto-queue-0.1.0.tgz",
......
...@@ -5,8 +5,7 @@ ...@@ -5,8 +5,7 @@
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build",
"export": "npm run build && next export", "export": "npm run build && next export",
"start": "next start", "start": "next start"
"prepare": "husky install"
}, },
"dependencies": { "dependencies": {
"@zeit/next-css": "^1.0.1", "@zeit/next-css": "^1.0.1",
...@@ -29,14 +28,14 @@ ...@@ -29,14 +28,14 @@
"devDependencies": { "devDependencies": {
"@types/react": "^17.0.9", "@types/react": "^17.0.9",
"cross-env": "^5.2.0", "cross-env": "^5.2.0",
"husky": "^7.0.1", "husky": "^4.3.0",
"typescript": "^4.3.2", "typescript": "^4.3.2",
"webpack": "^4.37.0", "webpack": "^4.37.0",
"webpack-bundle-analyzer": "^3.3.2" "webpack-bundle-analyzer": "^3.3.2"
}, },
"husky": { "husky": {
"hooks": { "hooks": {
"pre-commit": "echo \"[Husky] pre-commit\"", "pre-commit": "node hooks/pre-commit.js",
"commit-msg": "node hooks/commit-msg.js", "commit-msg": "node hooks/commit-msg.js",
"pre-push": "node hooks/pre-commit.js" "pre-push": "node hooks/pre-commit.js"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment