Skip to content

Commit a0aedca

Browse files
author
wanglinquan
committed
build: refactor some deps pkgs to dependencies
1 parent 12339c9 commit a0aedca

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,9 @@
2626
"@release-it/conventional-changelog": "^2.0.0",
2727
"babel-eslint": "^10.0.1",
2828
"chalk": "^4.1.0",
29-
"clean-webpack-plugin": "^3.0.0",
3029
"cli-highlight": "^2.1.4",
3130
"commitlint": "^8.0.0",
3231
"commitlint-config-cz": "^0.11.1",
33-
"cosmiconfig": "^7.0.0",
3432
"cz-customizable": "^6.1.0",
3533
"dotenv-cli": "^4.0.0",
3634
"eslint": "^5.16.0",
@@ -41,8 +39,6 @@
4139
"eslint-plugin-standard": "^4.0.0",
4240
"husky": "^2.3.0",
4341
"lint-staged": "^8.1.7",
44-
"optimize-css-assets-webpack-plugin": "^5.0.4",
45-
"prompts": "^2.3.2",
4642
"release-it": "^14.2.0",
4743
"webpack": "4.4.0",
4844
"webpack-chain": "^6.5.1"
@@ -67,5 +63,11 @@
6763
"commitizen": {
6864
"path": "node_modules/cz-customizable"
6965
}
66+
},
67+
"dependencies": {
68+
"clean-webpack-plugin": "^3.0.0",
69+
"cosmiconfig": "^7.0.0",
70+
"optimize-css-assets-webpack-plugin": "^5.0.4",
71+
"prompts": "^2.4.0"
7072
}
7173
}

yarn.lock

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,9 +1176,9 @@ caniuse-api@^3.0.0:
11761176
lodash.uniq "^4.5.0"
11771177

11781178
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001135:
1179-
version "1.0.30001150"
1180-
resolved "https://registry.npm.taobao.org/caniuse-lite/download/caniuse-lite-1.0.30001150.tgz?cache=0&sync_timestamp=1603260314767&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcaniuse-lite%2Fdownload%2Fcaniuse-lite-1.0.30001150.tgz#6d0d829da654b0b233576de00335586bc2004df1"
1181-
integrity sha1-bQ2CnaZUsLIzV23gAzVYa8IATfE=
1179+
version "1.0.30001151"
1180+
resolved "https://registry.npm.taobao.org/caniuse-lite/download/caniuse-lite-1.0.30001151.tgz#1ddfde5e6fff02aad7940b4edb7d3ac76b0cb00b"
1181+
integrity sha1-Hd/eXm//AqrXlAtO2306x2sMsAs=
11821182

11831183
chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2:
11841184
version "2.4.2"
@@ -1842,7 +1842,7 @@ css-color-names@0.0.4, css-color-names@^0.0.4:
18421842

18431843
css-declaration-sorter@^4.0.1:
18441844
version "4.0.1"
1845-
resolved "https://registry.npm.taobao.org/css-declaration-sorter/download/css-declaration-sorter-4.0.1.tgz?cache=0&sync_timestamp=1602012629570&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcss-declaration-sorter%2Fdownload%2Fcss-declaration-sorter-4.0.1.tgz#c198940f63a76d7e36c1e71018b001721054cb22"
1845+
resolved "https://registry.npm.taobao.org/css-declaration-sorter/download/css-declaration-sorter-4.0.1.tgz?cache=0&sync_timestamp=1603749642748&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcss-declaration-sorter%2Fdownload%2Fcss-declaration-sorter-4.0.1.tgz#c198940f63a76d7e36c1e71018b001721054cb22"
18461846
integrity sha1-wZiUD2OnbX42wecQGLABchBUyyI=
18471847
dependencies:
18481848
postcss "^7.0.1"
@@ -2297,9 +2297,9 @@ editor@1.0.0:
22972297
integrity sha1-YMf4e9YrzGqJT6jM1q+3gjok90I=
22982298

22992299
electron-to-chromium@^1.3.571:
2300-
version "1.3.582"
2301-
resolved "https://registry.npm.taobao.org/electron-to-chromium/download/electron-to-chromium-1.3.582.tgz?cache=0&sync_timestamp=1602819228489&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Felectron-to-chromium%2Fdownload%2Felectron-to-chromium-1.3.582.tgz#1adfac5affce84d85b3d7b3dfbc4ade293a6ffc4"
2302-
integrity sha1-Gt+sWv/OhNhbPXs9+8St4pOm/8Q=
2300+
version "1.3.583"
2301+
resolved "https://registry.npm.taobao.org/electron-to-chromium/download/electron-to-chromium-1.3.583.tgz?cache=0&sync_timestamp=1603395162203&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Felectron-to-chromium%2Fdownload%2Felectron-to-chromium-1.3.583.tgz#47a9fde74740b1205dba96db2e433132964ba3ee"
2302+
integrity sha1-R6n950dAsSBdupbbLkMxMpZLo+4=
23032303

23042304
elegant-spinner@^1.0.1:
23052305
version "1.0.1"
@@ -5555,7 +5555,7 @@ postcss-value-parser@^4.0.2:
55555555

55565556
postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.27:
55575557
version "7.0.35"
5558-
resolved "https://registry.npm.taobao.org/postcss/download/postcss-7.0.35.tgz?cache=0&sync_timestamp=1603064311806&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss%2Fdownload%2Fpostcss-7.0.35.tgz#d2be00b998f7f211d8a276974079f2e92b970e24"
5558+
resolved "https://registry.npm.taobao.org/postcss/download/postcss-7.0.35.tgz?cache=0&sync_timestamp=1603496056144&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss%2Fdownload%2Fpostcss-7.0.35.tgz#d2be00b998f7f211d8a276974079f2e92b970e24"
55595559
integrity sha1-0r4AuZj38hHYonaXQHny6SuXDiQ=
55605560
dependencies:
55615561
chalk "^2.4.2"
@@ -5600,13 +5600,13 @@ promise-inflight@^1.0.1:
56005600
resolved "https://registry.npm.taobao.org/promise-inflight/download/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3"
56015601
integrity sha1-mEcocL8igTL8vdhoEputEsPAKeM=
56025602

5603-
prompts@^2.3.2:
5604-
version "2.3.2"
5605-
resolved "https://registry.npm.taobao.org/prompts/download/prompts-2.3.2.tgz#480572d89ecf39566d2bd3fe2c9fccb7c4c0b068"
5606-
integrity sha1-SAVy2J7POVZtK9P+LJ/Mt8TAsGg=
5603+
prompts@^2.4.0:
5604+
version "2.4.0"
5605+
resolved "https://registry.npm.taobao.org/prompts/download/prompts-2.4.0.tgz?cache=0&sync_timestamp=1603716651286&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fprompts%2Fdownload%2Fprompts-2.4.0.tgz#4aa5de0723a231d1ee9121c40fdf663df73f61d7"
5606+
integrity sha1-SqXeByOiMdHukSHED99mPfc/Ydc=
56075607
dependencies:
56085608
kleur "^3.0.3"
5609-
sisteransi "^1.0.4"
5609+
sisteransi "^1.0.5"
56105610

56115611
property-expr@^1.5.0:
56125612
version "1.5.1"
@@ -6289,7 +6289,7 @@ simple-swizzle@^0.2.2:
62896289
dependencies:
62906290
is-arrayish "^0.3.1"
62916291

6292-
sisteransi@^1.0.4:
6292+
sisteransi@^1.0.5:
62936293
version "1.0.5"
62946294
resolved "https://registry.npm.taobao.org/sisteransi/download/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed"
62956295
integrity sha1-E01oEpd1ZDfMBcoBNw06elcQde0=

0 commit comments

Comments
 (0)