Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
136 lines (136 loc) · 4 KB
/
Copy pathpackage.json
File metadata and controls
136 lines (136 loc) · 4 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "react-structured",
"version": "0.2.1",
"description": "Type-safe React components for Schema.org JSON-LD structured data, rich results, and @graph documents.",
"repository": {
"type": "git",
"url": "git+https://github.com/ryanhefner/react-structured.git"
},
"author": "Ryan Hefner <hi@ryanhefner.com> (https://www.ryanhefner.com)",
"contributors": [
{
"name": "Commune Software",
"url": "https://commune.software"
}
],
"license": "MIT",
"type": "module",
"bugs": {
"url": "https://github.com/ryanhefner/react-structured/issues"
},
"homepage": "https://react-structured.dev",
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/ryanhefner"
},
{
"type": "patreon",
"url": "https://www.patreon.com/ryanhefner"
},
{
"type": "opencollective",
"url": "https://opencollective.com/ryanhefner"
}
],
"keywords": [
"react",
"json-ld",
"jsonld",
"react-json-ld",
"schema-org",
"schema-dts",
"structured-data",
"rich-results",
"google-rich-results",
"seo",
"nextjs",
"typescript"
],
"files": [
"dist",
"src",
"!src/**/*.test.*",
"types",
"LICENSE",
"README.md"
],
"sideEffects": false,
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.cjs",
"default": "./dist/esm/index.mjs"
},
"./package.json": "./package.json"
},
"publishConfig": {
"access": "public"
},
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.mjs",
"types": "./types/index.d.ts",
"scripts": {
"clean": "rimraf dist types coverage",
"build": "pnpm run clean && rollup -c --bundleConfigAsCjs && tsc -p tsconfig.json && node scripts/readme-smoke.mjs",
"dev": "rollup -c --bundleConfigAsCjs --watch",
"lint": "eslint .",
"prepack": "pnpm run build",
"prepublishOnly": "pnpm run verify",
"test": "vitest run",
"test:ci": "vitest run --coverage",
"typecheck": "tsc -p tsconfig.typecheck.json",
"test:tooling": "node --test scripts/tooling.test.mjs",
"docs:tooling": "node --test scripts/docs-tooling.test.mjs",
"docs:dev": "pnpm run build && pnpm --dir docs dev",
"docs:build": "pnpm run build && pnpm --dir docs build",
"docs:typecheck": "pnpm --dir docs typecheck",
"docs:test": "vitest run --config vite.docs.config.ts",
"docs:verify": "node --test scripts/docs.test.mjs scripts/site-structured-data.test.mjs && pnpm run docs:smoke",
"docs:smoke": "node scripts/docs-http-smoke.mjs",
"docs:release-check": "node scripts/check-docs-release.mjs",
"verify": "pnpm run test:tooling && pnpm run lint && pnpm run typecheck && pnpm test"
},
"peerDependencies": {
"react": ">=16.14"
},
"dependencies": {
"schema-dts": "^2.0.0"
},
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/eslint-parser": "^7.28.5",
"@babel/preset-env": "^7.28.5",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@rollup/plugin-babel": "^7.0.0",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.0",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@typescript-eslint/parser": "^8.50.0",
"@vitest/coverage-v8": "^4.0.16",
"axe-core": "4.12.0",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"jsdom": "^29.1.1",
"prettier": "^3.7.4",
"react": "^19.2.1",
"react-dom": "^19.2.1",
"rimraf": "^6.1.2",
"rollup": "^4.53.3",
"rollup-plugin-peer-deps-external": "^2.2.4",
"typescript": "^6.0.3",
"vite": "^8.0.13",
"vitest": "^4.0.16"
},
"packageManager": "pnpm@11.25.0"
}