|
| 1 | +{ |
| 2 | + "name": "open-react-map", |
| 3 | + "version": "0.5.0", |
| 4 | + "license": "LGPL-3.0-or-later", |
| 5 | + |
| 6 | + "description": "Compatible Map component supports Geo services with Freedom or Open API, based on TypeScript, MobX & React.", |
| 7 | + "keywords": [ |
| 8 | + "map", |
| 9 | + "geo", |
| 10 | + "lbs", |
| 11 | + "compatibility", |
| 12 | + "free", |
| 13 | + "open", |
| 14 | + "typescript", |
| 15 | + "mobx", |
| 16 | + "react" |
| 17 | + ], |
| 18 | + "homepage": "https://idea2app.github.io/OpenReactMap/", |
| 19 | + "repository": { |
| 20 | + "type": "git", |
| 21 | + "url": "git+https://github.com/idea2app/OpenReactMap.git" |
| 22 | + }, |
| 23 | + "bugs": { |
| 24 | + "url": "https://github.com/idea2app/OpenReactMap/issues" |
| 25 | + }, |
| 26 | + "source": "source/index.ts", |
| 27 | + "types": "dist/index.d.ts", |
| 28 | + "module": "dist/index.esm.js", |
| 29 | + "main": "dist/index.js", |
| 30 | + "dependencies": { |
| 31 | + "@swc/helpers": "^0.5.1", |
| 32 | + "@types/leaflet": "^1.9.3", |
| 33 | + "koajax": "^0.8.6", |
| 34 | + "leaflet": "^1.9.4", |
| 35 | + "mobx-react-helper": "^0.2.3", |
| 36 | + "react-leaflet": "^3.2.5", |
| 37 | + "web-utility": "^4.1.0" |
| 38 | + }, |
| 39 | + "peerDependencies": { |
| 40 | + "mobx": ">=4", |
| 41 | + "mobx-react": ">=6", |
| 42 | + "react": ">=16 <18", |
| 43 | + "react-dom": ">=16 <18" |
| 44 | + }, |
| 45 | + "devDependencies": { |
| 46 | + "@parcel/packager-ts": "~2.9.3", |
| 47 | + "@parcel/transformer-typescript-types": "~2.9.3", |
| 48 | + "@types/react": "^17.0.65", |
| 49 | + "@types/react-dom": "^17.0.20", |
| 50 | + "husky": "^8.0.3", |
| 51 | + "idea-react": "^1.0.0-rc.21", |
| 52 | + "koapache": "^2.2.2", |
| 53 | + "lint-staged": "^14.0.1", |
| 54 | + "mobx": "^6.10.0", |
| 55 | + "mobx-react": "^9.0.0", |
| 56 | + "parcel": "^2.9.3", |
| 57 | + "prettier": "^3.0.2", |
| 58 | + "prismjs": "^1.29.0", |
| 59 | + "process": "^0.11.10", |
| 60 | + "react": "^17.0.2", |
| 61 | + "react-bootstrap": "^2.8.0", |
| 62 | + "react-dom": "^17.0.2", |
| 63 | + "typedoc": "^0.25.0", |
| 64 | + "typedoc-plugin-mdn-links": "^3.1.0", |
| 65 | + "typescript": "^5.2.2" |
| 66 | + }, |
| 67 | + "prettier": { |
| 68 | + "singleQuote": true, |
| 69 | + "trailingComma": "none", |
| 70 | + "arrowParens": "avoid", |
| 71 | + "tabWidth": 4 |
| 72 | + }, |
| 73 | + "lint-staged": { |
| 74 | + "*.{md,json,yml,ts,tsx}": "prettier --write" |
| 75 | + }, |
| 76 | + "browserslist": "> 0.5%, last 2 versions, not dead, IE 11", |
| 77 | + "targets": { |
| 78 | + "main": { |
| 79 | + "optimize": true |
| 80 | + } |
| 81 | + }, |
| 82 | + "scripts": { |
| 83 | + "prepare": "husky install", |
| 84 | + "test": "lint-staged", |
| 85 | + "preview": "cd preview/ && rm -rf ../.parcel-cache dist/ && parcel --open", |
| 86 | + "pack-preview": "cd preview/ && rm -rf ../.parcel-cache dist/ && parcel build --public-url=. --dist-dir=../docs/preview/", |
| 87 | + "pack-docs": "rm -rf docs/ && typedoc source/", |
| 88 | + "pack-dist": "rm -rf .parcel-cache/ dist/ && parcel build", |
| 89 | + "start": "npm run pack-docs && npm run pack-preview && web-server docs/ -p 8080 -o", |
| 90 | + "build": "npm run pack-docs && npm run pack-preview && npm run pack-dist", |
| 91 | + "prepublishOnly": "npm test && npm run build" |
| 92 | + } |
| 93 | +} |
0 commit comments