Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.14 KB
/
Copy pathpackage.json
File metadata and controls
85 lines (85 loc) · 2.14 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
{
"name": "react-gift-spinner",
"version": "1.3.1",
"description": "A customizable and interactive prize wheel/spinner component for React",
"author": "Alireza Azizi",
"license": "MIT",
"keywords": [
"react",
"spinner",
"prize wheel",
"wheel of fortune",
"gift",
"animation",
"component",
"svg"
],
"main": "dist/cjs/lib/index.js",
"module": "dist/esm/lib/index.js",
"types": "dist/types/lib/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE",
"spinnerWheel.png"
],
"repository": {
"type": "git",
"url": "git+https://github.com/AlirezaAzizi145/react-gift-spinner.git"
},
"bugs": {
"url": "https://github.com/AlirezaAzizi145/react-gift-spinner/issues"
},
"scripts": {
"start": "react-scripts start",
"build": "rimraf dist && npm run build:esm && npm run build:cjs && npm run copy-css",
"build:esm": "tsc --outDir dist/esm --module esnext",
"build:cjs": "tsc --outDir dist/cjs --module commonjs",
"copy-css": "copyfiles -u 1 \"src/lib/**/*.css\" dist/esm && copyfiles -u 1 \"src/lib/**/*.css\" dist/cjs",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint --ext .tsx --ext .ts ./src",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"dependencies": {},
"devDependencies": {
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^13.5.0",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"copyfiles": "^2.4.1",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-scripts": "5.0.1",
"rimraf": "^5.0.5",
"typescript": "^4.9.5",
"web-vitals": "^2.1.4"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"sideEffects": [
"*.css"
]
}