-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
102 lines (102 loc) · 2.56 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "magic-img",
"version": "0.4.2",
"description": "让你的图片加载更加优雅",
"homepage": "https://github.com/lishaobos/magic-img#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/lishaobos/magic-img.git"
},
"scripts": {
"prepare": "husky install",
"lint": "eslint . --fix",
"build": "tsup && node ./build",
"build:all": "pnpm build && pnpm build:example",
"build:example": "pnpm -r --filter=./example build",
"release": "bump --commit \"fix: version\" --push --tag",
"pub": "pnpm release && pnpm publish"
},
"files": [
"./dist",
"*.d.ts"
],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./vite": {
"types": "./dist/vite.d.ts",
"require": "./dist/vite.js",
"import": "./dist/vite.mjs"
},
"./webpack": {
"types": "./dist/webpack.d.ts",
"require": "./dist/webpack.js",
"import": "./dist/webpack.mjs"
},
"./vue2": {
"require": "./dist/vue2.umd.js",
"import": "./dist/vue2.mjs"
},
"./vue3": {
"require": "./dist/vue3.umd.js",
"import": "./dist/vue3.mjs"
},
"./react": {
"types": "./dist/react.d.ts",
"require": "./dist/react.js",
"import": "./dist/react.mjs"
},
"./css": "./dist/index.css"
},
"keywords": [
"img",
"lazy",
"magic-img",
"lqip",
"sqip",
"cucoloris",
"draw",
"blurhash"
],
"author": "lishaobos",
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@jsdevtools/version-bump-prompt": "^6.1.0",
"@swc/core": "^1.3.32",
"@types/node": "^18.11.9",
"@types/react": "^18.0.24",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"@vitejs/plugin-react": "^2.2.0",
"@vitejs/plugin-vue": "3",
"@vitejs/plugin-vue2": "^2.2.0",
"eslint": "^8.28.0",
"husky": "^8.0.3",
"react": "^18.2.0",
"typescript": "^4.9.3",
"vite": "^4.1.1",
"vue": "^3.2.47",
"vue2-compiler": "npm:@vue/compiler-sfc@2"
},
"dependencies": {
"base64-arraybuffer": "^1.0.2",
"blurhash": "^2.0.5",
"jimp": "^0.16.2",
"lqip": "^2.1.0",
"node-fetch": "2",
"potrace": "^2.1.8",
"sqip": "^0.3.3",
"tsup": "6.5.0",
"unplugin": "1.2.0",
"upng-js": "^2.1.0",
"webp-converter": "^2.3.3"
}
}