-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
100 lines (100 loc) · 2.71 KB
/
package.json
File metadata and controls
100 lines (100 loc) · 2.71 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-enable",
"version": "3.1.1",
"description": "feature flags to enable and disable functionality at runtime in a react application",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist"
],
"sideEffects": false,
"scripts": {
"build-css": "postcss ./src/in-tailwind.css -o ./src/tailwind.css",
"build": "npm run build-css && tsup",
"dev": "npm run build-css && tsup --watch",
"watch-css": "postcss ./src/in-tailwind.css -o ./src/tailwind.css --watch",
"watch": "concurrently 'npm:dev' 'npm:watch-css'",
"test": "vitest",
"test:ci": "vitest run",
"test:ui": "vitest --ui",
"lint": "biome check src",
"lint:fix": "biome check --write src",
"format": "biome format --write src",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run build",
"validate": "publint && attw --pack ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/pliosoft/react-enable.git"
},
"keywords": [
"feature",
"flag",
"enable",
"toggle"
],
"author": "Christopher Lord",
"license": "ISC",
"bugs": {
"url": "https://github.com/pliosoft/react-enable/issues"
},
"homepage": "https://github.com/pliosoft/react-enable#readme",
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@biomejs/biome": "^2.2.6",
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/postcss": "^4.1.15",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/react": "^16.3.0",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@types/tailwindcss": "^3.0.10",
"@vitejs/plugin-react": "^5.0.4",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"concurrently": "^9.2.1",
"identity-obj-proxy": "^3.0.0",
"jsdom": "^26.1.0",
"postcss": "^8.4.12",
"postcss-cli": "^11.0.1",
"postcss-import": "^16.1.1",
"postcss-nested": "^7.0.2",
"postcss-preset-env": "^10.4.0",
"postcss-reporter": "^7.0.5",
"postcss-url": "^10.1.3",
"publint": "^0.3.15",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-hooks": "^1.0.1",
"tailwindcss": "^4.1.15",
"tsup": "^8.3.5",
"typescript": "^5.6.3",
"vitest": "^3.2.4"
},
"peerDependencies": {
"react": "^17 || ^18 || ^19",
"react-dom": "^17 || ^18 || ^19"
},
"dependencies": {
"@headlessui/react": "^2.2.9",
"tslib": "^2.8.1"
},
"engines": {
"node": ">=18.0.0"
}
}