Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 3.66 KB
/
Copy pathpackage.json
File metadata and controls
96 lines (96 loc) · 3.66 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
{
"private": true,
"name": "atlasdraw-monorepo",
"description": "Atlasdraw — collaborative web map studio (Excalidraw + MapLibre fork)",
"author": "Atlasdraw contributors",
"license": "AGPL-3.0-only",
"repository": {
"type": "git",
"url": "https://github.com/atlasdraw/atlasdraw.git"
},
"packageManager": "yarn@4.15.0",
"workspaces": [
"packages/*",
"apps/*",
"bench"
],
"devDependencies": {
"@excalidraw/prettier-config": "1.0.2",
"@types/chai": "4.3.0",
"@types/jest": "27.4.0",
"@types/lodash.throttle": "4.1.7",
"@types/react": "19.0.10",
"@types/react-dom": "19.0.4",
"@vitejs/plugin-react": "5.2.0",
"@vitest/coverage-v8": "3.2.7",
"@vitest/ui": "3.2.7",
"chai": "4.3.6",
"eslint": "9.39.5",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "7.1.1",
"husky": "7.0.4",
"jsdom": "22.1.0",
"lint-staged": "12.3.7",
"pepjs": "0.5.3",
"prettier": "2.8.8",
"react": "19.0.0",
"react-dom": "19.0.0",
"rimraf": "^5.0.0",
"typescript": "5.9.3",
"typescript-eslint": "8.71.0",
"vite": "7.3.6",
"vite-plugin-pwa": "1.3.0",
"vite-plugin-svgr": "5.2.0",
"vitest": "3.2.7",
"vitest-canvas-mock": "0.3.3"
},
"engines": {
"node": ">=18.0.0"
},
"homepage": ".",
"prettier": "@excalidraw/prettier-config",
"scripts": {
"build:common": "yarn --cwd ./packages/common build:esm",
"build:element": "yarn --cwd ./packages/element build:esm",
"build:excalidraw": "yarn --cwd ./packages/excalidraw build:esm",
"build:math": "yarn --cwd ./packages/math build:esm",
"build:packages": "yarn build:common && yarn build:math && yarn build:element && yarn build:excalidraw",
"build:types": "yarn build:packages && yarn --cwd ./packages/utils gen:types",
"build": "yarn workspace @atlasdraw/atlas-app build",
"start": "yarn workspace @atlasdraw/atlas-app dev",
"test:all": "yarn test:typecheck && yarn test:code && yarn test:other && yarn test:falsifiable && yarn test:app --watch=false",
"test:app": "vitest",
"test:falsifiable": "node scripts/find-unfalsifiable-tests.mjs",
"test:code": "eslint --max-warnings=0 .",
"test:other": "yarn prettier --list-different",
"test:typecheck": "yarn build:types && tsc -b && tsc -p packages/tsconfig.fork-tests.json && yarn --cwd ./apps/atlas-app test:typecheck && yarn --cwd ./apps/storage test:typecheck && yarn --cwd ./apps/realtime test:typecheck && yarn --cwd ./packages/protocol test:typecheck && yarn --cwd ./bench test:typecheck",
"test:update": "yarn test:app --update --watch=false",
"test": "yarn test:app",
"test:coverage": "vitest --coverage",
"test:coverage:watch": "vitest --coverage --watch",
"test:ui": "yarn test --ui --coverage.enabled=true",
"fix:code": "yarn test:code --fix",
"fix:other": "yarn prettier --write",
"fix": "yarn fix:other && yarn fix:code",
"prepare": "node scripts/prepare-husky.js",
"prettier": "prettier \"**/*.{css,scss,json,md,html,yml,js,mjs,cjs,ts,tsx}\" --ignore-path=.prettierignore",
"rm:build": "rimraf --glob apps/*/dist packages/*/dist packages/*/build",
"rm:node_modules": "rimraf --glob node_modules apps/*/node_modules packages/*/node_modules",
"clean-install": "yarn rm:node_modules && yarn install"
},
"resolutions": {
"strip-ansi": "6.0.1",
"dompurify": "^3.4.12",
"nanoid": "^3.3.8",
"qs": "^6.15.2",
"prismjs": "^1.30.0",
"tmp": "^0.2.6",
"undici@^6.25.0": "^6.27.0",
"ws@^6.2.1": "^6.2.4",
"ws@^8.13.0": "^8.21.1",
"ws@~8.17.1": "^8.21.1",
"ws@~8.18.3": "^8.21.1",
"ws@8.5.0": "^8.21.1",
"find-my-way@^9.0.0": "^9.7.0"
}
}