-
Notifications
You must be signed in to change notification settings - Fork 57
/
package.json
69 lines (69 loc) · 1.81 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
{
"name": "@svgdotjs/svg.draw.js",
"version": "3.0.2",
"description": "An extension for svg.js which allows to draw elements with mouse",
"type": "module",
"keywords": [
"svg.js",
"draw",
"mouse"
],
"bugs": "https://github.com/svgdotjs/svg.draw.js/issues",
"license": "MIT",
"author": {
"name": "Ulrich-Matthias Schäfer"
},
"homepage": "https://github.com/svgdotjs/svg.draw.js",
"module": "dist/svg.draw.js",
"main": "dist/svg.draw.umd.cjs",
"unpkg": "dist/svg.draw.iife.js",
"jsdelivr": "dist/svg.draw.iife.js",
"exports": {
".": {
"import": {
"types": "./svg.draw.js.d.mts",
"default": "./dist/svg.draw.js"
},
"require": {
"types": "./svg.draw.js.d.cts",
"default": "./dist/svg.draw.umd.cjs"
},
"browser": {
"types": "./svg.draw.js.d.mts",
"default": "./dist/svg.draw.js"
}
}
},
"files": [
"/dist",
"/src",
"/svg.draw.js.d.cts",
"/svg.draw.js.d.mts"
],
"scripts": {
"dev": "vite",
"build": "tsc && prettier --write . && eslint ./src && vite build",
"zip": "zip -j dist/svg.draw.js.zip -- LICENSE README.md dist/svg.draw.iife.js dist/svg.draw.iife.js.map dist/svg.draw.js dist/svg.draw.js.map dist/svg.draw.umd.cjs dist/svg.draw.umd.cjs.map",
"prepublishOnly": "rm -rf ./dist && npm run build",
"postpublish": "npm run zip"
},
"repository": {
"type": "git",
"url": "https://github.com/svgdotjs/svg.draw.js.git"
},
"engines": {
"node": ">= 14.18"
},
"devDependencies": {
"@types/node": "^20.14.10",
"eslint": "^9.7.0",
"eslint-plugin-import-x": "^3.0.1",
"prettier": "^3.3.3",
"terser": "^5.31.2",
"typescript": "^5.5.3",
"vite": "^5.3.4"
},
"peerDependencies": {
"@svgdotjs/svg.js": "^3.2.4"
}
}