-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
94 lines (94 loc) · 2.58 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
{
"name": "vite-plugin-image-presets",
"type": "module",
"version": "0.3.4",
"description": "Image Presets for Vite.js apps. Optimize, resize, and process images consistently and with ease.",
"author": "Máximo Mussini <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/ElMassimo/vite-plugin-image-presets",
"repository": {
"type": "git",
"url": "https://github.com/ElMassimo/vite-plugin-image-presets"
},
"bugs": "https://github.com/ElMassimo/vite-plugin-image-presets/issues",
"keywords": [
"plugin",
"image",
"sharp",
"image-processing",
"build",
"vite",
"vite-plugin",
"vitejs"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"lint": "eslint .",
"test": "vitest --config example/vite.config.ts",
"dev": "npm run build -- --watch",
"example": "npm -C example run dev",
"example:build": "npm -C example run build",
"example:now": "npm -C example run now",
"build": "tsup src/index.ts --dts --format cjs,esm --clean",
"release": "node scripts/release.cjs",
"prepublishOnly": "npm run build",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags"
},
"dependencies": {
"@nuxt/devalue": "^2.0",
"debug": "^4.3",
"pathe": "^0.2",
"sharp": "^0.30.5"
},
"devDependencies": {
"@antfu/eslint-config": "*",
"@types/debug": "^4.1.7",
"@types/node": "^14.18.22",
"@types/sharp": "^0.30.5",
"conventional-changelog-cli": "^2.2.2",
"cross-spawn": "^7.0.3",
"enquirer": "^2.3.6",
"eslint": "^8.20.0",
"happy-dom": "^2.55.0",
"minimist": "^1.2.6",
"picocolors": "^1.0.0",
"rollup": "^2.77.0",
"semver": "^7.3.7",
"tsup": "^6.1.3",
"typescript": "^4.7.4",
"vite": "^3.0.2",
"vitest": "^0.18.1"
},
"eslintConfig": {
"extends": [
"@antfu/eslint-config"
],
"rules": {
"@typescript-eslint/space-before-function-paren": [
"warn",
"always"
]
},
"globals": {
"$ref": "readonly",
"$computed": "readonly",
"$shallowRef": "readonly",
"$$": "readonly",
"$": "readonly"
}
}
}