-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathpackage.json
85 lines (85 loc) · 2.32 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
{
"name": "next-image-export-optimizer",
"version": "1.18.0",
"description": "Optimizes all static images for Next.js static HTML export functionality",
"main": "dist/ExportedImage.js",
"types": "dist/ExportedImage.d.ts",
"bin": "dist/optimizeImages.js",
"engines": {
"node": ">=16.0.0"
},
"exports": {
".": {
"types": "./dist/ExportedImage.d.ts",
"require": "./dist/ExportedImage.js",
"import": "./dist/ExportedImage.js"
},
"./legacy/ExportedImage": {
"types": "./dist/legacy/ExportedImage.d.ts",
"require": "./dist/legacy/ExportedImage.js",
"import": "./dist/legacy/ExportedImage.js"
}
},
"typesVersions": {
"*": {
"legacy/ExportedImage": [
"./dist/legacy/ExportedImage.d.ts"
]
}
},
"files": [
"dist/ExportedImage.js",
"dist/ExportedImage.d.ts",
"dist/legacy/ExportedImage.js",
"dist/legacy/ExportedImage.d.ts",
"dist/optimizeImages.js",
"dist/utils"
],
"scripts": {
"build": "rimraf dist && tsc && tsc --project tsconfig.optimizeImages.json",
"test": "jest",
"test:e2e:basePath": "npx playwright install && BASEPATH=true IMAGESWEBP=false playwright test --config playwright-basePath.config.js",
"test:e2e": "npx playwright install && playwright test",
"exportExample": "cd example && npm run export && cd ..",
"prepublishOnly": "npm run build && npm test && npm run test:e2e:basePath && npm run test:e2e",
"fetchTags": "git fetch --tags -f"
},
"repository": {
"type": "git",
"url": "https://github.com/Niels-IO/next-image-export-optimizer"
},
"keywords": [
"next.js",
"next",
"static",
"export",
"image",
"optimization",
"webp",
"sharp"
],
"author": "Niels Grafen",
"license": "MIT",
"dependencies": {
"sharp": "^0.33.1",
"typescript": "^5.2.2"
},
"peerDependencies": {
"next": "^14.2.18 || ^15.0.3",
"react": "^18.2.0 || ^19.0.0-0"
},
"devDependencies": {
"@next/eslint-plugin-next": "^15.0.3",
"@playwright/test": "^1.39.0",
"@types/react": "npm:types-react@rc",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.33.2",
"jest": "^29.7.0",
"rimraf": "^6.0.1",
"ts-node": "^10.9.1"
},
"overrides": {
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc"
}
}