UNPKG

svg-path-properties-fork

Version:

Calculate the length for an SVG path, to use it with node or a Canvas element

55 lines (54 loc) 1.77 kB
{ "name": "svg-path-properties-fork", "version": "1.2.3", "description": "Calculate the length for an SVG path, to use it with node or a Canvas element", "keywords": [ "path", "getPointAtLength", "length", "canvas", "svg" ], "main": "dist/svg-path-properties.cjs.js", "module": "dist/svg-path-properties.esm.js", "unpkg": "dist/svg-path-properties.min.js", "types": "dist/types/index.d.ts", "repository": { "type": "git", "url": "https://github.com/sachakk3/svg-path-properties.git" }, "scripts": { "type-check": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch", "build:types": "tsc --emitDeclarationOnly", "build:js": "rollup -c", "build": "npm run build:types && npm run build:js", "test": "ts-node --skip-project node_modules/tape/bin/tape test/**/*-test.ts", "preversion": "npm run build && git add dist && git commit --allow-empty -am \"new version\"", "postpublish": "git push && git push --tags" }, "author": { "name": "Roger Veciana i Rovira", "url": "https://geoexamples.com" }, "license": "ISC", "devDependencies": { "@babel/core": "^7.21.8", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-object-rest-spread": "^7.11.0", "@babel/preset-env": "^7.21.5", "@babel/preset-typescript": "^7.21.5", "@types/tape": "^4.13.4", "babel6-plugin-strip-class-callcheck": "^6.0.0", "eslint": "^7.32.0", "prettier": "^2.8.8", "rollup": "^2.79.1", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-terser": "^7.0.2", "tape": "^5.6.3", "ts-node": "^10.9.1", "typescript": "^5.0.4" } }