Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 1.79 KB
/
Copy pathpackage.json
File metadata and controls
67 lines (67 loc) · 1.79 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
{
"name": "@svgdotjs/svg.draw.js",
"version": "3.0.3",
"description": "An extension for svg.js which allows to draw elements with mouse",
"type": "module",
"packageManager": "pnpm@11.26.0",
"main": "dist/svg.draw.js",
"module": "dist/svg.draw.mjs",
"exports": {
".": {
"browser": {
"types": "./dist/svg.draw.d.mts",
"default": "./dist/svg.draw.mjs"
},
"import": {
"types": "./dist/svg.draw.d.mts",
"default": "./dist/svg.draw.mjs"
},
"require": {
"types": "./dist/svg.draw.d.ts",
"default": "./dist/svg.draw.js"
}
},
"./package.json": "./package.json"
},
"unpkg": "dist/svg.draw.js",
"jsdelivr": "dist/svg.draw.js",
"files": [
"/dist",
"!/dist/*.zip"
],
"keywords": [
"svg.js",
"draw",
"mouse"
],
"bugs": "https://github.com/svgdotjs/svg.draw.js/issues",
"license": "MIT",
"typings": "./dist/svg.draw.d.ts",
"author": {
"name": "Ulrich-Matthias Schäfer"
},
"homepage": "https://github.com/svgdotjs/svg.draw.js",
"repository": {
"type": "git",
"url": "git+https://github.com/svgdotjs/svg.draw.js.git"
},
"scripts": {
"build": "tsc && vite build",
"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 zip",
"zip": "zip -j dist/svg.draw.js.zip -- LICENSE README.md dist/svg.draw.js"
},
"peerDependencies": {
"@svgdotjs/svg.js": "^3.0.0"
},
"devDependencies": {
"@svgdotjs/svg.js": "^3.2.8",
"oxfmt": "^0.67.0",
"oxlint": "^1.82.0",
"typescript": "^7.0.2",
"vite": "^8.2.2"
}
}