forked from Fund-My-Cause/Fund-My-Cause
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
37 lines (37 loc) · 1.1 KB
/
Copy pathpackage.json
File metadata and controls
37 lines (37 loc) · 1.1 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
{
"name": "fund-my-cause",
"version": "0.1.0",
"private": true,
"workspaces": [
"apps/*"
],
"scripts": {
"dev": "npm run dev --workspace=apps/interface",
"build": "npm run build --workspace=apps/interface",
"lint": "npm run lint --workspace=apps/interface",
"contracts:build": "cargo build --release --target wasm32-unknown-unknown --manifest-path contracts/crowdfund/Cargo.toml",
"contracts:test": "cargo test --workspace",
"test:e2e": "playwright test",
"format": "cd apps/interface && npx prettier --write",
"prepare": "husky"
},
"devDependencies": {
"@commitlint/cli": "^20.5.2",
"@commitlint/config-conventional": "^20.5.0",
"@playwright/test": "^1.58.2",
"eslint-plugin-react-hooks": "^5.2.0",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"prettier": "^3.8.3"
},
"lint-staged": {
"apps/interface/**/*.{ts,tsx}": [
"eslint --config apps/interface/eslint.config.js --max-warnings=0",
"prettier --write"
],
"*.rs": [
"bash -c 'cargo fmt --all -- --check'",
"bash -c 'cargo clippy --workspace'"
]
}
}