mirror of
https://github.com/Turfjs/turf.git
synced 2025-12-08 20:26:16 +00:00
* Simplify nx config (no point separately caching es and js builds - they both need to be done for any code changes). Fix some no-op type definitions i.e. X extends any, and enforce templated property types as having to extend GeoJsonProperties throughout. * Upgrade typescript. Had to update topojson-* type defs to avoid the P = GeoJsonProperties problem in geojson-rbush. Also fix a couple of floating point precision related issues that eslint now apparently catches! * Retire tslint. * Upgrade eslint and prettier. Add minimal prettier config (defaults have changed) to avoid widespread, minor formatting changes (trailing commas mostly).
67 lines
1.6 KiB
JSON
67 lines
1.6 KiB
JSON
{
|
|
"name": "@turf/intersect",
|
|
"version": "7.0.0-alpha.2",
|
|
"description": "turf intersect module",
|
|
"author": "Turf Authors",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/Turfjs/turf/issues"
|
|
},
|
|
"homepage": "https://github.com/Turfjs/turf",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/Turfjs/turf.git"
|
|
},
|
|
"funding": "https://opencollective.com/turf",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"keywords": [
|
|
"turf",
|
|
"gis",
|
|
"intersect"
|
|
],
|
|
"main": "dist/js/index.js",
|
|
"module": "dist/es/index.js",
|
|
"exports": {
|
|
"./package.json": "./package.json",
|
|
".": {
|
|
"types": "./dist/js/index.d.ts",
|
|
"import": "./dist/es/index.js",
|
|
"require": "./dist/js/index.js"
|
|
}
|
|
},
|
|
"types": "dist/js/index.d.ts",
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"bench": "tsx bench.js",
|
|
"build": "npm-run-all --npm-path npm build:*",
|
|
"build:es": "tsc --outDir dist/es --module esnext --declaration false && echo '{\"type\":\"module\"}' > dist/es/package.json",
|
|
"build:js": "tsc",
|
|
"docs": "tsx ../../scripts/generate-readmes",
|
|
"test": "npm-run-all --npm-path npm test:*",
|
|
"test:tape": "tsx test.js",
|
|
"test:types": "tsc --esModuleInterop --noEmit --strict types.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@types/tape": "*",
|
|
"benchmark": "*",
|
|
"glob": "*",
|
|
"load-json-file": "*",
|
|
"npm-run-all": "*",
|
|
"tape": "*",
|
|
"tsx": "*",
|
|
"typescript": "*",
|
|
"write-json-file": "*"
|
|
},
|
|
"dependencies": {
|
|
"@turf/helpers": "^7.0.0-alpha.2",
|
|
"@turf/meta": "^7.0.0-alpha.2",
|
|
"polygon-clipping": "^0.15.3",
|
|
"tslib": "^2.3.0"
|
|
}
|
|
}
|