UNPKG

svg-pathdata

Version:

Manipulate SVG path data (path[d] attribute content) simply and efficiently.

99 lines (98 loc) 2.29 kB
{ "name": "svg-pathdata", "version": "7.2.0", "description": "Manipulate SVG path data (path[d] attribute content) simply and efficiently.", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc -p tsconfig.json", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md", "cover": "jest --coverage", "format": "npm run prettier", "jest": "jest", "lint": "eslint \"src/**/*.ts\"", "precz": "npm t && npm run lint && npm run build", "prettier": "prettier --write \"src/**/*.ts\"", "preversion": "npm t && npm run lint && npm run build", "test": "jest", "type-check": "tsc --pretty --noEmit", "version": "npm run changelog" }, "repository": { "type": "git", "url": "https://github.com/nfroidure/svg-pathdata.git" }, "keywords": [ "svg", "path", "data", "parser", "encoder", "transformer", "reader", "writer", "stream", "typescript" ], "author": { "name": "Nicolas Froidure", "email": "nicolas.froidure@insertafter.com", "url": "https://insertafter.com/en/index.html" }, "contributors": [ { "name": "Anders Kaseorg", "email": "andersk@mit.edu" } ], "license": "MIT", "bugs": { "url": "https://github.com/nfroidure/SVGPathData/issues" }, "engines": { "node": ">=20.11.1" }, "devDependencies": { "@eslint/js": "^9.21.0", "@swc/core": "^1.11.9", "@swc/jest": "^0.2.37", "conventional-changelog-cli": "^5.0.0", "eslint": "^9.21.0", "eslint-config-prettier": "^10.0.2", "eslint-plugin-jest": "^28.11.0", "jest": "^29.7.0", "prettier": "^3.3.3", "typescript": "^5.7.0", "typescript-eslint": "^8.25.0" }, "files": [ "dist", "src", "LICENSE", "README.md", "CHANGELOG.md" ], "jest": { "coverageReporters": [ "lcov" ], "testPathIgnorePatterns": [ "/node_modules/" ], "roots": [ "<rootDir>/src" ], "transform": { "^.+\\.(t|j)sx?$": "@swc/jest" }, "testEnvironment": "node", "moduleNameMapper": { "(.+)\\.js": "$1" }, "extensionsToTreatAsEsm": [ ".ts" ], "prettierPath": null } }