Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 3.13 KB
/
Copy pathpackage.json
File metadata and controls
121 lines (121 loc) · 3.13 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
{
"name": "non-spooky-react-cookie",
"version": "0.1.0",
"description": "A friendly, lightweight cookie consent manager for React and Next.js. Optional scripts stay out of the DOM until the visitor says yes.",
"keywords": [
"react",
"nextjs",
"cookie",
"cookie-consent",
"cookie-banner",
"gdpr",
"consent-mode",
"privacy",
"script-loader"
],
"license": "MIT",
"author": "Kamil Adamski",
"homepage": "https://github.com/codingguydynamite/non-spooky-react-cookie#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/codingguydynamite/non-spooky-react-cookie.git"
},
"bugs": {
"url": "https://github.com/codingguydynamite/non-spooky-react-cookie/issues"
},
"type": "module",
"sideEffects": [
"**/*.css"
],
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"server": [
"./dist/server.d.ts"
]
}
},
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./server": {
"import": {
"types": "./dist/server.d.ts",
"default": "./dist/server.js"
},
"require": {
"types": "./dist/server.d.cts",
"default": "./dist/server.cjs"
}
},
"./styles.css": "./dist/styles.css",
"./package.json": "./package.json"
},
"files": [
"dist",
"server",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"scripts": {
"build": "tsdown",
"check:package": "publint && attw --pack . --exclude-entrypoints ./styles.css",
"check:cjs": "node -e \"require('./dist/index.cjs');require('./dist/server.cjs')\"",
"dev": "tsdown --watch",
"typecheck": "tsc --noEmit -p tsconfig.json && pnpm --filter vite-playground typecheck",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"format": "biome format --write .",
"test": "vitest run",
"test:watch": "vitest",
"check": "pnpm lint && pnpm typecheck && pnpm test && pnpm build && pnpm check:package && pnpm check:cjs",
"example": "pnpm --filter vite-playground dev",
"example:build": "pnpm --filter vite-playground build",
"changeset": "changeset",
"version": "changeset version",
"release": "pnpm build && changeset publish",
"prepublishOnly": "pnpm build"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
}
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.5",
"@biomejs/biome": "^2.5.14",
"@changesets/cli": "^3.0.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"jsdom": "^30.1.0",
"publint": "^0.3.24",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"tsdown": "^0.23.0",
"typescript": "^7.0.2",
"vitest": "^5.0.1"
},
"packageManager": "pnpm@11.22.0",
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public",
"provenance": true
}
}