All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
package.package.json Maven / Gradle / Ivy
{
"name": "earcut",
"version": "2.2.3",
"description": "The fastest and smallest JavaScript polygon triangulation library for your WebGL apps",
"main": "src/earcut.js",
"unpkg": "dist/earcut.min.js",
"jsdelivr": "dist/earcut.min.js",
"files": [
"dist/earcut.min.js",
"dist/earcut.dev.js"
],
"scripts": {
"pretest": "eslint src test/test.js",
"test": "tape test/test.js",
"watch": "mkdirp dist && watchify -v -d src/earcut.js -s earcut -o dist/earcut.dev.js",
"build-dev": "mkdirp dist && browserify -d src/earcut.js -s earcut > dist/earcut.dev.js",
"build-min": "mkdirp dist && browserify src/earcut.js -s earcut | uglifyjs -c -m > dist/earcut.min.js",
"prepublishOnly": "npm run build-dev && npm run build-min",
"cov": "c8 tape test/*.js",
"coveralls": "npm run cov && c8 report -r lcov && coveralls < ./coverage/lcov.info"
},
"author": "Vladimir Agafonkin",
"license": "ISC",
"devDependencies": {
"benchmark": "^2.1.4",
"browserify": "^17.0.0",
"c8": "^7.7.3",
"coveralls": "^3.1.1",
"eslint": "^7.30.0",
"eslint-config-mourner": "^2.0.3",
"mkdirp": "^1.0.4",
"tape": "^5.2.2",
"uglify-js": "^3.13.10",
"watchify": "^4.0.0"
},
"eslintConfig": {
"extends": "mourner",
"rules": {
"no-unmodified-loop-condition": 0
}
},
"repository": {
"type": "git",
"url": "git://github.com/mapbox/earcut.git"
}
}