UNPKG

earclip

Version:

Triangle mesh designed to be fast, efficient, and sphere capable.

70 lines (69 loc) 2.01 kB
{ "name": "earclip", "version": "1.2.1", "description": "Triangle mesh designed to be fast, efficient, and sphere capable.", "type": "module", "keywords": [ "tesselate", "mesh", "triangle mesh", "S2" ], "exports": { ".": "./dist/index.js" }, "directories": { "lib": "dist" }, "main": "./dist/index.js", "types": "./dist/index.d.ts", "typescript": { "main": "src/index.ts" }, "files": [ "dist" ], "scripts": { "lint+build+test+docs": "bun run lint && bun run build && bun run test && bun run docs", "lint": "eslint src tests", "lint:fix": "bun run lint -- --fix", "prettier": "bunx prettier src test tools benchmarks --check", "prettier:fix": "bunx prettier -- --write", "format": "bunx prettier:fix && bun run lint:fix", "build": "rm -rf dist && mkdir dist && rm -f -- tsconfig.tsbuildinfo && tsc && bun run build.ts", "types:bundle": "bun run types:build && node scripts/types.mjs", "prepublishOnly": "bun run lint+build+test+docs", "package-check": "package-check", "test:dev": "bun test --watch --coverage", "test": "bun test", "test:coverage": "bun run test --coverage", "docs": "typedoc" }, "repository": { "type": "git", "url": "https://github.com/Open-S2/earclip.git" }, "author": "Craig OConnor", "license": "MIT", "bugs": { "url": "https://github.com/Open-S2/earclip/issues" }, "homepage": "https://github.com/Open-S2/earclip#readme", "devDependencies": { "@skypack/package-check": "^0.2.2", "@types/bun": "^1.3.5", "@types/node": "^25.0.3", "@types/pbf": "^3.0.5", "coveralls": "^3.1.1", "eslint": "^9.39.2", "eslint-config-prettier": "^10.1.8", "eslint-plugin-jsdoc": "^61.5.0", "eslint-plugin-prettier": "^5.5.4", "eslint-plugin-tsdoc": "^0.5.0", "prettier": "^3.7.4", "typedoc": "^0.28.15", "typedoc-plugin-coverage": "^4.0.2", "typescript": "^5.9.3", "typescript-eslint": "^8.50.0" } }