UNPKG

@liammartens/svg-path-properties

Version:

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

58 lines (57 loc) 1.73 kB
{ "name": "@liammartens/svg-path-properties", "version": "1.3.0-beta.0", "description": "Calculate the length for an SVG path, to use it with node or a Canvas element", "keywords": [ "path", "getPointAtLength", "length", "canvas", "svg" ], "homepage": "http://geoexamples.com/path-properties/", "types": "lib/index.d.ts", "main": "lib/index.js", "exports": { ".": { "types": "./lib/index.d.ts", "require": "./lib/index.js" } }, "repository": { "type": "git", "url": "https://github.com/rveciana/svg-path-properties.git" }, "scripts": { "type-check": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch", "build": "tsc -p .", "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" } }