-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 1.18 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
{
"name": "new_media",
"version": "0.0.0",
"private": true,
"workspaces": ["www"],
"scripts": {
"build": "pnpm --dir=demo build",
"dev:server": "docker run --rm -it $(docker build -q .)",
"dev": "concurrently --names 'WEB,SERVER' -c 'auto' \"pnpm --dir=demo dev\" \"cargo rr --bin new_media\"",
"format": "concurrently --names 'fmt:web,fmt:rs,fmt:toml' -c 'auto' \"pnpm format:prettier\" \"pnpm format:rs\" \"pnpm format:toml\"",
"format:prettier": "prettier --write \"**/*.{js,ts,tsx}\"",
"format:rs": "cargo fmt --all",
"format:toml": "taplo format",
"prepare": "husky install",
"pre-commit": "lint-staged"
},
"license": "ISC",
"devDependencies": {
"@taplo/cli": "^0.5.2",
"concurrently": "^8.2.2",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.1.1"
},
"lint-staged": {
"*.rs": [
"cargo fmt --"
],
"*.toml": [
"taplo format"
],
"*.{js,ts,tsx}": [
"eslint --ext jsx,ts,tsx --quiet --fix --",
"prettier --write"
],
"*.{md,mdx,yml}": [
"prettier --write"
]
},
"packageManager": "[email protected]",
"engines": {
"node": "20.x",
"pnpm": "8"
}
}