-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.56 KB
/
Copy pathpackage.json
File metadata and controls
60 lines (60 loc) · 1.56 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
{
"name": "cv-trace",
"version": "0.2.3",
"description": "A library for tracing images to SVG",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "npm run clean && npm run build:cjs && npm run build:esm && npm run build:types && npm run build:package-jsons",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"build:types": "tsc -p tsconfig.types.json",
"build:package-jsons": "echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json && echo '{\"type\":\"module\"}' > dist/esm/package.json",
"dev": "tsc --watch",
"clean": "rimraf dist",
"prepublishOnly": "npm run build"
},
"keywords": [
"image",
"svg",
"trace",
"vectorize"
],
"author": "yoclo",
"license": "GPL-2.0-or-later",
"repository": {
"type": "git",
"url": "git+https://github.com/yclw/cv-trace.git"
},
"bugs": {
"url": "https://github.com/yclw/cv-trace/issues"
},
"homepage": "https://github.com/yclw/cv-trace#readme",
"engines": {
"node": ">=18.0.0"
},
"packageManager": "pnpm@10.13.1",
"devDependencies": {
"@types/node": "^24.3.0",
"@types/potrace": "^2.1.5",
"rimraf": "^6.0.1",
"typescript": "^5.9.2"
},
"dependencies": {
"image-q": "^4.0.0",
"potrace": "^2.1.8",
"sharp": "^0.34.3",
"svgo": "^4.0.0"
}
}