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.0", "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.2.9", "@types/node": "^22.14.1", "@types/pbf": "^3.0.5", "coveralls": "^3.1.1", "eslint": "^9.24.0", "eslint-config-prettier": "^10.1.2", "eslint-plugin-jsdoc": "^50.6.9", "eslint-plugin-prettier": "^5.2.6", "eslint-plugin-tsdoc": "^0.4.0", "prettier": "^3.5.3", "typedoc": "^0.28.2", "typedoc-plugin-coverage": "^3.4.1", "typescript": "^5.8.3", "typescript-eslint": "^8.30.1" } }