-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 2.59 KB
/
package.json
File metadata and controls
109 lines (109 loc) · 2.59 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
{
"name": "gen-canvas",
"version": "0.1.0",
"description": "Figma for GenAI content. An open-source infinite canvas for agent-generated artifacts, built on Konva.js",
"license": "MIT",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./react": {
"types": "./dist/react.d.ts",
"import": "./dist/react.js",
"require": "./dist/react.cjs"
},
"./bootstrap": {
"types": "./dist/bootstrap.d.ts",
"import": "./dist/bootstrap.js",
"require": "./dist/bootstrap.cjs"
}
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"demo": "vite demo",
"demo:build": "vite build demo",
"typecheck": "tsc --noEmit",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"format": "prettier --write src/",
"format:check": "prettier --check src/",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"check": "npm run typecheck && npm run lint && npm run format:check && npm run test",
"changeset": "changeset",
"version": "changeset version",
"release": "npm run build && changeset publish",
"prepare": "husky"
},
"peerDependencies": {
"konva": ">=9.0.0",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"devDependencies": {
"@changesets/cli": "^2.30.0",
"@eslint/js": "^10.0.1",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"eslint": "^10.1.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react-hooks": "^7.0.1",
"husky": "^9.1.7",
"konva": "^9.3.0",
"lint-staged": "^16.4.0",
"prettier": "^3.8.1",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"tsup": "^8.0.0",
"typescript": "^5.5.0",
"typescript-eslint": "^8.57.1",
"vite": "^5.4.0",
"vitest": "^2.0.0"
},
"keywords": [
"canvas",
"editor",
"konva",
"figma",
"infinite-canvas",
"artifact",
"card-editor"
],
"repository": {
"type": "git",
"url": "https://github.com/ReByteAI/gen-canvas"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,css,md}": [
"prettier --write"
]
},
"dependencies": {
"dom-to-image-more": "^3.7.2"
}
}