piclist 0.3.3 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/i18n/zh-CN.d.ts +7 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +2 -2
- package/dist/types/index.d.ts +6 -0
- package/package.json +145 -145
package/dist/types/index.d.ts
CHANGED
|
@@ -329,6 +329,12 @@ export interface IImgurConfig {
|
|
|
329
329
|
clientId: string;
|
|
330
330
|
/** 代理地址,仅支持 http 代理 */
|
|
331
331
|
proxy: string;
|
|
332
|
+
/** imgur 用户名 */
|
|
333
|
+
username: string;
|
|
334
|
+
/** imgur access token */
|
|
335
|
+
accessToken: string;
|
|
336
|
+
/** imgur album name */
|
|
337
|
+
album: string;
|
|
332
338
|
}
|
|
333
339
|
/** Webdav 图床配置项 */
|
|
334
340
|
export interface IWebdavPlistConfig {
|
package/package.json
CHANGED
|
@@ -1,145 +1,145 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "piclist",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Modified PicGo core, A tool for picture uploading",
|
|
5
|
-
"author": {
|
|
6
|
-
"name": "Kuingsmile",
|
|
7
|
-
"email": "msq@msq.pub"
|
|
8
|
-
},
|
|
9
|
-
"homepage": "https://piclist.cn",
|
|
10
|
-
"bugs": {
|
|
11
|
-
"url": "https://github.com/Kuingsmile/PicList/issues",
|
|
12
|
-
"email": "msq@msq.pub"
|
|
13
|
-
},
|
|
14
|
-
"main": "dist/index.cjs.js",
|
|
15
|
-
"module": "dist/index.esm.js",
|
|
16
|
-
"typings": "dist/index.d.ts",
|
|
17
|
-
"bin": {
|
|
18
|
-
"picgo": "./bin/picgo"
|
|
19
|
-
},
|
|
20
|
-
"publishConfig": {
|
|
21
|
-
"access": "public"
|
|
22
|
-
},
|
|
23
|
-
"scripts": {
|
|
24
|
-
"start": "node ./bin/picgo",
|
|
25
|
-
"lint": "eslint src/**/*.ts && npm run build",
|
|
26
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
27
|
-
"build": "cross-env NODE_ENV=production rimraf ./dist && rollup -c rollup.config.js",
|
|
28
|
-
"dev": "cross-env NODE_ENV=development rollup -c rollup.config.js -w",
|
|
29
|
-
"patch": "npm version patch && git push origin master && git push origin --tags",
|
|
30
|
-
"minor": "npm version minor && git push origin master && git push origin --tags",
|
|
31
|
-
"major": "npm version major && git push origin master && git push origin --tags",
|
|
32
|
-
"cz": "git-cz",
|
|
33
|
-
"release": "bump-version"
|
|
34
|
-
},
|
|
35
|
-
"keywords": [
|
|
36
|
-
"picture",
|
|
37
|
-
"upload",
|
|
38
|
-
"util"
|
|
39
|
-
],
|
|
40
|
-
"husky": {
|
|
41
|
-
"hooks": {
|
|
42
|
-
"pre-commit": "npm run lint"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"config": {
|
|
46
|
-
"commitizen": {
|
|
47
|
-
"path": "./node_modules/cz-customizable"
|
|
48
|
-
},
|
|
49
|
-
"cz-customizable": {
|
|
50
|
-
"config": "./node_modules/@picgo/bump-version/.cz-config.js"
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
"commitlint": {
|
|
54
|
-
"extends": [
|
|
55
|
-
"./node_modules/@picgo/bump-version/commitlint-picgo"
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
|
-
"license": "MIT",
|
|
59
|
-
"devDependencies": {
|
|
60
|
-
"@picgo/bump-version": "^1.1.2",
|
|
61
|
-
"@rollup/plugin-commonjs": "^21.0.0",
|
|
62
|
-
"@rollup/plugin-json": "^4.1.0",
|
|
63
|
-
"@rollup/plugin-node-resolve": "^13.0.5",
|
|
64
|
-
"@rollup/plugin-replace": "^3.0.0",
|
|
65
|
-
"@types/cross-spawn": "^6.0.0",
|
|
66
|
-
"@types/ejs": "^3.0.5",
|
|
67
|
-
"@types/fs-extra": "^11.0.1",
|
|
68
|
-
"@types/image-size": "^0.0.29",
|
|
69
|
-
"@types/inquirer": "^0.0.42",
|
|
70
|
-
"@types/js-yaml": "^4.0.5",
|
|
71
|
-
"@types/lodash": "^4.14.175",
|
|
72
|
-
"@types/md5": "^2.3.2",
|
|
73
|
-
"@types/mime-types": "^2.1.0",
|
|
74
|
-
"@types/minimatch": "^3.0.3",
|
|
75
|
-
"@types/node": "16.11.7",
|
|
76
|
-
"@types/resolve": "^0.0.8",
|
|
77
|
-
"@types/rimraf": "^3.0.0",
|
|
78
|
-
"@types/sharp": "^0.31.1",
|
|
79
|
-
"@types/text-to-svg": "^3.1.1",
|
|
80
|
-
"@types/tunnel": "^0.0.3",
|
|
81
|
-
"@typescript-eslint/eslint-plugin": "3",
|
|
82
|
-
"@typescript-eslint/parser": "^3.2.0",
|
|
83
|
-
"babel-eslint": "^10.1.0",
|
|
84
|
-
"builtins": "^4.0.0",
|
|
85
|
-
"conventional-changelog": "^3.0.6",
|
|
86
|
-
"copyfiles": "^2.1.0",
|
|
87
|
-
"cross-env": "^7.0.3",
|
|
88
|
-
"cz-customizable": "^5.10.0",
|
|
89
|
-
"eslint": "7",
|
|
90
|
-
"eslint-config-standard-with-typescript": "^18.0.2",
|
|
91
|
-
"eslint-plugin-import": "2",
|
|
92
|
-
"eslint-plugin-node": "11",
|
|
93
|
-
"eslint-plugin-promise": "4",
|
|
94
|
-
"eslint-plugin-standard": "4",
|
|
95
|
-
"execa": "^5.1.1",
|
|
96
|
-
"husky": "^1.3.1",
|
|
97
|
-
"pre-commit": "^1.2.2",
|
|
98
|
-
"rollup": "^2.58.0",
|
|
99
|
-
"rollup-plugin-copy": "^3.4.0",
|
|
100
|
-
"rollup-plugin-string": "^3.0.0",
|
|
101
|
-
"rollup-plugin-terser": "^7.0.2",
|
|
102
|
-
"rollup-plugin-typescript2": "^0.30.0",
|
|
103
|
-
"typescript": "^4.8.2"
|
|
104
|
-
},
|
|
105
|
-
"dependencies": {
|
|
106
|
-
"@picgo/i18n": "^1.0.0",
|
|
107
|
-
"@picgo/store": "^2.0.4",
|
|
108
|
-
"axios": "^1.3.4",
|
|
109
|
-
"chalk": "^2.4.1",
|
|
110
|
-
"commander": "^8.1.0",
|
|
111
|
-
"comment-json": "^2.3.1",
|
|
112
|
-
"cross-spawn": "^6.0.5",
|
|
113
|
-
"dayjs": "^1.11.7",
|
|
114
|
-
"download-git-repo": "^3.0.2",
|
|
115
|
-
"ejs": "^2.6.1",
|
|
116
|
-
"fs-extra": "^11.1.0",
|
|
117
|
-
"globby": "^11.0.4",
|
|
118
|
-
"image-size": "^0.8.3",
|
|
119
|
-
"inquirer": "^6.0.0",
|
|
120
|
-
"is-wsl": "^2.2.0",
|
|
121
|
-
"js-yaml": "^4.1.0",
|
|
122
|
-
"lodash": "^4.17.21",
|
|
123
|
-
"md5": "^2.3.0",
|
|
124
|
-
"mime-types": "2.1.33",
|
|
125
|
-
"minimatch": "^3.0.4",
|
|
126
|
-
"minimist": "^1.2.5",
|
|
127
|
-
"qiniu": "^7.8.0",
|
|
128
|
-
"resolve": "^1.8.1",
|
|
129
|
-
"rimraf": "^3.0.2",
|
|
130
|
-
"sharp": "^0.31.3",
|
|
131
|
-
"text-to-svg": "^3.1.5",
|
|
132
|
-
"tunnel": "^0.0.6"
|
|
133
|
-
},
|
|
134
|
-
"repository": {
|
|
135
|
-
"type": "git",
|
|
136
|
-
"url": "git+https://github.com/Kuingsmile/PicList-Core.git"
|
|
137
|
-
},
|
|
138
|
-
"picBed": {
|
|
139
|
-
"current": "smms"
|
|
140
|
-
},
|
|
141
|
-
"plugins": {},
|
|
142
|
-
"engines": {
|
|
143
|
-
"node": ">= 12.0.0"
|
|
144
|
-
}
|
|
145
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "piclist",
|
|
3
|
+
"version": "0.5.1",
|
|
4
|
+
"description": "Modified PicGo core, A tool for picture uploading",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Kuingsmile",
|
|
7
|
+
"email": "msq@msq.pub"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://piclist.cn",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/Kuingsmile/PicList/issues",
|
|
12
|
+
"email": "msq@msq.pub"
|
|
13
|
+
},
|
|
14
|
+
"main": "dist/index.cjs.js",
|
|
15
|
+
"module": "dist/index.esm.js",
|
|
16
|
+
"typings": "dist/index.d.ts",
|
|
17
|
+
"bin": {
|
|
18
|
+
"picgo": "./bin/picgo"
|
|
19
|
+
},
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public"
|
|
22
|
+
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"start": "node ./bin/picgo",
|
|
25
|
+
"lint": "eslint src/**/*.ts && npm run build",
|
|
26
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
27
|
+
"build": "cross-env NODE_ENV=production rimraf ./dist && rollup -c rollup.config.js",
|
|
28
|
+
"dev": "cross-env NODE_ENV=development rollup -c rollup.config.js -w",
|
|
29
|
+
"patch": "npm version patch && git push origin master && git push origin --tags",
|
|
30
|
+
"minor": "npm version minor && git push origin master && git push origin --tags",
|
|
31
|
+
"major": "npm version major && git push origin master && git push origin --tags",
|
|
32
|
+
"cz": "git-cz",
|
|
33
|
+
"release": "bump-version"
|
|
34
|
+
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"picture",
|
|
37
|
+
"upload",
|
|
38
|
+
"util"
|
|
39
|
+
],
|
|
40
|
+
"husky": {
|
|
41
|
+
"hooks": {
|
|
42
|
+
"pre-commit": "npm run lint"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"config": {
|
|
46
|
+
"commitizen": {
|
|
47
|
+
"path": "./node_modules/cz-customizable"
|
|
48
|
+
},
|
|
49
|
+
"cz-customizable": {
|
|
50
|
+
"config": "./node_modules/@picgo/bump-version/.cz-config.js"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"commitlint": {
|
|
54
|
+
"extends": [
|
|
55
|
+
"./node_modules/@picgo/bump-version/commitlint-picgo"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"license": "MIT",
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@picgo/bump-version": "^1.1.2",
|
|
61
|
+
"@rollup/plugin-commonjs": "^21.0.0",
|
|
62
|
+
"@rollup/plugin-json": "^4.1.0",
|
|
63
|
+
"@rollup/plugin-node-resolve": "^13.0.5",
|
|
64
|
+
"@rollup/plugin-replace": "^3.0.0",
|
|
65
|
+
"@types/cross-spawn": "^6.0.0",
|
|
66
|
+
"@types/ejs": "^3.0.5",
|
|
67
|
+
"@types/fs-extra": "^11.0.1",
|
|
68
|
+
"@types/image-size": "^0.0.29",
|
|
69
|
+
"@types/inquirer": "^0.0.42",
|
|
70
|
+
"@types/js-yaml": "^4.0.5",
|
|
71
|
+
"@types/lodash": "^4.14.175",
|
|
72
|
+
"@types/md5": "^2.3.2",
|
|
73
|
+
"@types/mime-types": "^2.1.0",
|
|
74
|
+
"@types/minimatch": "^3.0.3",
|
|
75
|
+
"@types/node": "16.11.7",
|
|
76
|
+
"@types/resolve": "^0.0.8",
|
|
77
|
+
"@types/rimraf": "^3.0.0",
|
|
78
|
+
"@types/sharp": "^0.31.1",
|
|
79
|
+
"@types/text-to-svg": "^3.1.1",
|
|
80
|
+
"@types/tunnel": "^0.0.3",
|
|
81
|
+
"@typescript-eslint/eslint-plugin": "3",
|
|
82
|
+
"@typescript-eslint/parser": "^3.2.0",
|
|
83
|
+
"babel-eslint": "^10.1.0",
|
|
84
|
+
"builtins": "^4.0.0",
|
|
85
|
+
"conventional-changelog": "^3.0.6",
|
|
86
|
+
"copyfiles": "^2.1.0",
|
|
87
|
+
"cross-env": "^7.0.3",
|
|
88
|
+
"cz-customizable": "^5.10.0",
|
|
89
|
+
"eslint": "7",
|
|
90
|
+
"eslint-config-standard-with-typescript": "^18.0.2",
|
|
91
|
+
"eslint-plugin-import": "2",
|
|
92
|
+
"eslint-plugin-node": "11",
|
|
93
|
+
"eslint-plugin-promise": "4",
|
|
94
|
+
"eslint-plugin-standard": "4",
|
|
95
|
+
"execa": "^5.1.1",
|
|
96
|
+
"husky": "^1.3.1",
|
|
97
|
+
"pre-commit": "^1.2.2",
|
|
98
|
+
"rollup": "^2.58.0",
|
|
99
|
+
"rollup-plugin-copy": "^3.4.0",
|
|
100
|
+
"rollup-plugin-string": "^3.0.0",
|
|
101
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
102
|
+
"rollup-plugin-typescript2": "^0.30.0",
|
|
103
|
+
"typescript": "^4.8.2"
|
|
104
|
+
},
|
|
105
|
+
"dependencies": {
|
|
106
|
+
"@picgo/i18n": "^1.0.0",
|
|
107
|
+
"@picgo/store": "^2.0.4",
|
|
108
|
+
"axios": "^1.3.4",
|
|
109
|
+
"chalk": "^2.4.1",
|
|
110
|
+
"commander": "^8.1.0",
|
|
111
|
+
"comment-json": "^2.3.1",
|
|
112
|
+
"cross-spawn": "^6.0.5",
|
|
113
|
+
"dayjs": "^1.11.7",
|
|
114
|
+
"download-git-repo": "^3.0.2",
|
|
115
|
+
"ejs": "^2.6.1",
|
|
116
|
+
"fs-extra": "^11.1.0",
|
|
117
|
+
"globby": "^11.0.4",
|
|
118
|
+
"image-size": "^0.8.3",
|
|
119
|
+
"inquirer": "^6.0.0",
|
|
120
|
+
"is-wsl": "^2.2.0",
|
|
121
|
+
"js-yaml": "^4.1.0",
|
|
122
|
+
"lodash": "^4.17.21",
|
|
123
|
+
"md5": "^2.3.0",
|
|
124
|
+
"mime-types": "2.1.33",
|
|
125
|
+
"minimatch": "^3.0.4",
|
|
126
|
+
"minimist": "^1.2.5",
|
|
127
|
+
"qiniu": "^7.8.0",
|
|
128
|
+
"resolve": "^1.8.1",
|
|
129
|
+
"rimraf": "^3.0.2",
|
|
130
|
+
"sharp": "^0.31.3",
|
|
131
|
+
"text-to-svg": "^3.1.5",
|
|
132
|
+
"tunnel": "^0.0.6"
|
|
133
|
+
},
|
|
134
|
+
"repository": {
|
|
135
|
+
"type": "git",
|
|
136
|
+
"url": "git+https://github.com/Kuingsmile/PicList-Core.git"
|
|
137
|
+
},
|
|
138
|
+
"picBed": {
|
|
139
|
+
"current": "smms"
|
|
140
|
+
},
|
|
141
|
+
"plugins": {},
|
|
142
|
+
"engines": {
|
|
143
|
+
"node": ">= 12.0.0"
|
|
144
|
+
}
|
|
145
|
+
}
|