-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
45 lines (45 loc) · 1.95 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": "relay",
"private": true,
"engines": {
"node": "^18.x",
"pnpm": ">=8.15.1"
},
"type": "module",
"workspaces": [
"packages/*",
"demo",
"playground"
],
"scripts": {
"demo": "pnpm --filter relay-sdk-demo dev",
"playground": "pnpm --filter playground dev",
"demo:analyze": "ANALYZE=true pnpm run -C demo/ build",
"package:change": "pnpm changeset && git stage ./.changeset/* && git commit --m \"feat: changeset\" && git push",
"package:canary": "pnpm changeset version --snapshot canary && git add -A; git commit --m \"canary: changeset\" && git push && changeset publish --tag canary && changeset tag && git tag --delete relay-sdk-demo@undefined && git push --follow-tags",
"package:release": "pnpm run build && changeset version && pnpm --filter=!demo --filter=!playground -r publish --access public && changeset tag && git tag --delete relay-sdk-demo@undefined && git tag --delete playground@undefined && git push --follow-tags",
"build": "pnpm run build:sdk && pnpm run build:hooks && pnpm run build:ui && pnpm run build:adapter",
"build:ui": "pnpm run -C packages/ui build",
"build:hooks": "pnpm run -C packages/hooks build",
"build:sdk": "pnpm run -C packages/sdk build",
"build:adapter": "pnpm run -C packages/relay-ethers-wallet-adapter build && pnpm run -C packages/relay-svm-wallet-adapter build && pnpm run -C packages/relay-bitcoin-wallet-adapter build",
"syncSdkTypes": "node packages/sdk/scripts/sync-api.mjs",
"sdk": "pnpm run -C packages/sdk dev",
"typecheck": "tsc --noEmit",
"prepare": "husky",
"lint": "pnpm run -C packages/ui lint && pnpm run -C packages/hooks lint"
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"concurrently": "^8.2.2",
"husky": "^9.0.11",
"openapi-typescript": "^6.7.3",
"tslib": "^2.6.2",
"typescript": "5.4.5"
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "none"
}
}