UNPKG

leaflet.offline

Version:
90 lines (89 loc) 2.75 kB
{ "name": "leaflet.offline", "version": "3.1.0", "description": "Offline tilelayer for leaflet", "main": "dist/bundle.js", "engines": { "node": ">=16" }, "types": "dist/types/src/index.d.ts", "scripts": { "type-check": "tsc --noEmit", "docs": "typedoc --plugin typedoc-plugin-markdown --out docs/typedoc src/index.ts", "build": "rm -rf dist && rollup -c", "lint": "eslint && prettier --check \"./(src|test)/**/*.ts\"", "lint:fix": "eslint --fix src test", "format": "eslint --fix src test && prettier -w \"./(src|test)/**/*.ts\"", "test": "karma start", "test:watch": "karma start --no-single-run", "watch": "rollup -c -w", "preversion": "./node_modules/karma/bin/karma start --single-run", "prepare": "husky || true", "prepublishOnly": "npm run build && npx husky install" }, "repository": { "type": "git", "url": "git+https://github.com/allartk/leaflet.offline.git" }, "keywords": [ "leaflet", "offline" ], "author": "Allart Kooiman", "license": "ISC", "bugs": { "url": "https://github.com/allartk/leaflet.offline/issues" }, "homepage": "https://github.com/allartk/leaflet.offline#readme", "devDependencies": { "@commitlint/cli": "^19.3.0", "@commitlint/config-conventional": "^19.2.2", "@rollup/plugin-commonjs": "^25.0.2", "@rollup/plugin-node-resolve": "^15.0.2", "@rollup/plugin-typescript": "^11.1.5", "@types/geojson": "^7946.0.8", "@types/karma-chai": "^0.1.3", "@types/karma-chai-sinon": "^0.1.16", "@types/leaflet": "^1.7.9", "@types/mocha": "^10.0.7", "@types/sinon": "^17.0.3", "@typescript-eslint/eslint-plugin": "^5.13.0", "@typescript-eslint/parser": "^5.13.0", "chai": "^4.2.0", "eslint": "^8.11.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-typescript": "^17.0.0", "eslint-config-prettier": "^9.0.0", "fetch-mock": "^9.11.0", "husky": "^9.0.11", "karma": "^6.4.2", "karma-chai": "^0.1.0", "karma-coverage": "^2.2.1", "karma-firefox-launcher": "^2.1.2", "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.5", "karma-rollup-preprocessor": "^7.0.5", "leaflet": "^1.7.1", "leaflet.vectorgrid": "^1.1.0", "lint-staged": "^15.0.2", "mocha": "^10.6.0", "npm-run-all": "^4.1.5", "prettier": "^3.0.3", "rollup": "^3.20.2", "rollup-plugin-istanbul": "^5.0.0", "sinon": "^18.0.0", "typedoc": "^0.26.4", "typedoc-plugin-markdown": "^3.11.14", "typescript": "^5.0.4" }, "lint-staged": { "src/**/*.js": [ "eslint --cache --fix", "prettier --write" ] }, "dependencies": { "idb": "^7.1.1", "leaflet": "^1.6.0" } }