UNPKG

svg-path-properties

Version:

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

56 lines (55 loc) 1.84 kB
{ "name": "svg-path-properties", "version": "1.3.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/", "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/rveciana/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 --bundleConfigAsCjs", "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.23.5", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-object-rest-spread": "^7.20.7", "@babel/preset-env": "^7.23.5", "@babel/preset-typescript": "^7.23.3", "@types/tape": "^5.6.4", "babel6-plugin-strip-class-callcheck": "^6.0.0", "eslint": "^8.55.0", "prettier": "^3.1.0", "rollup": "^4.6.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.7.2", "ts-node": "^10.9.1", "typescript": "^5.3.2" } }