-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.54 KB
/
Copy pathpackage.json
File metadata and controls
94 lines (94 loc) · 2.54 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
{
"name": "adinject-react",
"version": "1.3.2",
"description": "Headless Ad Engine & In-Article / In-Feed Inserter for Next.js App Router & React 19",
"author": "LinuxCTRL",
"license": "MIT",
"keywords": [
"adinject",
"adsense",
"nextjs",
"react",
"react-19",
"app-router",
"headless-ads",
"in-article-ads",
"in-feed-ads",
"zero-cls",
"sanity",
"portable-text",
"markdown-ads",
"affiliate",
"affiliate-links",
"amazon-associates",
"monetization"
],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./client": {
"types": "./dist/client/index.d.ts",
"import": "./dist/client/index.mjs",
"require": "./dist/client/index.js"
},
"./adapters": {
"types": "./dist/adapters/index.d.ts",
"import": "./dist/adapters/index.mjs",
"require": "./dist/adapters/index.js"
},
"./transformers": {
"types": "./dist/transformers/index.d.ts",
"import": "./dist/transformers/index.mjs",
"require": "./dist/transformers/index.js"
},
"./types": {
"types": "./dist/types/index.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "git+https://github.com/LinuxCTRL/adinject-react.git"
},
"homepage": "https://github.com/LinuxCTRL/adinject-react#readme",
"bugs": {
"url": "https://github.com/LinuxCTRL/adinject-react/issues"
},
"scripts": {
"build": "tsup && node -e 'const fs = require(\"fs\"); [\"dist/index.js\", \"dist/index.mjs\", \"dist/client/index.js\", \"dist/client/index.mjs\"].forEach(f => { if (fs.existsSync(f)) { const c = fs.readFileSync(f, \"utf8\"); if (!c.startsWith(\"\\\"use client\\\"\")) fs.writeFileSync(f, \"\\\"use client\\\";\\n\" + c); } });'",
"dev": "tsup --watch",
"test": "bun test",
"typecheck": "tsc --noEmit",
"check": "biome check src/",
"clean": "rm -rf dist"
},
"peerDependencies": {
"next": ">=14.0.0 || >=15.0.0 || >=16.0.0",
"react": ">=18.0.0 || >=19.0.0",
"react-dom": ">=18.0.0 || >=19.0.0"
},
"peerDependenciesMeta": {
"next": {
"optional": true
}
},
"devDependencies": {
"@types/node": "^26.3.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tsup": "^8.3.6",
"typescript": "^5.7.3"
}
}