path2d-polyfill
Version:
Polyfills Path2D api for canvas rendering
64 lines • 1.72 kB
JSON
{
"name": "path2d-polyfill",
"version": "3.2.1",
"description": "Polyfills Path2D api for canvas rendering",
"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": {
"browser": "./dist/path2d-polyfill.min.js"
},
"browser": "dist/path2d-polyfill.min.js",
"files": [
"dist"
],
"browserslist": [
">0.1%",
"ie >= 11",
"last 2 versions",
"not dead"
],
"dependencies": {
"path2d": "^0.3.1"
},
"devDependencies": {
"@babel/core": "^7.27.4",
"@babel/preset-env": "^7.27.2",
"@qlik/tsconfig": "^0.3.1",
"@rollup/plugin-babel": "^6.0.4",
"@vitest/coverage-v8": "^3.2.4",
"jsdom": "^26.1.0",
"typescript": "^5.8.3",
"vite": "^7.0.0",
"vitest": "^3.2.4"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "vite build && cp dist/path2d-polyfill.min.js test/path2d-polyfill.min.js",
"check-types": "tsc --noEmit",
"dev": "vite",
"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-polyfill",
"preview": "vite preview",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest"
}
}