Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 1.98 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 1.98 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
{
"name": "@svgdotjs/svg.resize.js",
"version": "2.0.7",
"description": "An extension for svg.js which allows to resize elements which are selected",
"type": "module",
"packageManager": "pnpm@11.26.0",
"main": "dist/svg.resize.js",
"module": "dist/svg.resize.mjs",
"exports": {
".": {
"browser": {
"types": "./dist/svg.resize.d.mts",
"default": "./dist/svg.resize.mjs"
},
"import": {
"types": "./dist/svg.resize.d.mts",
"default": "./dist/svg.resize.mjs"
},
"require": {
"types": "./dist/svg.resize.d.ts",
"default": "./dist/svg.resize.js"
}
},
"./package.json": "./package.json"
},
"unpkg": "dist/svg.resize.js",
"jsdelivr": "dist/svg.resize.js",
"files": [
"/dist",
"!/dist/*.zip"
],
"keywords": [
"svg.js",
"resize",
"mouse"
],
"bugs": "https://github.com/svgdotjs/svg.resize.js/issues",
"license": "MIT",
"typings": "./dist/svg.resize.d.ts",
"author": {
"name": "Ulrich-Matthias Schäfer"
},
"homepage": "https://github.com/svgdotjs/svg.resize.js",
"repository": {
"type": "git",
"url": "git+https://github.com/svgdotjs/svg.resize.js.git"
},
"scripts": {
"build": "tsc && vite build",
"test:package": "node test/browser-bundle.mjs",
"demo": "vite demo",
"demo:build": "vite build demo --outDir ../demo-dist --emptyOutDir",
"fix": "oxfmt --write . && oxlint -D correctness --fix .",
"lint": "oxfmt --check . && oxlint -D correctness .",
"prepublishOnly": "rm -rf ./dist && pnpm lint && pnpm build && pnpm test:package && pnpm zip",
"zip": "zip -j dist/svg.resize.js.zip -- LICENSE README.md dist/svg.resize.js"
},
"peerDependencies": {
"@svgdotjs/svg.js": "^3.1.0",
"@svgdotjs/svg.select.js": "^4.0.1"
},
"devDependencies": {
"@svgdotjs/svg.js": "^3.2.8",
"@svgdotjs/svg.select.js": "^4.0.3",
"oxfmt": "^0.67.0",
"oxlint": "^1.82.0",
"typescript": "^7.0.2",
"vite": "^8.2.2"
}
}