forked from dc7290/next-export-optimize-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 3.67 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "next-export-optimize-images",
"version": "2.0.0",
"description": "Optimize images at build time with Next.js.",
"keywords": [
"next.js",
"static",
"export",
"image",
"optimization"
],
"homepage": "https://next-export-optimize-images.vercel.app",
"bugs": {
"url": "https://github.com/dc7290/next-export-optimize-images/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/dc7290/next-export-optimize-images.git"
},
"license": "MIT",
"author": "dc7290 <[email protected]>",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": "bin/index.js",
"files": [
"dist",
"bin"
],
"scripts": {
"dev": "swc src -d dist -w",
"prebuild": "rimraf dist",
"build": "swc src -d dist && tsc --project ./tsconfig.build.json",
"commitmsg": "commitlint -e $GIT_PARAMS",
"lint": "eslint {src,__tests__} --cache",
"lint-staged": "lint-staged",
"prepare": "husky install",
"pretest": "rimraf {__tests__/e2e/.next,__tests__/e2e/out} && swc src -d dist && cross-env TEST_JSON_PATH=__tests__/e2e/.next/custom-optimized-images.nd.json next build __tests__/e2e && next export __tests__/e2e && node __tests__/e2e/cli.js",
"test": "jest",
"test:watch": "jest --watch",
"test:cli": "jest __tests__/cli",
"test:cli:watch": "jest --watch __tests__/cli",
"test:components": "jest __tests__/components",
"test:components:watch": "jest --watch __tests__/components",
"pretest:e2e": "yarn pretest",
"test:e2e": "jest __tests__/e2e",
"semantic-release": "SKIP_BY_SEMANTIC_RELEASE=true semantic-release",
"typecheck": "yarn tsc --noEmit"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
]
},
"dependencies": {
"ansi-colors": "^4.1.3",
"app-root-path": "^3.1.0",
"cli-progress": "^3.12.0",
"fs-extra": "^11.1.0",
"got": "^11.8.6",
"lodash.uniqwith": "^4.5.0",
"sharp": "^0.31.3"
},
"devDependencies": {
"@commitlint/cli": "17.4.4",
"@commitlint/config-conventional": "17.4.4",
"@semantic-release/changelog": "6.0.2",
"@semantic-release/git": "10.0.1",
"@swc/cli": "0.1.62",
"@swc/core": "1.3.37",
"@testing-library/react": "13.4.0",
"@testing-library/jest-dom": "5.16.5",
"@tsconfig/strictest": "1.0.2",
"@types/app-root-path": "1.2.4",
"@types/benchmark": "2.1.2",
"@types/cli-progress": "3.11.0",
"@types/fs-extra": "11.0.1",
"@types/jest": "29.4.0",
"@types/lodash.uniqwith": "4.5.7",
"@types/node": "18.14.6",
"@types/react": "18.0.28",
"@types/sharp": "0.31.1",
"@typescript-eslint/eslint-plugin": "5.53.0",
"@typescript-eslint/parser": "5.53.0",
"benchmark": "2.1.4",
"chokidar": "3.5.3",
"conventional-changelog-conventionalcommits": "5.0.0",
"cross-env": "7.0.3",
"eslint": "8.35.0",
"eslint-config-prettier": "8.6.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-jest-dom": "^4.0.3",
"eslint-plugin-testing-library": "5.10.2",
"git-cz": "4.9.0",
"husky": "8.0.3",
"jest": "29.4.3",
"jest-environment-jsdom": "29.4.3",
"lint-staged": "13.1.2",
"next": "13.2.3",
"npm-run-all": "4.1.5",
"prettier": "2.8.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"rimraf": "4.3.0",
"semantic-release": "19.0.5",
"ts-jest": "29.0.5",
"ts-node": "10.9.1",
"typescript": "4.9.5"
},
"peerDependencies": {
"next": "^13.2.3",
"react": "^17.0.2 || ^18.0.0-0",
"react-dom": "^17.0.2 || ^18.0.0-0"
},
"engines": {
"node": "^16.0.0 || ^18.0.0"
},
"volta": {
"node": "18.14.2",
"yarn": "1.22.19"
}
}