-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
77 lines (77 loc) · 2.13 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
{
"name": "sanity-image",
"version": "0.2.0",
"author": "Corey Ward <corey@hey.com>",
"license": "MIT",
"repository": "https://github.com/coreyward/sanity-image",
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/mjs/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"/dist"
],
"sideEffects": false,
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@size-limit/preset-small-lib": "^8.2.4",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.4.0",
"@types/node": "^18.13.0",
"@types/probe-image-size": "^7.2.0",
"@types/react": "^18.0.28",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"babel-jest": "^29.5.0",
"esbuild": "^0.17.8",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"prettier": "^2.8.4",
"probe-image-size": "^7.2.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rimraf": "^4.1.2",
"size-limit": "^8.2.4",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.3"
},
"scripts": {
"build": "rimraf dist && node ./scripts/build.js && tsc -p tsconfig.build.json",
"postbuild": "./scripts/postbuild.sh",
"size": "size-limit",
"test": "jest",
"test:generate-measurements": "yarn build && yarn node tests/buildTestCases.js"
},
"size-limit": [
{
"path": "dist/cjs/index.js",
"limit": "4 kB"
},
{
"path": "dist/mjs/index.js",
"limit": "3 kB"
}
]
}