UNPKG

ol-mapbox-style

Version:

Create OpenLayers maps from Mapbox Style objects

94 lines (93 loc) 3.02 kB
{ "name": "ol-mapbox-style", "version": "12.5.0", "description": "Create OpenLayers maps from Mapbox Style objects", "type": "module", "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": "^23.1.0", "mapbox-to-css-font": "^3.0.2" }, "peerDependencies": { "ol": "*" }, "devDependencies": { "@jsdevtools/coverage-istanbul-loader": "^3.0.5", "@openlayers/eslint-plugin": "^4.0.0", "@rollup/plugin-commonjs": "^26.0.1", "@rollup/plugin-node-resolve": "^16.0.0", "@rollup/plugin-terser": "^0.4.4", "@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": "^12.0.2", "cross-env": "^7.0.3", "css-loader": "^7.0.0", "deep-freeze": "0.0.1", "eslint": "^9.19.0", "eslint-config-openlayers": "^20.0.0", "globals": "^15.14.0", "html-webpack-plugin": "^5.5.0", "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.4.4", "mocha": "^11.1.0", "nanoassert": "^2.0.0", "pmtiles-protocol": "^1.0.5", "proj4": "^2.15.0", "puppeteer": "^24.2.0", "rollup": "^4.34.6", "should": "^13.2.3", "sinon": "^18.0.0", "style-loader": "^4.0.0", "typedoc": "^0.27.6", "typedoc-plugin-markdown": "^4.4.1", "typedoc-plugin-missing-exports": "^3.1.0", "typescript": "^5.7.3", "webpack": "^5.62.1", "webpack-cli": "^6.0.1", "webpack-dev-server": "^5.0.4" } }