-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
94 lines (94 loc) · 2.63 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
{
"name": "svg-path-bbox",
"version": "2.1.0",
"description": "Compute bounding boxes of SVG paths.",
"keywords": [
"svg",
"path",
"bbox"
],
"type": "commonjs",
"main": "./dist/index.js",
"module": "./dist/es2015/index.mjs",
"types": "./src/types.d.ts",
"exports": {
".": {
"import": {
"types": "./src/types.d.mts",
"default": "./dist/es2015/index.mjs"
},
"require": {
"types": "./src/types.d.ts",
"default": "./dist/index.js"
}
}
},
"bin": {
"svg-path-bbox": "src/cli.js"
},
"scripts": {
"coveralls": "cat ./tests/coverage/lcov.info | coveralls",
"prebuild": "npm run build:index && npm run lint:fix && npm run dist:prepare",
"build": "npm run build:ts && npm run build:ts:esm",
"build:index": "ts-node scripts/build/index.ts",
"build:ts": "tsc",
"build:ts:esm": "tsc --module es2015 --target es2015 --outDir dist/es2015 && ts-node scripts/build/patch-esm-dist.ts",
"examples": "npm run example:cjs && npm run example:esm && npm run example:ts",
"example:cjs": "node examples/common.js",
"example:esm": "node examples/esm.mjs",
"example:ts": "ts-node examples/typescript.ts",
"lint": "eslint --max-warnings 0 src/index.ts tests scripts examples/typescript.ts",
"lint:fix": "npm run lint -- --fix",
"dist:prepare": "npm run dist:clean && npm run dist:create",
"dist:create": "mkdir dist",
"dist:clean": "rimraf dist",
"test": "jest",
"prepare": "husky"
},
"author": {
"name": "Álvaro Mondéjar Rubio",
"email": "[email protected]"
},
"contributors": [],
"license": "BSD-3-Clause",
"dependencies": {
"svgpath": "^2.6.0"
},
"devDependencies": {
"@types/jest": "29.5.14",
"@types/jest-environment-puppeteer": "5.0.6",
"@types/node": "22.9.0",
"@types/puppeteer": "5.4.7",
"@types/svg-path-bounding-box": "1.0.2",
"@typescript-eslint/eslint-plugin": "8.14.0",
"@typescript-eslint/parser": "8.14.0",
"anywhere": "1.6.0",
"coveralls": "3.1.1",
"eslint": "9.14.0",
"husky": "9.1.6",
"jest": "29.7.0",
"jest-puppeteer": "10.1.4",
"puppeteer": "23.8.0",
"rimraf": "5.0.5",
"simple-icons": "13.16.0",
"svg-path-bounding-box": "1.0.4",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"typescript": "5.6.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mondeja/svg-path-bbox.git"
},
"bugs": {
"url": "https://github.com/mondeja/svg-path-bbox/issues",
"email": "[email protected]"
},
"files": [
"src",
"dist"
],
"engines": {
"node": ">=6.17.1"
}
}