UNPKG

@maplibre/maplibre-gl-style-spec

Version:
94 lines (93 loc) 3.32 kB
{ "name": "@maplibre/maplibre-gl-style-spec", "description": "a specification for maplibre styles", "version": "25.0.1", "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": "npm run generate-style-spec && rolldown -c rolldown.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": "cross-env BUILD=types rolldown -c rolldown.config.ts", "generate-docs": "node ${WATCH+--watch} --no-warnings --loader ts-node/esm build/generate-docs.ts", "start-docs": "docker run --rm -v ${PWD}:/docs zensical/zensical serve --open", "docs": "npm run generate-docs && docker run --rm -v ${PWD}:/docs zensical/zensical build", "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": "npm run build && tsgo --noEmit && tsgo --project tsconfig.dist.json", "prepare": "npm run generate-style-spec", "fmt": "oxfmt" }, "repository": { "type": "git", "url": "https://github.com/maplibre/maplibre-style-spec" }, "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.3", "@mapbox/unitbezier": "^1.0.0", "json-stringify-pretty-compact": "^4.0.0", "minimist": "^1.2.8", "quickselect": "^3.0.0", "tinyqueue": "^3.0.0" }, "sideEffects": false, "devDependencies": { "oxfmt": "^0.56.0", "@rollup/plugin-replace": "^6.0.3", "@rollup/plugin-strip": "^3.0.4", "@rollup/plugin-terser": "^1.0.0", "@types/eslint": "^9.6.1", "@types/geojson": "^7946.0.16", "@types/node": "^26.0.1", "@typescript-eslint/eslint-plugin": "^8.62.0", "@typescript-eslint/parser": "^8.62.0", "@typescript/native-preview": "beta", "@vitest/coverage-v8": "4.1.9", "@vitest/eslint-plugin": "^1.6.20", "@vitest/ui": "4.1.9", "cross-env": "^10.1.0", "eslint": "^10.6.0", "eslint-plugin-jsdoc": "^63.0.10", "glob": "^13.0.6", "globals": "^17.7.0", "rolldown": "^1.1.3", "rolldown-plugin-dts": "^0.26.0", "rollup": "^4.62.2", "rollup-plugin-preserve-shebang": "^1.0.1", "semver": "^7.8.5", "ts-node": "^10.9.2", "tslib": "^2.8.1", "typescript": "^6.0.3", "vitest": "4.1.9" } }