forked from Santroller/SantrollerConfigurator2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 3.39 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 3.39 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
{
"name": "mantine-vite-template",
"private": true,
"type": "module",
"version": "0.0.0",
"scripts": {
"dev-nobuild": "npm run build_proto && vite",
"dev": "npm run build_proto && (npm run build_santroller_pico1 & npm run build_santroller_pico2) && npm run copy_santroller && vite",
"build_proto": "pbjs -w es6 --null-semantics -t static-module Santroller/proto/config.proto Santroller/proto/events.proto Santroller/proto/commands.proto -o src/components/SettingsContext/config.js && pbts -o src/components/SettingsContext/config.d.ts src/components/SettingsContext/config.js",
"build_santroller_pico1": "cd Santroller;mkdir build_pico1;cd build_pico1;cmake .. -DPICO_BOARD=pico_w;make -j",
"build_santroller_pico2": "cd Santroller;mkdir build_pico2;cd build_pico2;cmake .. -DPICO_BOARD=pico2_w;make -j",
"copy_santroller": "cp Santroller/build_pico1/santroller_fota_image.bin public/santroller_ota_pico_w.bin && cp Santroller/build_pico1/santroller_fota.uf2 public/santroller_pico1.uf2 && cp Santroller/build_pico2/santroller_fota_image.bin public/santroller_ota_pico2_w.bin && cp Santroller/build_pico2/santroller_fota.uf2 public/santroller_pico2.uf2 && cp Santroller/build_pico1/commit.hash public",
"build": "npm run build_proto && (npm run build_santroller_pico1 & npm run build_santroller_pico2) && npm run copy_santroller && tsc && vite build && cp dist/index.html dist/404.html ",
"preview": "vite preview",
"typecheck": "tsc --noEmit",
"lint": "npm run eslint && npm run stylelint",
"eslint": "eslint . --cache",
"stylelint": "stylelint '**/*.css' --cache",
"prettier": "prettier --check \"**/*.{ts,tsx}\"",
"prettier:write": "prettier --write \"**/*.{ts,tsx}\"",
"test": "npm run typecheck && npm run prettier && npm run lint && npm run build"
},
"dependencies": {
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/sortable": "^10.0.0",
"@mantine/core": "9.3.0",
"@mantine/hooks": "9.3.0",
"@redux-devtools/extension": "^3.3.0",
"@tabler/icons-react": "^3.33.0",
"i18next": "^25.2.0",
"immer": "^10.1.1",
"protobufjs": "7.4.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-i18next": "^15.5.2",
"react-router-dom": "^7.5.3",
"uf2": "^2.0.0",
"zustand": "^5.0.5"
},
"devDependencies": {
"@eslint/js": "^9.26.0",
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
"@types/node": "^22.15.11",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/w3c-web-hid": "^1.0.6",
"@types/w3c-web-usb": "^1.0.10",
"@vitejs/plugin-react": "^4.4.1",
"babel-plugin-react-compiler": "^19.1.0-rc.2",
"eslint": "^9.26.0",
"eslint-config-mantine": "^4.0.3",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^6.0.0-rc.1",
"identity-obj-proxy": "^3.0.0",
"jsdom": "^26.1.0",
"postcss": "^8.5.3",
"postcss-preset-mantine": "1.17.0",
"postcss-simple-vars": "^7.0.1",
"prettier": "^3.5.3",
"prop-types": "^15.8.1",
"protobufjs-cli": "1.1.3",
"stylelint": "^16.19.1",
"stylelint-config-standard-scss": "^14.0.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.32.0",
"vite": "^6.3.5",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.1.3"
},
"packageManager": "yarn@4.9.1",
"resolutions": {
"@protobufjs/inquire": "npm:efer-ms_protobufjs_inquire_no_eval@1.1.2"
}
}