{
"name": "path2d",
"version": "0.2.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"
],
"prettier": "@qlik/prettier-config",
"devDependencies": {
"@qlik/eslint-config": "^0.7.25",
"@qlik/prettier-config": "^0.4.15",
"@qlik/tsconfig": "^0.2.6",
"@swc/core": "^1.6.5",
"@types/node": "^20.14.9",
"@vitest/coverage-v8": "^1.6.0",
"eslint": "^8.57.0",
"prettier": "^3.3.2",
"rimraf": "^5.0.7",
"tsup": "^8.1.0",
"typescript": "^5.5.2",
"vitest": "^1.6.0"
},
"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": "prettier --check '**' --ignore-unknown",
"format:write": "prettier --write '**' --ignore-unknown",
"lint": "eslint .",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest",
"watch": "pnpm build --watch"
}
} |