react-raffle-picker 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +200 -0
- package/dist/index.cjs +549 -0
- package/dist/index.d.cts +151 -0
- package/dist/index.d.mts +151 -0
- package/dist/index.mjs +542 -0
- package/package.json +110 -0
package/package.json
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "react-raffle-picker",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Headless React raffle picker for giveaways, winner draws, countdowns, and slot-machine UIs.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.mjs",
|
|
8
|
+
"types": "./dist/index.d.mts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": {
|
|
12
|
+
"import": "./dist/index.d.mts",
|
|
13
|
+
"require": "./dist/index.d.cts"
|
|
14
|
+
},
|
|
15
|
+
"import": "./dist/index.mjs",
|
|
16
|
+
"require": "./dist/index.cjs",
|
|
17
|
+
"default": "./dist/index.mjs"
|
|
18
|
+
},
|
|
19
|
+
"./package.json": "./package.json"
|
|
20
|
+
},
|
|
21
|
+
"sideEffects": false,
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/kirilinsky/react-raffle-picker.git"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/kirilinsky/react-raffle-picker/issues"
|
|
31
|
+
},
|
|
32
|
+
"homepage": "https://react-raffle-one.vercel.app/",
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "tsdown",
|
|
35
|
+
"dev": "tsdown --watch",
|
|
36
|
+
"typecheck": "tsc --noEmit",
|
|
37
|
+
"test": "vitest",
|
|
38
|
+
"test:ui": "vitest --ui",
|
|
39
|
+
"test:coverage": "vitest run --coverage",
|
|
40
|
+
"lint": "eslint src",
|
|
41
|
+
"format": "prettier --write src",
|
|
42
|
+
"knip": "knip",
|
|
43
|
+
"publint": "publint",
|
|
44
|
+
"storybook": "storybook dev -p 6006",
|
|
45
|
+
"build-storybook": "storybook build",
|
|
46
|
+
"changeset": "changeset",
|
|
47
|
+
"version": "changeset version",
|
|
48
|
+
"release": "changeset publish --provenance"
|
|
49
|
+
},
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"react": ">=17",
|
|
52
|
+
"react-dom": ">=17"
|
|
53
|
+
},
|
|
54
|
+
"keywords": [
|
|
55
|
+
"react",
|
|
56
|
+
"raffle",
|
|
57
|
+
"giveaway",
|
|
58
|
+
"winner",
|
|
59
|
+
"picker",
|
|
60
|
+
"random-picker",
|
|
61
|
+
"draw",
|
|
62
|
+
"lottery",
|
|
63
|
+
"slot-machine",
|
|
64
|
+
"countdown",
|
|
65
|
+
"headless",
|
|
66
|
+
"compound-components",
|
|
67
|
+
"react-component"
|
|
68
|
+
],
|
|
69
|
+
"author": "Kirilinsky (https://github.com/kirilinsky)",
|
|
70
|
+
"license": "MIT",
|
|
71
|
+
"publishConfig": {
|
|
72
|
+
"access": "public"
|
|
73
|
+
},
|
|
74
|
+
"engines": {
|
|
75
|
+
"node": ">=18"
|
|
76
|
+
},
|
|
77
|
+
"devDependencies": {
|
|
78
|
+
"@changesets/cli": "^2.27.0",
|
|
79
|
+
"@chromatic-com/storybook": "^5.1.2",
|
|
80
|
+
"@eslint/js": "^9.0.1",
|
|
81
|
+
"@storybook/addon-a11y": "^10.3.5",
|
|
82
|
+
"@storybook/addon-docs": "^10.3.5",
|
|
83
|
+
"@storybook/addon-vitest": "^10.3.5",
|
|
84
|
+
"@storybook/react-vite": "^10.3.5",
|
|
85
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
86
|
+
"@testing-library/react": "^16.3.2",
|
|
87
|
+
"@types/react": "^19.2.14",
|
|
88
|
+
"@types/react-dom": "^19.2.3",
|
|
89
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
90
|
+
"@vitest/browser-playwright": "^4.1.4",
|
|
91
|
+
"@vitest/coverage-v8": "^4.1.4",
|
|
92
|
+
"@vitest/ui": "^4.1.4",
|
|
93
|
+
"eslint": "^9.2.0",
|
|
94
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
95
|
+
"eslint-plugin-storybook": "^10.3.5",
|
|
96
|
+
"jsdom": "^29.0.2",
|
|
97
|
+
"knip": "^5.40.0",
|
|
98
|
+
"playwright": "^1.59.1",
|
|
99
|
+
"prettier": "^3.8.3",
|
|
100
|
+
"publint": "^0.3.0",
|
|
101
|
+
"react": "^19.2.5",
|
|
102
|
+
"react-dom": "^19.2.5",
|
|
103
|
+
"storybook": "^10.3.5",
|
|
104
|
+
"tsdown": "^0.21.8",
|
|
105
|
+
"typescript": "^6.0.2",
|
|
106
|
+
"typescript-eslint": "^8.58.2",
|
|
107
|
+
"vite": "^8.0.8",
|
|
108
|
+
"vitest": "^4.1.4"
|
|
109
|
+
}
|
|
110
|
+
}
|