forked from fabricjs/fabric.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
147 lines (147 loc) · 4.54 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
{
"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-beta1",
"author": "Juriy Zaytsev <[email protected]>",
"contributors": [
{
"name": "Andrea Bogazzi",
"email": "[email protected]",
"url": "https://github.com/asturur"
},
{
"name": "Steve Eberhardt",
"email": "[email protected]",
"url": "https://github.com/melchiar"
},
{
"name": "Shachar Nencel",
"email": "[email protected]",
"url": "https://github.com/ShaMan123"
}
],
"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 --out docs fabric.ts",
"cli": "node ./scripts/index.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 cli -- start",
"export": "npm run cli -- website export",
"build-tests": "rollup -c ./rollup.test.config.js",
"test:unit-browser": "npm run test -- -s unit -p 8080 -l -c ",
"test:visual-browser": "npm run test -- -s visual -p 8080 -l -c ",
"test": "npm run cli -- test",
"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",
"coverage:report": "nyc report --reporter=lcov --reporter=text",
"lint": "eslint --config .eslintrc.js src/**/*.ts",
"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.8.0",
"jsdom": "^20.0.1"
},
"devDependencies": {
"@babel/cli": "^7.20.7",
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-terser": "^0.3.0",
"@rollup/plugin-typescript": "^11.0.0",
"@types/fs-extra": "^9.0.13",
"@types/jsdom": "^20.0.1",
"@types/lodash": "^4.14.180",
"@types/node": "^17.0.21",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"abort-controller": "^3.0.0",
"auto-changelog": "^2.3.0",
"babel-plugin-import-json-value": "^0.1.2",
"busboy": "^1.6.0",
"chalk": "^2.4.1",
"commander": "^9.1.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"fireworm": "^0.7.2",
"fs-extra": "^10.0.1",
"fuzzy": "^0.1.3",
"inquirer": "^8.2.1",
"inquirer-checkbox-plus-prompt": "^1.0.1",
"kill-port": "^2.0.1",
"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": "^3.9.1",
"source-map-support": "^0.5.21",
"testem": "^3.8.0",
"tslib": "^2.4.1",
"typedoc": "^0.23.24",
"typescript": "^4.9.4"
},
"engines": {
"node": ">=14.0.0"
},
"module": "./dist/index.mjs",
"main": "./dist/index.node.cjs",
"types": "./dist/index.d.ts",
"typesVersions": {
">=4.2": {
"*": [
"dist/index.d.ts"
],
"node": [
"dist/index.node.d.ts"
],
"src/*": [
"src/*"
]
}
},
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"default": "./dist/index.js",
"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"
}
}
}