-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
160 lines (160 loc) · 6.91 KB
/
package.json
File metadata and controls
160 lines (160 loc) · 6.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "mapguide-react-layout",
"version": "0.15.0-pre.24",
"description": "A modern react-based map viewer for MapGuide",
"scripts": {
"prebuild": "yarn run clean",
"build": "yarn run clean:barrels && yarn run build:apidoc_npm && yarn run build:npm && yarn run build:bundle && yarn run build:storybook",
"build:bundle": "yarn run clean:viewer && yarn run clean:barrels && yarn run build:debug:inner && yarn run build:prod:inner && bestzip viewer.zip viewer/",
"build:storybook": "rimraf ./storybook.zip && rimraf ./storybook-static && storybook build -c .storybook && bestzip storybook.zip storybook-static/",
"build:sprite": "glue stdassets/images/icons stdassets/sprites --html --png8 --sprite-namespace= --namespace=",
"build:docs_sprite": "glue stdassets/images/icons docs_output --html --png8 --sprite-namespace= --namespace=",
"build:barrels": "rimraf src/index.ts && barrelsby -d src --exclude src/entries --exclude src/stories",
"build:dts": "rimraf index.d.ts && rimraf package && node tools/prepare-package.js && tsc --p tsconfig.dts.json",
"build:npm": "rimraf package && node tools/prepare-package.js && tsc --p tsconfig.npm.json",
"build:site": "copyfiles docs_dev/content/** docs_output",
"build:apidoc_npm_inner": "rimraf ./docs_output/latest/apidoc_npm && typedoc --options typedoc.json --plugin typedoc-plugin-ga --plugin typedoc-plugin-merge-modules",
"build:apidoc_npm": "yarn run build:apidoc_npm_inner && bestzip apidocs.zip docs_output/",
"build:prod": "yarn run clean:viewer && yarn run build:prod:inner",
"build:prod:inner": "vite build --mode production",
"build:debug": "yarn run clean:viewer && yarn run build:debug:inner",
"build:debug:inner": "cross-env DEBUG_BUILD=1 vite build --mode development",
"build:dev": "yarn run clean:viewer && yarn run build:dev:inner",
"build:dev:inner": "vite build --mode development",
"analyze:prod": "cross-env ANALYZE=1 yarn run build:prod:inner",
"build:json_schema": "typescript-json-schema tsconfig.npm.json ApplicationDefinition --out viewer/ApplicationDefinition.schema.json",
"clean:barrels": "rimraf src/index.ts",
"clean:viewer": "rimraf viewer/dist",
"watch:site": "docsify serve docs_dev/content",
"watch:dev": "yarn run clean:viewer && yarn run clean:barrels && vite build --watch --mode development",
"watch:test": "vitest watch",
"stats:prod": "vite build --mode production --debug > vite_stats_prod.log",
"stats:dev": "vite build --mode development --debug > vite_stats_dev.log",
"clean": "yarn run clean:viewer && rimraf package/ && rimraf lib/",
"lint": "tslint 'src/**/*.tsx' 'src/**/*.ts' 'test/**/*.tsx' 'test/**/*.ts'",
"postinstall": "patch-package && yarn run build",
"storybook": "storybook dev -p 4000 -c .storybook",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:gha": "yarn run test:coverage && cat ./coverage-report/lcov.info",
"ci:gha": "yarn run lint && yarn run test:gha",
"i18n:check": "tsx tools/i18n-tools.ts",
"i18n:translate": "tsx tools/i18n-tools.ts --translate",
"test:visual": "cross-env TZ=UTC LANG=C.UTF-8 test-storybook --config-dir .storybook --url http://localhost:4000 --excludeTags no-visual-regression",
"test:visual:ci": "cross-env TZ=UTC LANG=C.UTF-8 storybook build -c .storybook && concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"python3 -m http.server 4000 --directory storybook-static\" \"wait-on http://localhost:4000/iframe.html && yarn test:visual\"",
"test:visual:update": "cross-env TZ=UTC LANG=C.UTF-8 test-storybook --config-dir .storybook --url http://localhost:4000 --excludeTags no-visual-regression -u",
"capture:story": "tsx tools/capture-story.ts",
"mcp:storybook": "tsx tools/capture-story.ts --mcp"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jumpinjackie/mapguide-react-layout.git"
},
"keywords": [
"mapguide",
"gis",
"viewer"
],
"author": "Jackie Ng",
"license": "MIT",
"bugs": {
"url": "https://github.com/jumpinjackie/mapguide-react-layout/issues"
},
"homepage": "https://github.com/jumpinjackie/mapguide-react-layout#readme",
"dependencies": {
"@reduxjs/toolkit": "^2.11.2",
"colorbrewer": "^1.6.1",
"dompurify": "^3.4.0",
"geojson-vt": "^4.0.2",
"jspdf": "^4.0.0",
"lodash.debounce": "^4.0.8",
"lodash.xor": "^4.5.0",
"lodash.xorby": "^4.7.0",
"ol": "^10.9.0",
"papaparse": "^5.5.3",
"proj4": "2.20.8",
"react": "^17.0.2",
"react-colorful": "^5.6.1",
"react-dom": "^17.0.2",
"react-hot-toast": "2.6.0",
"react-redux": "^8.1.3",
"react-rnd": "^10.5.2",
"react-tiny-popover": "8.1.6",
"stickybits": "3.7.11",
"tslib": "^2.8.1"
},
"devDependencies": {
"@blueprintjs/core": "^3.54.0",
"@modelcontextprotocol/sdk": "1.29.0",
"@playwright/test": "1.59.1",
"@storybook/addon-actions": "^8.6.18",
"@storybook/addon-docs": "^8.6.18",
"@storybook/addon-knobs": "^8.0.1",
"@storybook/addon-links": "^8.6.18",
"@storybook/addon-viewport": "^8.6.18",
"@storybook/blocks": "^8.6.18",
"@storybook/components": "^8.6.18",
"@storybook/core-events": "^8.6.18",
"@storybook/manager-api": "^8.6.18",
"@storybook/react": "^8.6.18",
"@storybook/react-vite": "^8.6.18",
"@storybook/test": "^8.6.18",
"@storybook/test-runner": "0.24.3",
"@storybook/theming": "^8.6.18",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^12.1.5",
"@types/dompurify": "^3.2.0",
"@types/geojson": "7946.0.16",
"@types/lodash.debounce": "4.0.9",
"@types/lodash.xor": "4.5.9",
"@types/lodash.xorby": "4.7.9",
"@types/react": "17.0.91",
"@types/react-dom": "17.0.26",
"@vitejs/plugin-react": "^6.0.2",
"@vitest/coverage-v8": "3.2.4",
"@welldone-software/why-did-you-render": "^7.0.1",
"barrelsby": "2.8.1",
"bestzip": "2.2.3",
"concurrently": "9.2.1",
"copyfiles": "2.4.1",
"coveralls": "3.1.1",
"cross-env": "10.1.0",
"docsify-cli": "4.4.4",
"jest-image-snapshot": "6.5.2",
"jsdom": "^26.1.0",
"jsonfile": "6.2.1",
"patch-package": "^8.0.0",
"raf": "^3.4.1",
"react-test-renderer": "17.0.2",
"rimraf": "6.1.3",
"rollup-plugin-visualizer": "^7.0.1",
"storybook": "8.6.18",
"translate": "^3.0.1",
"tslint": "6.1.3",
"tsx": "^4.21.0",
"typedoc": "0.28.19",
"typedoc-plugin-ga": "^1.1.1",
"typedoc-plugin-merge-modules": "7.0.0",
"typescript": "5.9.3",
"typescript-json-schema": "^0.67.1",
"vite": "^8.0.14",
"vitest": "3.2.6",
"wait-on": "9.0.5"
},
"engines": {
"node": ">=18"
},
"packageManager": "yarn@4.14.1",
"peerDependencies": {
"@blueprintjs/core": "^3.54.0",
"@blueprintjs/icons": "^3.33.0"
},
"peerDependenciesMeta": {
"@blueprintjs/core": {
"optional": true
},
"@blueprintjs/icons": {
"optional": true
}
}
}