forked from Stellar-Trust-Escrow/stellar-trust-escrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 2.35 KB
/
package.json
File metadata and controls
69 lines (69 loc) · 2.35 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
{
"name": "stellar-trust-escrow",
"version": "1.0.0",
"private": true,
"type": "module",
"workspaces": [
"frontend",
"backend"
],
"scripts": {
"dev": "npm run dev -w frontend & npm run dev -w backend",
"build": "npm run build -w frontend",
"lint": "eslint .",
"lint:sol": "solhint \"contracts/**/*.sol\"",
"lint:fix": "eslint . --fix",
"lint:contracts": "cargo fmt --all -- --check && cargo clippy --workspace --all-targets -- -D warnings",
"lint:all": "npm run lint && npm run lint:contracts",
"format": "prettier --write .",
"fix": "npm run lint:fix && npm run format",
"test": "npm run test -w frontend && npm run test -w backend",
"test:backend": "npm run test -w backend",
"test:frontend": "npm run test -w frontend",
"test:contracts": "cargo test --workspace",
"test:all": "npm run test:contracts && npm run test && npm run build",
"loadtest:generate": "node load-tests/data/generate.js",
"loadtest": "node load-tests/run.js",
"loadtest:ci": "node load-tests/run.js --ci",
"prepare": "node .husky/install.mjs"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^8.57.1",
"@typescript-eslint/parser": "^8.57.1",
"autocannon": "^8.0.0",
"cross-env": "^10.1.0",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"globals": "^17.4.0",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"prettier": "^3.8.1",
"prettier-plugin-solidity": "^2.3.1",
"safer-buffer": "^2.1.2",
"solhint": "^6.1.0",
"tough-cookie": "^6.0.1",
"typescript-eslint": "^8.57.1",
"url-parse": "^1.5.10",
"validate-branch-name": "^1.3.2"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,md}": [
"prettier --write"
],
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
],
"*.sol": [
"solhint --fix",
"prettier --write"
]
},
"validate-branch-name": {
"pattern": "^(main|develop|live)$|^(feature|fix|refactor|hotfix|release|conflict|docs|chore|test)\\/[A-Za-z0-9._-]+$",
"errorMsg": "Branch name structure: docs/contributor-onboarding or feature/my-change\nAllowed prefixes: feature, fix, refactor, hotfix, release, conflict, docs, chore, test"
}
}