Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 3.38 KB
/
Copy pathpackage.json
File metadata and controls
97 lines (97 loc) · 3.38 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
{
"name": "@mapsight/demos",
"description": "Developer demos for UI components, count aggregation, and icons",
"version": "0.2.1",
"private": true,
"type": "module",
"dependencies": {
"@mapsight/core": "workspace:^",
"@mapsight/count-aggregator-api": "workspace:^",
"@mapsight/count-aggregator-ui": "workspace:^",
"@mapsight/lib-js": "workspace:^",
"@mapsight/lib-ol": "workspace:^",
"@mapsight/lib-redux": "workspace:^",
"@mapsight/traffic-style": "workspace:^",
"@mapsight/ui": "workspace:^",
"@tanstack/react-query": "^5.107.1",
"breakpoint-sass": "^3.0.0",
"lodash": "catalog:",
"ol": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",
"react-redux": "catalog:",
"react-router-dom": "^7.18.5",
"react-select": "^5.10.2",
"reselect": "catalog:",
"tailwindcss": "catalog:"
},
"devDependencies": {
"@mapsight/a11y-audit": "workspace:^",
"@mapsight/vector-style-compiler": "workspace:^",
"@playwright/test": "catalog:",
"@tailwindcss/vite": "^4.3.5",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@typescript/native": "catalog:",
"mkdirp": "^3.0.1",
"npm-run-all": "^4.1.5",
"rimraf": "^6.1.4",
"terser": "^5.51.2",
"typescript": "catalog:",
"vite": "^8.3.8"
},
"license": "MIT",
"mapsight": {
"preview": {
"guides": "preview-guides.json",
"generated": [
{
"inputs": [
"src/vector-styles/"
],
"outputs": [
"src/generated/mapsight-vector-styles/"
],
"tools": [
"@mapsight/vector-style-compiler"
]
},
{
"inputs": [
"src/mock-service-worker.ts",
"src/count-aggregator/mock-api.ts",
"src/count-aggregator/register-static-mock.ts"
],
"consumers": [
"src/count-aggregator/count-aggregator-demo-page.tsx",
"src/count-aggregator/count-aggregator-headless-page.tsx"
]
}
]
}
},
"repository": {
"url": "https://github.com/open-mapsight/mapsight"
},
"scripts": {
"bench:icons": "node bench/icon-rendering.mts",
"build": "npm-run-all --parallel build:mapsightStyle copy --sequential build:app",
"build:app": "vite build --mode production --minify oxc",
"build:mapsightStyle": "npm-run-all build:mapsightStyle:*",
"build:mapsightStyle:demo": "vector-style-compiler src/vector-styles/demo.scss --output src/generated/mapsight-vector-styles --name demo",
"build:mapsightStyle:icons": "vector-style-compiler src/vector-styles/icon-demo.scss --output src/generated/mapsight-vector-styles --name icon-demo",
"clean": "rimraf dist node_modules/.vite src/generated public/img/mapsight*",
"clean-build": "run-s clean build",
"copy": "mkdirp public/img && cp -R node_modules/@mapsight/traffic-style/img/* public/img/",
"dev": "npm-run-all --parallel build:mapsightStyle copy --sequential dev:app",
"dev:app": "vite",
"dev:linked": "npm-run-all --parallel dev:packages dev",
"dev:packages": "turbo watch watch --filter=@mapsight/core --filter=@mapsight/ui --filter=@mapsight/lib-js --filter=@mapsight/lib-ol --filter=@mapsight/lib-redux --filter=@mapsight/count-aggregator-api --filter=@mapsight/count-aggregator-ui",
"lint": "eslint",
"start": "vite preview",
"test:a11y": "playwright test --config a11y.playwright.config.ts",
"test:e2e": "playwright test",
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit --composite false --incremental false -p tsconfig.node.json"
}
}