|
27 | 27 | "dev": "vite", |
28 | 28 | "build": "tsc -b && vite build", |
29 | 29 | "build-preview": "tsc -b && vite build --base=/", |
| 30 | + "build:lib": "vite build --config vite.lib.config.ts", |
| 31 | + "prepublishOnly": "yarn build:lib", |
30 | 32 | "lint": "eslint .", |
31 | 33 | "format": "prettier . --write", |
32 | 34 | "format:check": "prettier . --check", |
|
35 | 37 | }, |
36 | 38 | "dependencies": { |
37 | 39 | "@apidevtools/json-schema-ref-parser": "^15.3.5", |
38 | | - "@chakra-ui/react": "^3.35.0", |
39 | 40 | "@deck.gl/core": "^9.3.1", |
40 | 41 | "@deck.gl/layers": "^9.3.1", |
41 | 42 | "@deck.gl/mapbox": "^9.3.1", |
42 | 43 | "@developmentseed/deck.gl-geotiff": "^0.5.0", |
43 | 44 | "@developmentseed/proj": "^0.5.0", |
44 | 45 | "@devseed-ui/collecticons-chakra": "^4.0.0", |
45 | 46 | "@duckdb/duckdb-wasm": "^1.32.0", |
46 | | - "@emotion/react": "^11.13.5", |
47 | 47 | "@geoarrow/deck.gl-layers": "^0.3.2", |
48 | 48 | "@geoarrow/geoarrow-js": "github:smohiudd/geoarrow-js#feature/wkb", |
49 | | - "@tanstack/react-query": "^5.100.5", |
50 | 49 | "@turf/bbox": "^7.3.5", |
51 | 50 | "@turf/bbox-polygon": "^7.3.5", |
52 | 51 | "@turf/boolean-valid": "^7.3.5", |
|
55 | 54 | "deck.gl": "^9.3.1", |
56 | 55 | "duckdb-wasm-kit": "^0.1.38", |
57 | 56 | "geotiff-geokeys-to-proj4": "^2024.4.13", |
58 | | - "maplibre-gl": "^5.24.0", |
59 | 57 | "next-themes": "^0.4.3", |
60 | | - "oidc-client-ts": "^3.5.0", |
61 | | - "react": "^19.2.5", |
62 | | - "react-dom": "^19.2.5", |
63 | 58 | "react-error-boundary": "^6.1.1", |
64 | 59 | "react-icons": "^5.6.0", |
65 | | - "react-map-gl": "^8.1.1", |
66 | 60 | "react-markdown": "^10.1.0", |
67 | | - "react-oidc-context": "^3.3.1", |
68 | 61 | "shiki": "^4.0.2", |
69 | 62 | "stac-ts": "^1.0.5", |
70 | 63 | "stac-wasm": "^0.1.0", |
71 | 64 | "zustand": "^5.0.12" |
72 | 65 | }, |
73 | 66 | "devDependencies": { |
| 67 | + "@chakra-ui/react": "^3.35.0", |
| 68 | + "@emotion/react": "^11.13.5", |
74 | 69 | "@eslint/js": "^10.0.1", |
| 70 | + "@microsoft/api-extractor": "^7.58.7", |
| 71 | + "@tanstack/react-query": "^5.100.5", |
75 | 72 | "@types/geojson": "^7946.0.16", |
76 | 73 | "@types/react": "^19.2.14", |
77 | | - "@types/react-dom": "^19.1.2", |
| 74 | + "@types/react-dom": "^19.2.3", |
78 | 75 | "@vitejs/plugin-react": "^6.0.1", |
79 | 76 | "@vitest/browser": "^4.1.5", |
80 | 77 | "@vitest/browser-playwright": "^4.1.5", |
|
84 | 81 | "eslint-plugin-react-hooks": "^7.1.1", |
85 | 82 | "eslint-plugin-react-refresh": "^0.5.2", |
86 | 83 | "globals": "^17.5.0", |
| 84 | + "maplibre-gl": "^5.24.0", |
| 85 | + "oidc-client-ts": "^3.5.0", |
87 | 86 | "playwright": "^1.59.1", |
88 | 87 | "prettier": "^3.8.3", |
89 | 88 | "prettier-plugin-organize-imports": "^4.1.0", |
| 89 | + "react": "^19.2.5", |
| 90 | + "react-dom": "^19.2.5", |
| 91 | + "react-map-gl": "^8.1.1", |
| 92 | + "react-oidc-context": "^3.3.1", |
90 | 93 | "rollup": "^4.60.2", |
91 | 94 | "semantic-release": "^25.0.3", |
92 | 95 | "typescript": "~6.0.3", |
93 | 96 | "typescript-eslint": "^8.59.1", |
94 | 97 | "vite": "^8.0.10", |
| 98 | + "vite-plugin-dts": "^5.0.0", |
95 | 99 | "vite-plugin-top-level-await": "^1.5.0", |
96 | 100 | "vite-plugin-wasm": "^3.6.0", |
97 | 101 | "vitest": "^4.1.5", |
98 | 102 | "vitest-browser-react": "^2.2.0" |
99 | 103 | }, |
100 | 104 | "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e", |
101 | | - "main": "eslint.config.js", |
| 105 | + "main": "./dist/lib.js", |
| 106 | + "module": "./dist/lib.js", |
| 107 | + "types": "./dist/lib.d.ts", |
| 108 | + "exports": { |
| 109 | + ".": { |
| 110 | + "types": "./dist/lib.d.ts", |
| 111 | + "import": "./dist/lib.js" |
| 112 | + }, |
| 113 | + "./style.css": "./dist/style.css" |
| 114 | + }, |
| 115 | + "files": [ |
| 116 | + "dist" |
| 117 | + ], |
| 118 | + "sideEffects": [ |
| 119 | + "**/*.css" |
| 120 | + ], |
| 121 | + "peerDependencies": { |
| 122 | + "@chakra-ui/react": "^3.35.0", |
| 123 | + "@emotion/react": "^11.13.5", |
| 124 | + "@tanstack/react-query": "^5.100.5", |
| 125 | + "maplibre-gl": "^5.24.0", |
| 126 | + "oidc-client-ts": "^3.5.0", |
| 127 | + "react": "^19.2.5", |
| 128 | + "react-dom": "^19.2.5", |
| 129 | + "react-map-gl": "^8.1.1", |
| 130 | + "react-oidc-context": "^3.3.1" |
| 131 | + }, |
| 132 | + "peerDependenciesMeta": { |
| 133 | + "oidc-client-ts": { |
| 134 | + "optional": true |
| 135 | + }, |
| 136 | + "react-oidc-context": { |
| 137 | + "optional": true |
| 138 | + } |
| 139 | + }, |
102 | 140 | "directories": { |
103 | 141 | "doc": "docs", |
104 | 142 | "test": "tests" |
|
0 commit comments