-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
102 lines (102 loc) · 3.1 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": "react-aspect-ratio",
"version": "1.1.9",
"description": "React Component to maintain a consistent width-to-height ratio (aspect ratio), preventing cumulative layout shift.",
"author": "Roderick Hsiao <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/roderickhsiao/react-aspect-ratio.git"
},
"license": "MIT",
"keywords": [
"aspect ratio",
"css variables",
"cumulative layout shift",
"react image placeholder",
"react-aspect-ratio",
"reflow",
"responsive",
"responsive web design"
],
"scripts": {
"bundlesize": "bundlesize",
"lint": "eslint",
"lintfix": "eslint --fix",
"postpublish": "npm run publish-storybook",
"prepublish": ". ./.scripts/prepublish.sh",
"publish-storybook": "bash .scripts/publish_storybook.sh",
"storybook": "storybook dev -p 9010",
"build-storybook": "storybook build",
"test-watch": "npm run testonly --watch",
"test": "npm run lint && npm run testonly",
"test:ci": "npm run lint && npm run testonly:ci",
"testonly": "jest src --config jest-config.js",
"testonly:ci": "jest src --config jest-config.js -u"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-transform-typescript": "^7.16.8",
"@babel/preset-env": "^7.24.5",
"@babel/preset-typescript": "^7.24.1",
"@chromatic-com/storybook": "^3",
"@storybook/addon-docs": "^8.4.7",
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
"@storybook/react": "^8.4.7",
"@storybook/react-webpack5": "^8.4.7",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^29.0.0",
"babel-loader": "^9.0.0",
"babel-preset-react-app": "^10.0.0",
"babel-runtime": "^6.11.6",
"bundlesize": "^0.18.0",
"eslint": "^8.0.0",
"eslint-config-airbnb": "^19.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.0.0",
"git-url-parse": "^13.0.0",
"jest": "^29.0.0",
"jest-cli": "^29.0.0",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^15.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"storybook": "^8.4.7",
"ts-loader": "^9.2.8",
"typescript": "^5.0.0"
},
"resolutions": {
"jackspeak": "2.1.1"
},
"peerDependencies": {
"react": "^0.14.7 || ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"main": "dist/index.js",
"module": "dist/es/index.js",
"types": "dist/index.d.ts",
"sideEffects": [
"*.css"
],
"bundlesize": [
{
"path": "./dist/*.js",
"maxSize": "2 kB"
},
{
"path": "./dist/es/*.js",
"maxSize": "2 kB"
}
]
}