All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.package.json Maven / Gradle / Ivy

{
  "name": "earcut",
  "version": "2.2.2",
  "description": "The fastest and smallest JavaScript polygon triangulation library for your WebGL apps",
  "main": "src/earcut.js",
  "unpkg": "dist/earcut.dev.js",
  "jsdelivr": "dist/earcut.dev.js",
  "files": [
    "dist/earcut.min.js",
    "dist/earcut.dev.js"
  ],
  "scripts": {
    "test": "eslint src test/test.js && 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",
    "prepare": "npm run build-dev && npm run build-min",
    "cov": "istanbul cover test/*.js",
    "coveralls": "istanbul cover test/*.js && coveralls < ./coverage/lcov.info"
  },
  "author": "Vladimir Agafonkin",
  "license": "ISC",
  "devDependencies": {
    "benchmark": "^2.1.4",
    "browserify": "^16.5.0",
    "coveralls": "^3.0.6",
    "eslint": "^4.19.1",
    "eslint-config-mourner": "^2.0.3",
    "istanbul": "^0.4.5",
    "mkdirp": "^0.5.1",
    "tape": "^4.11.0",
    "uglify-js": "^3.6.0",
    "watchify": "^3.11.1"
  },
  "eslintConfig": {
    "extends": "mourner",
    "rules": {
      "no-unmodified-loop-condition": 0
    }
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/mapbox/earcut.git"
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy