123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- {
- "name": "d3-polygon",
- "version": "3.0.1",
- "description": "Operations for two-dimensional polygons.",
- "homepage": "https://d3js.org/d3-polygon/",
- "repository": {
- "type": "git",
- "url": "https://github.com/d3/d3-polygon.git"
- },
- "keywords": [
- "d3",
- "d3-module",
- "polygon",
- "hull",
- "geometry",
- "graphics"
- ],
- "license": "ISC",
- "author": {
- "name": "Mike Bostock",
- "url": "http://bost.ocks.org/mike"
- },
- "type": "module",
- "files": [
- "dist/**/*.js",
- "src/**/*.js"
- ],
- "module": "src/index.js",
- "main": "src/index.js",
- "jsdelivr": "dist/d3-polygon.min.js",
- "unpkg": "dist/d3-polygon.min.js",
- "exports": {
- "umd": "./dist/d3-polygon.min.js",
- "default": "./src/index.js"
- },
- "sideEffects": false,
- "devDependencies": {
- "eslint": "7",
- "mocha": "8",
- "rollup": "2",
- "rollup-plugin-terser": "7"
- },
- "scripts": {
- "test": "mocha 'test/**/*-test.js' && eslint src test",
- "prepublishOnly": "rm -rf dist && yarn test && rollup -c",
- "postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../${npm_package_name}/dist/${npm_package_name}.js ${npm_package_name}.v${npm_package_version%%.*}.js && cp ../${npm_package_name}/dist/${npm_package_name}.min.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git add ${npm_package_name}.v${npm_package_version%%.*}.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git commit -m \"${npm_package_name} ${npm_package_version}\" && git push && cd -"
- },
- "engines": {
- "node": ">=12"
- }
- }
|