-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
83 lines (83 loc) · 2.62 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
{
"name": "svg-path-commander",
"author": "thednp",
"license": "MIT",
"version": "2.1.4",
"description": "Modern TypeScript tools for SVG",
"source": "./src/index.ts",
"main": "./dist/svg-path-commander.js",
"module": "./dist/svg-path-commander.mjs",
"exports": {
".": {
"types": "./dist/svg-path-commander.d.ts",
"require": "./dist/svg-path-commander.cjs",
"import": "./dist/svg-path-commander.mjs"
}
},
"scripts": {
"pre-test": "pnpm clean-coverage",
"badges": "npx -p dependency-version-badge update-badge typescript eslint prettier vitest vite",
"dev": "vite serve docs --port 3000",
"test": "pnpm pre-test && vitest --config vitest.config.mts",
"test-ui": "pnpm pre-test && vitest --config vitest.config-ui.mts --browser=chrome",
"clean-coverage": "rm -rf coverage .nyc_output",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "pnpm lint:ts && pnpm check:ts",
"fix:ts": "eslint src --config .eslintrc.cjs --fix",
"lint:ts": "eslint src --config .eslintrc.cjs",
"check:ts": "tsc --noEmit",
"build": "pnpm lint && pnpm build-vite && pnpm build-ts",
"build-vite": "vite build && pnpm copy-docs",
"build-ts": "dts-bundle-generator --config ./dts.config.ts",
"copy-docs": "cp dist/svg-path-commander.js docs/svg-path-commander.js && cp dist/svg-path-commander.js.map docs/svg-path-commander.js.map",
"prepublishOnly": "pnpm update && pnpm format && pnpm lint:ts && pnpm build && pnpm badges"
},
"repository": {
"type": "git",
"url": "git+https://github.com/thednp/svg-path-commander.git"
},
"keywords": [
"svg",
"path",
"commander",
"parse",
"normalize",
"optimize",
"reverse",
"convert",
"absolute",
"relative",
"curve",
"transform3d",
"typescript"
],
"bugs": {
"url": "https://github.com/thednp/svg-path-commander/issues"
},
"homepage": "http://thednp.github.io/svg-path-commander",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vitest/browser": "^2.1.3",
"@vitest/coverage-istanbul": "^2.1.3",
"@vitest/ui": "^2.1.3",
"dts-bundle-generator": "^9.5.1",
"eslint": "^8.57.1",
"eslint-plugin-jsdoc": "^46.10.1",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^4.2.1",
"playwright": "^1.48.1",
"prettier": "^2.8.8",
"typescript": "^5.6.3",
"vite": "^5.4.9",
"vitest": "^2.1.3"
},
"dependencies": {
"@thednp/dommatrix": "^2.0.8"
},
"packageManager": "pnpm@8.6.12",
"engines": {
"node": ">=16",
"pnpm": ">=8.6.0"
}
}