webgl-network-view 0.0.0-stage → 0.1.0

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 CHANGED
@@ -1,6 +1,42 @@
1
- {
2
- "name": "webgl-network-view",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
1
+ {
2
+ "name": "webgl-network-view",
3
+ "version": "0.1.0",
4
+ "description": "WebGL2 矢量视图:点、线与 GeoJSON / 图片背景层,可选鹰眼图与图例,点击 / 双击 / 拖拽可配置",
5
+ "type": "module",
6
+ "scripts": {
7
+ "dev": "vite",
8
+ "build": "tsc && vite build",
9
+ "build:lib": "tsc && node scripts/clean-dist.mjs && vite build --config vite.config.lib.js && node scripts/obfuscate-dist.mjs && node scripts/copy-types.mjs",
10
+ "prepack": "npm run build:lib",
11
+ "pack:lib": "npm pack --dry-run",
12
+ "preview": "vite preview",
13
+ "check:docs": "node docs/steps/check-doc-coverage.mjs && node docs/steps/check-doc-truth.mjs && node docs/steps/check-sample-fields.mjs && node docs/steps/check-doc-center.mjs"
14
+ },
15
+ "main": "./dist/index.cjs",
16
+ "module": "./dist/index.js",
17
+ "types": "./dist/index.d.ts",
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/index.d.ts",
21
+ "import": "./dist/index.js",
22
+ "require": "./dist/index.cjs",
23
+ "default": "./dist/index.js"
24
+ },
25
+ "./style.css": "./dist/gis-view.css"
26
+ },
27
+ "files": [
28
+ "dist",
29
+ "README.md"
30
+ ],
31
+ "sideEffects": [
32
+ "**/*.css"
33
+ ],
34
+ "devDependencies": {
35
+ "@vitejs/plugin-vue": "^6.0.5",
36
+ "javascript-obfuscator": "^5.6.0",
37
+ "typescript": "~6.0.2",
38
+ "vite": "^8.2.2",
39
+ "vite-plugin-lib-inject-css": "^2.2.2",
40
+ "vue": "^3.5.32"
41
+ }
6
42
  }