mirror of
https://github.com/selfxyz/self.git
synced 2026-02-21 03:00:36 -05:00
37 lines
1.5 KiB
JSON
37 lines
1.5 KiB
JSON
{
|
|
"name": "self-workspace-root",
|
|
"workspaces": [
|
|
"app",
|
|
"circuits",
|
|
"common",
|
|
"contracts",
|
|
"packages/*",
|
|
"prover/tests",
|
|
"sdk/*"
|
|
],
|
|
"scripts": {
|
|
"build": "yarn workspaces foreach --topological-dev --parallel --exclude @selfxyz/contracts -i --all run build",
|
|
"format": "yarn format:root && yarn format:github && yarn workspaces foreach --parallel -i --all --exclude self-workspace-root run format",
|
|
"format:github": "prettier --parser yaml --write .github/**/*.yml --single-quote false",
|
|
"format:root": "prettier --parser markdown --write *.md && prettier --parser yaml --write .*.{yml,yaml} --single-quote false",
|
|
"gitleaks": "gitleaks protect --staged --redact --config=.gitleaks.toml",
|
|
"postinstall": "patch-package",
|
|
"lint": "yarn workspaces foreach --parallel -i --all --exclude self-workspace-root run lint",
|
|
"prepare": "husky",
|
|
"sort-package-jsons": "find . -name 'package.json' -not -path './node_modules/*' -not -path './*/node_modules/*' | xargs npx sort-package-json",
|
|
"test": "yarn workspaces foreach --parallel -i --all run test",
|
|
"types": "yarn workspaces foreach --topological-dev --parallel --exclude @selfxyz/contracts -i --all run types ",
|
|
"find:migration": "node scripts/find-migration.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"gitleaks": "1.0.0",
|
|
"husky": "9.1.7",
|
|
"patch-package": "^8.0.0",
|
|
"postinstall-postinstall": "^2.1.0"
|
|
},
|
|
"packageManager": "yarn@4.6.0",
|
|
"engines": {
|
|
"node": ">=22 <23"
|
|
}
|
|
}
|