mirror of
https://github.com/selfxyz/self.git
synced 2026-01-08 22:28:11 -05:00
* fix yarn format * yarn format * fix lint * undo temporary disabling * pipeline fixes * revert nvmrc change
56 lines
2.4 KiB
JSON
56 lines
2.4 KiB
JSON
{
|
|
"name": "self-workspace-root",
|
|
"workspaces": [
|
|
"app",
|
|
"circuits",
|
|
"common",
|
|
"contracts",
|
|
"packages/*",
|
|
"prover/tests",
|
|
"sdk/*",
|
|
"scripts/tests",
|
|
"packages/mobile-sdk-alpha/demo-app"
|
|
],
|
|
"scripts": {
|
|
"build": "yarn workspaces foreach --topological-dev --parallel --exclude @selfxyz/contracts -i --all run build",
|
|
"check:versions": "node scripts/check-package-versions.mjs",
|
|
"format": "SKIP_BUILD_DEPS=1 yarn format:root && yarn format:github && SKIP_BUILD_DEPS=1 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 scripts/**/*.md && prettier --parser yaml --write .*.{yml,yaml} --single-quote false && prettier --write scripts/**/*.{js,mjs,ts} && prettier --parser json --write scripts/**/*.json",
|
|
"gitleaks": "gitleaks protect --staged --redact --config=.gitleaks.toml",
|
|
"postinstall": "node scripts/run-patch-package.cjs",
|
|
"lint": "yarn lint:headers && yarn workspaces foreach --parallel -i --all --exclude self-workspace-root run lint",
|
|
"lint:headers": "node scripts/check-duplicate-headers.cjs . && node scripts/check-license-headers.mjs . --check",
|
|
"lint:headers:fix": "node scripts/check-duplicate-headers.cjs . && node scripts/check-license-headers.mjs . --fix",
|
|
"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",
|
|
"test:license-headers": "cd scripts/tests && node check-license-headers.test.mjs",
|
|
"types": "yarn workspaces foreach --topological-dev --parallel --exclude @selfxyz/contracts -i --all run types "
|
|
},
|
|
"resolutions": {
|
|
"@typescript-eslint/eslint-plugin": "^8.39.0",
|
|
"@typescript-eslint/parser": "^8.39.0",
|
|
"@babel/core": "^7.28.3",
|
|
"@babel/runtime": "^7.28.3",
|
|
"react": "^18.3.1",
|
|
"react-native": "0.76.9"
|
|
},
|
|
"dependencies": {
|
|
"react": "^18.3.1",
|
|
"react-native": "0.76.9"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"gitleaks": "1.0.0",
|
|
"husky": "9.1.7",
|
|
"knip": "^5.62.0",
|
|
"patch-package": "^8.0.0",
|
|
"typescript": "^5.9.2"
|
|
},
|
|
"packageManager": "yarn@4.6.0",
|
|
"engines": {
|
|
"node": ">=22 <23"
|
|
}
|
|
}
|