UNPKG

ol-mapbox-style

Version:

Create OpenLayers layers or maps from Mapbox/MapLibre styles

94 lines (93 loc) 3.05 kB
{ "name": "ol-mapbox-style", "version": "13.4.1", "description": "Create OpenLayers layers or maps from Mapbox/MapLibre styles", "type": "module", "funding": "https://github.com/sponsors/ahocevar", "browser": "src/index.js", "main": "dist/olms.js", "module": "src/index.js", "types": "dist/index.d.ts", "exports": { ".": { "import": "./src/index.js", "require": "./dist/olms.js", "types": "./dist/index.d.ts" } }, "repository": { "type": "git", "url": "https://github.com/openlayers/ol-mapbox-style.git" }, "bugs": { "url": "https://github.com/openlayers/ol-mapbox-style/issues" }, "homepage": "https://openlayers.org/ol-mapbox-style/", "keywords": [ "openlayers", "mapbox", "maplibre", "vector tiles" ], "license": "BSD-2-Clause", "scripts": { "start": "webpack serve --config ./webpack.config.examples.cjs", "prepare": "npm run doc && npm run build", "build": "tsc --project tsconfig-build.json && rollup -c && webpack-cli --mode=production --config ./webpack.config.examples.cjs", "doc": "typedoc --plugin typedoc-plugin-missing-exports src/index.js --excludeExternals --tsconfig tsconfig-typecheck.json --out ./_site", "karma": "karma start test/karma.conf.cjs", "lint": "eslint test examples src", "typecheck": "tsc --project tsconfig-typecheck.json", "pretest": "npm run lint && npm run typecheck", "test": "npm run karma -- --single-run --log-level error" }, "dependencies": { "@maplibre/maplibre-gl-style-spec": "^24.4.1", "mapbox-to-css-font": "^3.2.0" }, "peerDependencies": { "ol": "*" }, "devDependencies": { "@jsdevtools/coverage-istanbul-loader": "^3.0.5", "@openlayers/eslint-plugin": "^4.0.0", "@rollup/plugin-commonjs": "^29.0.0", "@rollup/plugin-node-resolve": "^16.0.0", "@rollup/plugin-terser": "^1.0.0", "@types/arcgis-rest-api": "^10.4.4", "@types/mocha": "^10.0.0", "@types/offscreencanvas": "^2019.6.4", "@types/topojson-specification": "^1.0.1", "copy-webpack-plugin": "^14.0.0", "cross-env": "^10.1.0", "css-loader": "^7.0.0", "deep-freeze": "0.0.1", "eslint": "^10.1.0", "eslint-config-openlayers": "^21.0.0", "globals": "^17.3.0", "html-webpack-plugin": "^5.6.6", "karma": "^6.4.4", "karma-chrome-launcher": "^3.2.0", "karma-coverage-istanbul-reporter": "^3.0.3", "karma-mocha": "^2.0.1", "karma-sourcemap-loader": "^0.4.0", "karma-webpack": "^5.0.0", "mapbox-gl-styles": "^2.0.2", "mini-css-extract-plugin": "^2.10.0", "mocha": "^12.0.0-beta-9.2", "nanoassert": "^3.0.1", "pmtiles-protocol": "^1.0.5", "proj4": "^2.15.0", "puppeteer": "^24.36.0", "rollup": "^4.57.1", "should": "^13.2.3", "sinon": "^21.0.0", "style-loader": "^4.0.0", "typedoc": "^0.28.3", "typedoc-plugin-missing-exports": "^4.0.0", "typescript": "^6.0.2", "webpack": "^5.105.0", "webpack-cli": "^6.0.1", "webpack-dev-server": "^5.2.3" } }