-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.68 KB
/
Copy pathpackage.json
File metadata and controls
100 lines (100 loc) · 2.68 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
{
"name": "react-toggle-component",
"version": "4.0.1",
"description": "Accessible, themeable React toggle/switch component — zero runtime dependencies, ARIA-compliant, CSS variables theming.",
"license": "MIT",
"author": "Giovambattista Fazioli",
"homepage": "https://gfazioli.github.io/react-toggle/",
"repository": {
"type": "git",
"url": "https://github.com/gfazioli/react-toggle"
},
"bugs": {
"url": "https://github.com/gfazioli/react-toggle/issues"
},
"keywords": [
"react",
"react-component",
"toggle",
"switch",
"checkbox",
"accessible",
"aria",
"css-modules",
"typescript",
"headless-friendly"
],
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./styles.css": "./dist/index.css"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": [
"**/*.css"
],
"engines": {
"node": ">=18"
},
"packageManager": "pnpm@11.5.0",
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"site:dev": "vite --config site/vite.config.ts",
"site:build": "pnpm build && vite build --config site/vite.config.ts",
"site:preview": "vite preview --config site/vite.config.ts",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "vitest run",
"test:watch": "vitest",
"prepublishOnly": "pnpm typecheck && pnpm lint && pnpm test && pnpm build",
"release": "changeset publish",
"changeset": "changeset"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
},
"devDependencies": {
"@changesets/cli": "^2.31.0",
"@eslint/js": "^10.0.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^26.0.0",
"@types/prismjs": "^1.26.6",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@typescript-eslint/eslint-plugin": "^8.61.1",
"@typescript-eslint/parser": "^8.61.1",
"@vitejs/plugin-react": "^6.0.2",
"eslint": "^10.5.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"globals": "^17.6.0",
"jsdom": "^29.1.1",
"prettier": "^3.8.4",
"prismjs": "^1.30.0",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"tsup": "^8.5.1",
"typescript": "^6.0.3",
"typescript-eslint": "^8.61.1",
"vite": "^8.0.16",
"vitest": "^4.1.9"
}
}