-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.3 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 2.3 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
{
"name": "drupal-canvas-react",
"version": "0.1.0",
"description": "Use Drupal Canvas to build pages from React components, then render them anywhere",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"drupal-canvas-react": "./dist/cli.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./preview": {
"types": "./dist/preview.d.ts",
"import": "./dist/preview.js"
},
"./server": {
"types": "./dist/server.d.ts",
"import": "./dist/server.js"
},
"./stubs/image": {
"types": "./dist/stubs/image.d.ts",
"import": "./dist/stubs/image.js"
},
"./stubs/link": {
"types": "./dist/stubs/link.d.ts",
"import": "./dist/stubs/link.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint src test",
"format": "prettier --write .",
"format:check": "prettier --check .",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run build"
},
"keywords": [
"drupal",
"canvas",
"react",
"nextjs",
"components"
],
"author": "Full Fat Things <info@fullfatthings.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/fullfatthings/drupal-canvas-react"
},
"homepage": "https://github.com/fullfatthings/drupal-canvas-react#readme",
"bugs": {
"url": "https://github.com/fullfatthings/drupal-canvas-react/issues"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"dependencies": {
"html-react-parser": "^5.2.0",
"react-docgen-typescript": "^2.4.0",
"tsup": "^8.5.0"
},
"devDependencies": {
"@eslint/js": "^9.0.0",
"@testing-library/react": "^16.3.2",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"eslint": "^9.0.0",
"prettier": "^3.0.0",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"ajv": "^8.17.0",
"ajv-draft-04": "^1.0.0",
"jsdom": "^28.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"typescript": "^5.9.0",
"vitest": "^4.0.18"
}
}