-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Expand file tree
/
Copy pathpackage.json
More file actions
158 lines (158 loc) · 4.51 KB
/
Copy pathpackage.json
File metadata and controls
158 lines (158 loc) · 4.51 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"name": "fabric",
"description": "Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.",
"homepage": "http://fabricjs.com/",
"version": "7.4.0",
"author": "Juriy Zaytsev <kangax@gmail.com>",
"contributors": [
{
"name": "Andrea Bogazzi",
"email": "andreabogazzi79@gmail.com",
"url": "https://github.com/asturur"
},
{
"name": "Shachar Nencel",
"email": "shacharnen@gmail.com",
"url": "https://github.com/ShaMan123"
},
{
"name": "Steve Eberhardt",
"email": "melchiar2@gmail.com",
"url": "https://github.com/melchiar"
}
],
"keywords": [
"canvas",
"graphic",
"graphics",
"SVG",
"node-canvas",
"parser",
"HTML5",
"object model"
],
"repository": {
"type": "git",
"url": "git+https://github.com/fabricjs/fabric.js.git"
},
"bugs": {
"url": "https://github.com/fabricjs/fabric.js/issues"
},
"license": "MIT",
"packageManager": "pnpm@10.29.1",
"scripts": {
"docs": "typedoc",
"cli": "node ./scripts/index.mjs",
"sandboxscript": "node ./scripts/sandbox.mjs",
"typecheck": "tsc -p ./tsconfig.build.json --noEmit && tsc -p ./tsconfig-extensions.json --noEmit",
"build": "node ./scripts/index.mjs build",
"build:fast": "node ./scripts/index.mjs build -f",
"dev": "node ./scripts/index.mjs dev",
"start": "node ./scripts/sandbox.mjs start",
"export": "node ./scripts/index.mjs website export",
"test:vitest": "vitest --run --project unit-node",
"test:vitest:chromium": "vitest --run --project unit-chromium",
"test:vitest:firefox": "vitest --run --project unit-firefox",
"test:vitest:all": "vitest --run",
"test:vitest:coverage": "vitest --run --coverage --project unit-node",
"test:vitest:coverage:watch": "pnpm run test:vitest --coverage=true",
"test:e2e": "pnpm run playwright:typecheck && pnpm exec playwright test --",
"playwright:typecheck": "tsc -p ./e2e/tsconfig.json --noEmit",
"sandbox": "node ./scripts/sandbox.mjs sandbox",
"local-server": "serve ./ -l tcp://localhost:8080",
"lint": "eslint src extensions --fix",
"prettier:check": "oxfmt --check .",
"prettier:write": "oxfmt .",
"prepare": "husky install"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.60.0",
"@types/jsdom": "^21.1.7",
"@types/micromatch": "^4.0.10",
"@types/node": "^24.7.0",
"@vitest/browser-playwright": "4.1.9",
"@vitest/coverage-v8": "4.1.9",
"@vitest/ui": "4.1.9",
"commander": "^14.0.3",
"es-toolkit": "1.47.0",
"eslint": "^10.0.1",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"inquirer": "^13.4.3",
"lint-staged": "^17.0.5",
"micromatch": "^4.0.8",
"oxfmt": "^0.51.0",
"ps-list": "^9.0.0",
"rolldown": "^1.0.1",
"serve": "^14.2.6",
"tsc-files": "^1.1.4",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.4",
"vitest": "4.1.9",
"westures": "^1.1.1"
},
"engines": {
"node": ">=20.0.0"
},
"overrides": {
"canvas": {
"canvas": "3.2.0"
}
},
"pnpm": {
"onlyBuiltDependencies": [
"canvas"
]
},
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"typesVersions": {
">=4.2": {
"*": [
"dist/index.d.ts"
],
"node": [
"dist/index.node.d.ts"
]
}
},
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.min.mjs",
"require": "./dist/index.min.js",
"default": "./dist/index.min.js"
},
"./es": {
"types": "./dist/index.d.ts",
"import": "./dist/fabric.min.mjs",
"require": null,
"default": null
},
"./node": {
"node": "./dist/index.node.cjs",
"types": "./dist/index.node.d.ts",
"import": "./dist/index.node.mjs",
"require": "./dist/index.node.cjs",
"default": "./dist/index.node.cjs"
},
"./extensions": {
"node": "./dist-extensions/index.mjs",
"types": "./dist-extensions/extensions/index.d.ts",
"import": "./dist-extensions/index.mjs",
"require": null,
"default": "./dist-extensions/fabric-extensions.min.js"
}
},
"optionalDependencies": {
"canvas": "^3.2.0",
"jsdom": "^26.1.0"
},
"lint-staged": {
"*.{js,md,css,ts,tsx,jsx,json}": "eslint --fix",
"*.{js,css,md,ts,tsx,jsx,json}": "oxfmt --no-error-on-unmatched-pattern",
"**/*.ts !(**/*.spec.ts) !(**/*.test.ts) !(vitest*.ts)": "tsc-files --noEmit"
}
}