95 lines
3.3 KiB
JSON
95 lines
3.3 KiB
JSON
{
|
|
"name": "@maplibre/maplibre-gl-style-spec",
|
|
"description": "a specification for maplibre styles",
|
|
"version": "24.2.0",
|
|
"author": "MapLibre",
|
|
"keywords": [
|
|
"mapbox",
|
|
"mapbox-gl",
|
|
"mapbox-gl-js",
|
|
"maplibre",
|
|
"maplibre-gl",
|
|
"maplibre-gl-js"
|
|
],
|
|
"license": "ISC",
|
|
"homepage": "https://maplibre.org/maplibre-style-spec/",
|
|
"main": "./dist/index.cjs",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "rollup --configPlugin @rollup/plugin-typescript -c rollup.config.ts && cp ./src/reference/v8.json ./dist/latest.json",
|
|
"generate-style-spec": "node --no-warnings --loader ts-node/esm build/generate-style-spec.ts",
|
|
"generate-typings": "dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts",
|
|
"generate-docs": "node ${WATCH+--watch} --no-warnings --loader ts-node/esm build/generate-docs.ts",
|
|
"mkdocs": "docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material",
|
|
"mkdocs-build": "npm run generate-docs && docker run --rm -v ${PWD}:/docs squidfunk/mkdocs-material build --strict",
|
|
"test": "vitest",
|
|
"test-unit": "vitest run --config vitest.config.unit.ts",
|
|
"test-unit-ci": "vitest run --config vitest.config.unit.ts --coverage",
|
|
"test-integration": "vitest run --config vitest.config.integration.ts",
|
|
"test-integration-ci": "vitest run --config vitest.config.integration.ts --coverage",
|
|
"test-build": "vitest run --config vitest.config.build.ts",
|
|
"test-build-ci": "vitest run --config vitest.config.build.ts --coverage",
|
|
"test-watch-roots": "vitest --config vitest.config.unit.ts --watch",
|
|
"compile": "tsc",
|
|
"lint": "eslint",
|
|
"typecheck": "tsc --noEmit",
|
|
"prepare": "npm run generate-style-spec"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:maplibre/maplibre-gl-style-spec.git"
|
|
},
|
|
"bin": {
|
|
"gl-style-migrate": "dist/gl-style-migrate.mjs",
|
|
"gl-style-validate": "dist/gl-style-validate.mjs",
|
|
"gl-style-format": "dist/gl-style-format.mjs"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src",
|
|
"bin"
|
|
],
|
|
"dependencies": {
|
|
"@mapbox/jsonlint-lines-primitives": "~2.0.2",
|
|
"@mapbox/unitbezier": "^0.0.1",
|
|
"json-stringify-pretty-compact": "^4.0.0",
|
|
"minimist": "^1.2.8",
|
|
"quickselect": "^3.0.0",
|
|
"rw": "^1.3.3",
|
|
"tinyqueue": "^3.0.0"
|
|
},
|
|
"sideEffects": false,
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
"@rollup/plugin-json": "^6.1.0",
|
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
"@rollup/plugin-replace": "^6.0.2",
|
|
"@rollup/plugin-strip": "^3.0.4",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@rollup/plugin-typescript": "^12.1.4",
|
|
"@stylistic/eslint-plugin": "^5.4.0",
|
|
"@types/eslint": "^9.6.1",
|
|
"@types/geojson": "^7946.0.16",
|
|
"@types/node": "^24.5.2",
|
|
"@typescript-eslint/eslint-plugin": "^8.44.0",
|
|
"@typescript-eslint/parser": "^8.42.0",
|
|
"@vitest/coverage-v8": "3.2.4",
|
|
"@vitest/eslint-plugin": "^1.3.12",
|
|
"@vitest/ui": "3.2.4",
|
|
"dts-bundle-generator": "^9.5.1",
|
|
"eslint": "^9.36.0",
|
|
"eslint-plugin-jsdoc": "^60.1.0",
|
|
"glob": "^11.0.3",
|
|
"globals": "^16.4.0",
|
|
"rollup": "^4.52.0",
|
|
"rollup-plugin-preserve-shebang": "^1.0.1",
|
|
"semver": "^7.7.2",
|
|
"ts-node": "^10.9.2",
|
|
"tslib": "^2.8.1",
|
|
"typescript": "^5.9.2",
|
|
"vitest": "3.2.4"
|
|
}
|
|
}
|