UNPKG

path2d

Version:

Path2D API for node. Can be used for server-side rendering with canvas

59 lines 1.58 kB
{ "name": "path2d", "version": "0.3.1", "description": "Path2D API for node. Can be used for server-side rendering with canvas", "keywords": [ "Path2D", "polyfill", "canvas", "roundRect" ], "homepage": "https://github.com/nilzona/path2d-polyfill#readme", "bugs": { "url": "https://github.com/nilzona/path2d-polyfill/issues" }, "repository": { "type": "git", "url": "git+https://github.com/nilzona/path2d-polyfill.git" }, "license": "MIT", "author": "nilzona", "type": "module", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs" } }, "main": "dist/index.cjs", "module": "./dist/index.js", "files": [ "dist" ], "devDependencies": { "@qlik/tsconfig": "^0.3.1", "@types/node": "24.0.3", "@vitest/coverage-v8": "3.2.4", "rimraf": "6.0.1", "tsup": "^8.5.0", "typescript": "^5.8.3", "vitest": "3.2.4" }, "engines": { "node": ">=6" }, "publishConfig": { "access": "public" }, "scripts": { "build": "tsup-node src/index.ts --target node18 --format esm,cjs --dts", "check-types": "tsc --noEmit", "format:check": "cd ../.. && pnpm exec prettier --check 'packages/path2d-polyfill/**' --ignore-unknown", "format:write": "cd ../.. && pnpm exec prettier --write 'packages/path2d-polyfill/**' --ignore-unknown", "lint": "cd ../.. && pnpm exec eslint ./packages/path2d", "test": "vitest run", "test:coverage": "vitest run --coverage", "test:watch": "vitest", "watch": "pnpm build --watch" } }