geoai 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,79 @@
1
+ {
2
+ "name": "geoai",
3
+ "version": "0.0.7",
4
+ "description": "A JavaScript library for running Geo AI models in frontend applications",
5
+ "keywords": [
6
+ "geoai",
7
+ "geospatial",
8
+ "ai",
9
+ "machine-learning",
10
+ "satellite-imagery",
11
+ "object-detection",
12
+ "segmentation",
13
+ "javascript",
14
+ "typescript"
15
+ ],
16
+ "author": "Decision Labs",
17
+ "license": "MIT",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git@github.com:decision-labs/geobase.js-geoai.git"
21
+ },
22
+ "homepage": "https://docs.geobase.app/geoaijs",
23
+ "bugs": "https://github.com/decision-labs/geobase.js-geoai/issues",
24
+ "files": [
25
+ "@geobase.js",
26
+ "assets",
27
+ "*.d.ts",
28
+ "README.md",
29
+ "LICENSE.md",
30
+ "CHANGELOG.md"
31
+ ],
32
+ "main": "./@geobase.js/geoai.js",
33
+ "module": "./@geobase.js/geoai.js",
34
+ "unpkg": "./@geobase.js/geoai.js",
35
+ "jsdelivr": "./@geobase.js/geoai.js",
36
+ "type": "module",
37
+ "exports": {
38
+ ".": {
39
+ "import": "./@geobase.js/geoai.js",
40
+ "types": "./index.d.ts"
41
+ },
42
+ "./dist": {
43
+ "import": "./@geobase.js/geoai.js"
44
+ }
45
+ },
46
+ "types": "./index.d.ts",
47
+ "peerDependencies": {
48
+ "@huggingface/transformers": "^3.7.2",
49
+ "@techstark/opencv-js": "^4.10.0-release.1",
50
+ "onnxruntime-web": "^1.21.0"
51
+ },
52
+ "scripts": {
53
+ "dev": "vite --host",
54
+ "build": "rimraf build/**/* && pnpm build:core && pnpm build:types && pnpm build:package",
55
+ "prepublish:prep": "node ./scripts/prepare-publish.mjs",
56
+ "publish:build": "cd build && npm publish --access public --ignore-scripts",
57
+ "publish:pkg": "pnpm prepublish:prep && pnpm publish:build",
58
+ "build:core": "tsc && vite build",
59
+ "build:types": "dts-bundle-generator --config ./dts-bundle-generator.config.ts",
60
+ "build:package": "copyfiles ./package.json build",
61
+ "build:examples": "pnpm build && cp -r ./build ./examples/codepen-geobase",
62
+ "test": "vitest",
63
+ "test:coverage": "vitest --coverage",
64
+ "test:build": "pnpm run build && vitest run test/build.test.ts",
65
+ "lint:scripts": "eslint . --ext .ts",
66
+ "lint:styles": "stylelint ./**/*.{css,scss}",
67
+ "format:scripts": "prettier . --write",
68
+ "format:styles": "stylelint ./**/*.{css,scss} --fix",
69
+ "format": "npm run format:scripts && npm run format:styles",
70
+ "uninstall-husky": "npm uninstall husky --no-save && git config --unset core.hooksPath && npx rimraf .husky"
71
+ },
72
+ "dependencies": {
73
+ "@turf/bbox": "^7.2.0",
74
+ "@turf/bbox-polygon": "^7.2.0",
75
+ "global-mercator": "github:decision-labs/global-mercator",
76
+ "node-fetch": "^3.3.2"
77
+ },
78
+ "packageManager": "pnpm@9.15.1+sha512.1acb565e6193efbebda772702950469150cf12bcc764262e7587e71d19dc98a423dff9536e57ea44c49bdf790ff694e83c27be5faa23d67e0c033b583be4bfcf"
79
+ }