Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
132 lines (132 loc) · 4.65 KB
/
Copy pathpackage.json
File metadata and controls
132 lines (132 loc) · 4.65 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
{
"name": "@microbit/python-editor-v3",
"version": "3.0.0-local",
"author": "Micro:bit Educational Foundation <package-help@microbit.org>",
"license": "MIT",
"private": true,
"type": "module",
"allowScripts": {
"@sentry/cli": true,
"aws-sdk": false,
"core-js": false,
"esbuild": true,
"fsevents": true,
"protobufjs": false
},
"dependencies": {
"@codemirror/autocomplete": "^6.20.3",
"@codemirror/commands": "^6.11.1",
"@codemirror/lang-python": "^6.2.1",
"@codemirror/language": "^6.12.4",
"@codemirror/state": "^6.7.5",
"@codemirror/view": "^6.43.12",
"@microbit/microbit-connection": "^1.0.0",
"@microbit/microbit-fs": "^0.10.0",
"@microbit/micropython-microbit-stubs": "^1.0.0",
"@microbit/ui": "^0.5.0",
"@microbit/ui-patterns": "^0.7.0",
"@sanity/block-content-to-react": "^3.0.0",
"@sanity/image-url": "^1.0.1",
"@sentry/browser": "^10.71.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/lunr": "^2.3.4",
"@types/node": "^24.12.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"base64-js": "^1.5.1",
"crelt": "^1.0.5",
"dompurify": "^3.2.5",
"file-saver": "^2.0.5",
"lunr": "^2.3.9",
"lunr-languages": "^1.14.0",
"lzma": "^2.3.2",
"marked": "^18.0.11",
"mobile-drag-drop": "^2.3.0-rc.2",
"react": "^18.3.1",
"react-aria": "^3.50.0",
"react-aria-components": "^1.19.0",
"react-dom": "^18.3.1",
"react-hotkeys-hook": "^4.5.0",
"react-icons": "^4.12.0",
"react-intl": "^6.6.8",
"react-router": "^7.18.3",
"vite": "^7.3.1",
"vscode-jsonrpc": "^9.0.0",
"vscode-languageserver-protocol": "^3.16.0",
"xterm": "4.19.0",
"xterm-addon-fit": "^0.5.0"
},
"devDependencies": {
"@csstools/postcss-cascade-layers": "^6.0.0",
"@microbit/eslint-config": "^0.2.1",
"@microbit/i18n-tools": "^0.2.0",
"@pandacss/dev": "^1.11.4",
"@playwright/test": "^1.58.2",
"@sentry/vite-plugin": "^5.4.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.0.0",
"@types/ejs": "^3.1.5",
"@types/file-saver": "^2.0.3",
"@vitejs/plugin-react": "^5.1.4",
"cross-env": "^7.0.3",
"ejs": "^3.1.9",
"eslint": "^10.9.1",
"jsdom": "^28.1.0",
"playwright": "^1.58.2",
"prettier": "2.3.2",
"typescript": "^5.9.3",
"vite-plugin-pwa": "^1.0.0",
"vite-plugin-svgr": "^4.5.0",
"vitest": "^4.0.18"
},
"engines": {
"node": ">=24.0.0",
"npm": ">=11.18.0"
},
"scripts": {
"dev": "vite dev",
"predev": "npm run generate",
"build": "vite build",
"prebuild": "npm run generate",
"preview": "vite preview",
"panda": "panda codegen",
"panda:watch": "panda codegen --watch",
"generate": "npm run panda && npm run i18n:compile && npm run stubs",
"stubs": "cp node_modules/@microbit/micropython-microbit-stubs/typeshed.*.json src/micropython/main/",
"postinstall": "npm run generate",
"lint": "eslint . --max-warnings 0",
"format": "prettier --write src",
"format:check": "prettier --check src",
"typecheck": "tsc --noEmit",
"pretypecheck": "npm run generate",
"typecheck:watch": "tsc --noEmit --watch",
"test": "vitest",
"test:e2e": "playwright test --ui",
"test:e2e:headless": "playwright test",
"ci": "npm run typecheck && npm run lint && npm run test && npm run i18n:tidy -- --check && npm run build",
"deploy": "website-deploy-aws",
"invalidate": "invalidate-cloudfront-distribution",
"dev:link-ui": "rm -rf node_modules/@microbit/ui node_modules/@microbit/ui-patterns node_modules/@microbit/i18n-tools && ln -s ../../../ui/packages/ui node_modules/@microbit/ui && ln -s ../../../ui/packages/ui-patterns node_modules/@microbit/ui-patterns && ln -s ../../../ui/packages/i18n-tools node_modules/@microbit/i18n-tools && ln -sf ../@microbit/i18n-tools/bin/microbit-i18n.mjs node_modules/.bin/microbit-i18n && rm -rf styled-system node_modules/.vite && npm run panda",
"i18n:compile": "microbit-i18n compile",
"i18n:tidy": "microbit-i18n tidy",
"i18n:download": "microbit-i18n download",
"i18n:upload": "microbit-i18n upload",
"i18n:status": "microbit-i18n status",
"i18n:new-strings": "microbit-i18n new-strings"
},
"//browserslist": "Keep in sync with BUILD_TARGETS in vite.config.ts, which is what the build actually uses.",
"browserslist": [
"safari >= 14.1",
"ios_saf >= 14.5",
"chrome >= 90",
"edge >= 90",
"firefox >= 88",
"not dead"
],
"overrides": {
"postcss": "^8.5.26"
}
}