-
Notifications
You must be signed in to change notification settings - Fork 37
/
package.json
125 lines (125 loc) · 4.12 KB
/
package.json
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
{
"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",
"dependencies": {
"@chakra-ui/icons": "^2.1.1",
"@chakra-ui/react": "^2.8.2",
"@codemirror/autocomplete": "^6.16.0",
"@codemirror/commands": "6.5.0",
"@codemirror/lang-python": "^6.1.6",
"@codemirror/language": "^6.10.1",
"@codemirror/state": "^6.4.1",
"@codemirror/view": "^6.26.3",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@microbit/microbit-fs": "^0.9.2",
"@sanity/block-content-to-react": "^3.0.0",
"@sanity/image-url": "^1.0.1",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/dompurify": "^2.3.1",
"@types/lodash.debounce": "^4.0.6",
"@types/lodash.sortby": "^4.7.6",
"@types/lunr": "^2.3.4",
"@types/marked": "^4.0.1",
"@types/node": "^20.14.8",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"base64-js": "^1.5.1",
"crelt": "^1.0.5",
"dapjs": "2.2.0",
"dompurify": "^2.3.3",
"file-saver": "^2.0.5",
"framer-motion": "^10.2.4",
"lodash.debounce": "^4.0.8",
"lodash.sortby": "^4.7.0",
"lunr": "^2.3.9",
"lunr-languages": "^1.14.0",
"lzma": "^2.3.2",
"marked": "^4.0.15",
"mobile-drag-drop": "^2.3.0-rc.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hotkeys-hook": "^4.5.0",
"react-icons": "^4.12.0",
"react-intl": "^6.6.8",
"vite": "^5.1.5",
"vscode-jsonrpc": "^8.0.0",
"vscode-languageserver-protocol": "^3.16.0",
"web-vitals": "^1.1.1",
"xterm": "4.14.1",
"xterm-addon-fit": "^0.5.0"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@chakra-ui/cli": "^2.4.1",
"@formatjs/cli": "^6.2.7",
"@playwright/test": "^1.42.1",
"@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",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vitejs/plugin-react": "^4.2.1",
"cross-env": "^7.0.3",
"ejs": "^3.1.9",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"jsdom": "^24.0.0",
"playwright": "^1.42.1",
"prettier": "2.3.2",
"typescript": "^5.4.2",
"vite-plugin-pwa": "^0.19.8",
"vite-plugin-svgr": "^4.2.0",
"vitest": "^1.3.1"
},
"engines": {
"node": ">=16.0",
"npm": ">=8.0"
},
"scripts": {
"build": "vite build",
"ci:update-version": "update-ci-version",
"ci": "npm run typecheck && npm run test && npm run lint && npm run build",
"deploy": "website-deploy-aws",
"fix-licensing-headers": "node bin/fix-licensing-headers.cjs",
"i18n:compile": "node bin/tidy-lang.cjs && formatjs compile-folder --ast lang src/messages",
"i18n:convert": "node bin/tidy-lang.cjs && node bin/crowdin-convert.cjs",
"invalidate": "aws cloudfront create-invalidation --distribution-id $(printenv ${STAGE}_CLOUDFRONT_DISTRIBUTION_ID) --paths \"/*\"",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"postinstall": "npm run theme",
"serve": "npx serve --no-clipboard -l 3000 -- build/",
"start": "vite dev",
"test:e2e:headless": "playwright test",
"test:e2e": "playwright test --ui",
"test": "vitest",
"theme:watch": "chakra-cli tokens src/deployment/default/theme.ts --watch",
"theme": "chakra-cli tokens src/deployment/default/theme.ts",
"typecheck": "tsc --noEmit",
"typecheck:watch": "tsc --noEmit --watch"
},
"browserslist": {
"production": [
"defaults",
"Chrome >= 98",
"Edge >= 98",
"ChromeAndroid >= 95",
"Safari >= 14",
"iOS >= 14"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}