-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpackage.json
More file actions
42 lines (42 loc) · 1.56 KB
/
package.json
File metadata and controls
42 lines (42 loc) · 1.56 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
{
"name": "split-flap-display",
"version": "1.0.0",
"scripts": {
"build": "npm run format && npm run assets && npm run pio",
"format": "npm run format:cpp && npm run format:web",
"format:web": "prettier --write 'src/**/*.{js,json,css,html}' platformio.ini package.json README.md vite.config.mjs tailwind.config.js",
"format:cpp": "command -v clang-format >/dev/null 2>&1 && find src -iname '*.h' -o -iname '*.cpp' -o -iname '*.ino' | xargs clang-format -i || echo 'clang-format not found, skipping format:cpp'",
"assets": "vite build --emptyOutDir",
"pio": "npm run pio:firmware && sleep 2 && npm run pio:filesystem",
"pio:firmware": "pio run -t upload",
"pio:filesystem": "pio run -t uploadfs",
"pio:monitor": "pio device monitor"
},
"devDependencies": {
"@tailwindcss/vite": "^4.0.17",
"alpinejs": "^3.14.9",
"autoprefixer": "^10.4.21",
"html-minifier-terser": "^7.2.0",
"jsonminify": "^0.4.2",
"postcss": "^8.5.3",
"prettier": "^3.5.3",
"prettier-plugin-ini": "^1.3.0",
"tailwindcss": "^4.0.17",
"vite": "^6.2.3",
"vite-plugin-html": "^3.2.2",
"vite-plugin-static-copy": "^2.3.0"
},
"prettier": {
"plugins": [
"prettier-plugin-ini"
],
"tabWidth": 4,
"useTabs": false,
"endOfLine": "lf",
"semi": true,
"singleQuote": false,
"insertPragma": false,
"requirePragma": false,
"proseWrap": "preserve"
}
}