Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.42 KB
/
Copy pathpackage.json
File metadata and controls
92 lines (92 loc) · 2.42 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": "@fastlabai/design-editor",
"version": "1.0.0-beta.11",
"description": "Open-source image design editor for React and Next.js",
"license": "MIT",
"author": "fastlab.ai",
"keywords": [
"react",
"nextjs",
"design",
"editor",
"image-editor",
"canvas",
"fabricjs",
"fastlabai"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fastlabai/design-editor.git"
},
"homepage": "https://fastlab.ai",
"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"
},
"./theme.css": "./dist/theme.css"
},
"files": [
"dist",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"scripts": {
"build": "tsup && tailwindcss -i src/theme/theme.css -o dist/theme.css && node scripts/postbuild-use-client.mjs",
"dev": "tsup --watch",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint src",
"size": "size-limit",
"publish:all": "npm publish --tag latest --@fastlabai:registry=https://registry.npmjs.org/ && npm publish --tag latest"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"@imgly/background-removal": "1.7.0",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-slider": "^1.3.6",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-switch": "^1.2.6",
"@radix-ui/react-tooltip": "^1.2.8",
"clsx": "^2.1.1",
"fabric": "^6.0.0",
"lucide-react": "^0.511.0",
"sonner": "^2.0.7"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^11.1.6",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/lodash": "^4.17.24",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitest/coverage-v8": "^4.1.7",
"jsdom": "^29.1.1",
"lodash": "^4.18.1",
"postcss": "^8.5.15",
"puppeteer": "^25.0.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"resize-observer-polyfill": "^1.5.1",
"size-limit": "^11.1.6",
"tailwindcss": "^3.4.19",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
}
}