87 lines
2.1 KiB
JSON
87 lines
2.1 KiB
JSON
|
|
{
|
||
|
|
"name": "svg-path-commander",
|
||
|
|
"author": "thednp",
|
||
|
|
"license": "MIT",
|
||
|
|
"version": "2.2.1",
|
||
|
|
"description": "🛹 Modern TypeScript tools for SVG",
|
||
|
|
"homepage": "http://thednp.github.io/svg-path-commander",
|
||
|
|
"bugs": {
|
||
|
|
"url": "https://github.com/thednp/svg-path-commander/issues"
|
||
|
|
},
|
||
|
|
"repository": {
|
||
|
|
"type": "git",
|
||
|
|
"url": "git+https://github.com/thednp/svg-path-commander.git"
|
||
|
|
},
|
||
|
|
"keywords": [
|
||
|
|
"svg",
|
||
|
|
"path",
|
||
|
|
"commander",
|
||
|
|
"parse",
|
||
|
|
"normalize",
|
||
|
|
"optimize",
|
||
|
|
"reverse",
|
||
|
|
"intersect",
|
||
|
|
"convert",
|
||
|
|
"absolute",
|
||
|
|
"relative",
|
||
|
|
"curve",
|
||
|
|
"transform3d",
|
||
|
|
"typescript"
|
||
|
|
],
|
||
|
|
"files": [
|
||
|
|
"dist",
|
||
|
|
"package.json",
|
||
|
|
"README.md",
|
||
|
|
"AGENTS.md",
|
||
|
|
"CHANGELOG.md",
|
||
|
|
"LICENSE"
|
||
|
|
],
|
||
|
|
"main": "./dist/index.js",
|
||
|
|
"browser": "./dist/index.min.js",
|
||
|
|
"module": "./dist/index.js",
|
||
|
|
"types": "./dist/index.d.ts",
|
||
|
|
"sideEffects": false,
|
||
|
|
"type": "module",
|
||
|
|
"exports": {
|
||
|
|
".": "./dist/index.js",
|
||
|
|
"./util": "./dist/util.js",
|
||
|
|
"./package.json": "./package.json"
|
||
|
|
},
|
||
|
|
"devDependencies": {
|
||
|
|
"@types/node": "^25.5.2",
|
||
|
|
"@vitest/browser": "^4.1.2",
|
||
|
|
"@vitest/coverage-istanbul": "^4.1.2",
|
||
|
|
"@vitest/ui": "^4.1.2",
|
||
|
|
"happy-dom": "^20.8.9",
|
||
|
|
"playwright": "^1.59.1",
|
||
|
|
"tsdown": "0.21.7",
|
||
|
|
"typescript": "^6.0.2",
|
||
|
|
"vite": "^8.0.4",
|
||
|
|
"vite-plugin-strip-comments": "^0.0.10",
|
||
|
|
"vitest": "^4.1.2"
|
||
|
|
},
|
||
|
|
"dependencies": {
|
||
|
|
"@thednp/dommatrix": "^3.0.4"
|
||
|
|
},
|
||
|
|
"engines": {
|
||
|
|
"node": ">=16",
|
||
|
|
"pnpm": ">=8.6.0"
|
||
|
|
},
|
||
|
|
"inlinedDependencies": {
|
||
|
|
"@thednp/dommatrix": "3.0.4"
|
||
|
|
},
|
||
|
|
"scripts": {
|
||
|
|
"pre-test": "pnpm clean-coverage",
|
||
|
|
"dev": "vite serve docs --port 3000",
|
||
|
|
"test": "vitest",
|
||
|
|
"test-ui": "vitest --ui",
|
||
|
|
"clean-coverage": "rm -rf coverage .nyc_output",
|
||
|
|
"format": "deno fmt src",
|
||
|
|
"lint": "pnpm lint:ts",
|
||
|
|
"fix:ts": "deno lint --fix src",
|
||
|
|
"lint:ts": "deno lint src",
|
||
|
|
"check:ts": "tsc --noEmit",
|
||
|
|
"build": "tsdown && pnpm copy-docs",
|
||
|
|
"copy-docs": "cp dist/index.min.js docs/index.min.js && cp dist/index.min.js.map docs/index.min.js.map"
|
||
|
|
}
|
||
|
|
}
|