forked from fabricjs/fabric.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
167 lines (167 loc) · 5.36 KB
/
package.json
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
159
160
161
162
163
164
165
166
167
{
"name": "fabric",
"description": "Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.",
"homepage": "http://fabricjs.com/",
"version": "6.0.0-rc1",
"author": "Juriy Zaytsev <[email protected]>",
"contributors": [
{
"name": "Andrea Bogazzi",
"email": "[email protected]",
"url": "https://github.com/asturur"
},
{
"name": "Shachar Nencel",
"email": "[email protected]",
"url": "https://github.com/ShaMan123"
},
{
"name": "Steve Eberhardt",
"email": "[email protected]",
"url": "https://github.com/melchiar"
}
],
"keywords": [
"canvas",
"graphic",
"graphics",
"SVG",
"node-canvas",
"parser",
"HTML5",
"object model"
],
"repository": {
"type": "git",
"url": "https://github.com/fabricjs/fabric.js"
},
"bugs": {
"url": "https://github.com/fabricjs/fabric.js/issues"
},
"license": "MIT",
"scripts": {
"docs": "typedoc",
"cli": "node ./scripts/index.mjs",
"sandboxscript": "node ./scripts/sandbox.mjs",
"changelog": "auto-changelog -o change-output.md --unreleased-only",
"build": "npm run cli -- build",
"build:fast": "npm run build -- -f",
"dev": "npm run cli -- dev",
"start": "npm run sandboxscript -- start",
"export": "npm run cli -- website export",
"build-tests": "rollup -c ./rollup.test.config.js",
"test:jest": "jest",
"test": "npm run cli -- test",
"sandbox": "npm run sandboxscript -- sandbox",
"test:unit-browser": "npm run cli -- test --suite unit --launch --context chrome",
"test:visual-browser": "npm run test -- -s visual -p 8081 -l -c chrome firefox",
"test:coverage": "nyc --silent qunit test/node_test_setup.js test/lib test/unit",
"test:visual:coverage": "nyc --silent --no-clean qunit test/node_test_setup.js test/lib test/visual",
"test:jest:coverage": "jest --coverage=true",
"coverage:merge": "nyc merge coveragefiles .nyc_output/merged-coverage.json",
"local-server": "http-server ./ -d=false",
"test:e2e": "npx playwright test --headed",
"coverage:report": "nyc report --reporter=lcov --reporter=text",
"lint": "eslint --config .eslintrc.js src",
"lint_tests": "eslint test/unit --config .eslintrc_tests && eslint test/visual --config .eslintrc_tests",
"all": "npm run build && npm run test -- --all && npm run lint && npm run lint_tests && npm run export",
"prettier:check": "prettier --check .",
"prettier:write": "prettier --write .",
"babel-constants": "babel --no-babelrc src/constants.ts --extensions '.ts' --out-dir dist/src/ --config-file ./.babelrcAlt --plugins=babel-plugin-import-json-value",
"babel-src": "babel --no-babelrc src --extensions '.ts' --ignore 'src/constants.ts' --out-dir dist/src --config-file ./.babelrcAlt"
},
"optionalDependencies": {
"canvas": "^2.11.2",
"jsdom": "^20.0.1"
},
"devDependencies": {
"@babel/cli": "^7.22.9",
"@babel/core": "^7.22.9",
"@babel/preset-env": "^7.22.9",
"@babel/preset-typescript": "^7.22.5",
"@playwright/test": "^1.31.2",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-terser": "^0.4.1",
"@rollup/plugin-typescript": "^11.1.1",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^29.5.2",
"@types/jsdom": "^20.0.1",
"@types/lodash": "^4.14.180",
"@types/mocha": "^10.0.1",
"@types/node": "^17.0.21",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"auto-changelog": "^2.3.0",
"axios": "^0.27.2",
"babel-plugin-import-json-value": "^0.1.2",
"babel-plugin-transform-imports": "git+https://[email protected]/ShaMan123/babel-plugin-transform-imports.git",
"busboy": "^1.6.0",
"chalk": "^2.4.1",
"commander": "^9.1.0",
"eslint": "8.40",
"eslint-config-prettier": "^8.6.0",
"fireworm": "^0.7.2",
"fs-extra": "^10.0.1",
"fuzzy": "^0.1.3",
"http-server": "^14.1.1",
"inquirer": "^8.2.1",
"inquirer-checkbox-plus-prompt": "^1.0.1",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"kill-port": "^2.0.1",
"micromatch": "^4.0.5",
"moment": "^2.29.1",
"nyc": "^15.1.0",
"pixelmatch": "^4.0.2",
"prettier": "2.7.1",
"ps-list": "^8.1.0",
"qunit": "^2.17.2",
"rollup": "^4.9.5",
"semver": "^7.3.8",
"source-map-support": "^0.5.21",
"testem": "^3.8.0",
"tslib": "^2.4.1",
"typescript": "^4.9.4",
"v8-to-istanbul": "^9.1.0"
},
"engines": {
"node": ">=16.20.0"
},
"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": {
".": {
"import": "./dist/index.min.mjs",
"require": "./dist/index.min.js",
"default": "./dist/index.min.js",
"node": null,
"types": "./dist/index.d.ts"
},
"./es": {
"import": "./dist/fabric.min.mjs",
"require": null,
"default": null,
"node": null,
"types": "./dist/index.d.ts"
},
"./node": {
"import": "./dist/index.node.mjs",
"require": "./dist/index.node.cjs",
"default": "./dist/index.node.cjs",
"node": "./dist/index.node.cjs",
"types": "./dist/index.node.d.ts"
}
}
}