UNPKG

svg-pathdata

Version:

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

167 lines (166 loc) 3.96 kB
{ "metapak": { "data": { "files": "'src/**/*.ts'", "testsFiles": "'src/**/*.test.ts'", "distFiles": "'dist/**/*.js'", "ignore": [ "dist" ], "bundleFiles": [ "dist", "src" ] }, "configs": [ "main", "readme", "eslint", "tsesm", "jest", "jsdocs", "ghactions", "coveralls" ] }, "name": "svg-pathdata", "version": "9.0.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": "rimraf 'dist' && tsc --outDir dist", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md", "cli": "env NODE_ENV=${NODE_ENV:-cli}", "commitlint": "commitlint", "cover": "node --run jest -- --coverage", "doc": "echo \"# API\" > API.md; jsdoc2md 'dist/**/*.js' >> API.md && git add API.md", "format": "node --run prettier", "jest": "NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest", "lint": "eslint 'src/**/*.ts'", "metapak": "metapak", "precommit": "node --run test && node --run lint && node --run metapak -- -s && node --run build && node --run doc", "prettier": "prettier --write 'src/**/*.ts'", "preversion": "node --run test && node --run lint && node --run build && node --run doc && node --run metapak -- -s", "rebuild": "swc ./src -s -d dist -C jsc.target=es2022", "test": "node --run jest", "version": "node --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": ">=24.14.0" }, "devDependencies": { "@commitlint/cli": "^20.5.0", "@commitlint/config-conventional": "^20.5.0", "@eslint/js": "^10.0.1", "@swc/cli": "^0.8.0", "@swc/core": "^1.15.21", "@swc/jest": "^0.2.39", "conventional-changelog": "^7.2.0", "eslint": "^10.1.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-jest": "^29.15.1", "eslint-plugin-prettier": "^5.5.5", "jest": "^30.3.0", "jsdoc-to-markdown": "^9.1.3", "metapak": "^7.0.0", "metapak-nfroidure": "22.0.1", "prettier": "^3.8.1", "rimraf": "^6.1.3", "typescript": "^6.0.2", "typescript-eslint": "^8.57.2" }, "files": [ "dist", "src", "LICENSE", "README.md", "CHANGELOG.md" ], "funding": { "type": "individual", "url": "https://github.com/sponsors/nfroidure" }, "config": {}, "prettier": { "semi": true, "printWidth": 80, "singleQuote": true, "trailingComma": "all", "proseWrap": "always" }, "jest": { "coverageReporters": [ "lcov" ], "testPathIgnorePatterns": [ "/node_modules/" ], "roots": [ "<rootDir>/src" ], "transform": { "^.+\\.tsx?$": [ "@swc/jest", {} ] }, "testEnvironment": "node", "moduleNameMapper": { "(.+)\\.js": "$1" }, "extensionsToTreatAsEsm": [ ".ts" ] }, "jsarch": { "parserOptions": { "plugins": [ "typescript" ] } }, "overrides": { "typescript-eslint": { "typescript": "^6" }, "@typescript-eslint/eslint-plugin": { "typescript": "^6" }, "@typescript-eslint/parser": { "typescript": "^6" } } }