-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 3.83 KB
/
package.json
File metadata and controls
129 lines (129 loc) · 3.83 KB
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
124
125
126
127
128
129
{
"name": "react-bounding-box",
"version": "0.6.4",
"description": "React Bounding Box Component",
"repository": {
"type": "git",
"url": "https://github.com/alx/react-bounding-box.git"
},
"bugs": {
"url": "https://github.com/alx/react-bounding-box/issues"
},
"license": "MIT",
"scripts": {
"build": "npm run build:types && webpack --mode=production",
"build:dev": "webpack --mode=development",
"build:types": "tsc --emitDeclarationOnly",
"build:analyze": "mkdir -p dist && npx webpack --mode=production --profile --json > dist/stats.json && npx webpack-bundle-analyzer dist/stats.json",
"verify": "npm run build && node scripts/verify-exports.js",
"dev": "webpack serve --mode=development",
"prepare": "husky || exit 0",
"lint": "eslint src",
"lintfix": "eslint src --fix",
"type-check": "tsc --noEmit",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:hooks": "jest src/hooks",
"format": "prettier --write .",
"format:check": "prettier --check .",
"prepack": "npm run build",
"security:audit": "npm audit --audit-level moderate",
"security:check": "npx audit-ci --moderate",
"release": "npm version patch && git push --follow-tags",
"release:minor": "npm version minor && git push --follow-tags",
"release:major": "npm version major && git push --follow-tags",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build -o storybook-static"
},
"devDependencies": {
"@babel/core": "^7.28.0",
"@babel/plugin-transform-class-properties": "^7.27.1",
"@babel/preset-env": "^7.28.0",
"@babel/preset-react": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@eslint/js": "^9.31.0",
"@storybook/addon-docs": "^8.6.14",
"@storybook/addon-links": "^8.6.14",
"@storybook/react": "^8.6.14",
"@storybook/react-webpack5": "^8.6.14",
"@storybook/test": "^8.6.14",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^14.3.1",
"@types/jest": "^29.5.0",
"@types/node": "^24.0.14",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@types/seedrandom": "^3.0.0",
"audit-ci": "^7.1.0",
"babel-loader": "^9.2.1",
"babel-plugin-transform-remove-console": "^6.9.4",
"eslint": "^8.57.1",
"eslint-plugin-storybook": "^0.8.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.5.2",
"prettier": "^3.6.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"storybook": "^8.6.14",
"typescript": "^5.0.0",
"webpack": "^5.100.1",
"webpack-bundle-analyzer": "^4.10.0",
"webpack-cli": "^5.1.4",
"worker-loader": "^3.0.8"
},
"peerDependencies": {
"react": ">=16.8.0"
},
"dependencies": {
"@storybook/addon-actions": "^8.6.14",
"@storybook/blocks": "^8.6.14",
"prop-types": "^15.6.1",
"seedrandom": "^2.4.3"
},
"main": "dist/main.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/main.js",
"require": "./dist/main.js",
"types": "./dist/types/index.d.ts"
},
"./hooks": {
"import": "./dist/hooks.js",
"require": "./dist/hooks.js",
"types": "./dist/types/hooks/index.d.ts"
},
"./utils": {
"import": "./dist/utils.js",
"require": "./dist/utils.js",
"types": "./dist/types/utils/index.d.ts"
},
"./legacy": {
"import": "./dist/legacy.js",
"require": "./dist/legacy.js"
}
},
"files": [
"dist",
"src",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
},
"lint-staged": {
"src/**/*.{js,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
}
}