forked from interledger/rafiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 3.19 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "@interledger/rafiki",
"version": "1.1.1-alpha",
"private": true,
"license": "Apache-2.0",
"repository": "https://github.com/interledger/rafiki",
"engines": {
"node": "18"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"prepare": "husky install",
"lint": "eslint --max-warnings=0 --fix .",
"fetch-schemas": "./scripts/fetch-schemas.sh",
"format": "prettier --write . && pnpm lint",
"format:docs": "prettier --write ./docs/**/*.md",
"checks": "pnpm check:prettier && pnpm check:lint",
"check:lint": "eslint --max-warnings=0 .",
"check:prettier": "prettier --check .",
"clean": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' +",
"build": "tsc --build",
"localenv:network:create": "docker network create --driver=bridge --subnet=10.5.0.0/24 --gateway=10.5.0.1 rafiki",
"localenv:network:remove": "docker network remove rafiki",
"localenv:cloud-nine-wallet": "docker compose -f ./localenv/cloud-nine-wallet/docker-compose.yml",
"localenv:happy-life-bank": "docker compose -f ./localenv/happy-life-bank/docker-compose.yml",
"localenv:tigerbeetle": "docker compose -f ./localenv/tigerbeetle/docker-compose.yml --env-file ./localenv/tigerbeetle/.env.tigerbeetle",
"localenv:build": "pnpm localenv:tigerbeetle build && pnpm localenv:cloud-nine-wallet build && pnpm localenv:happy-life-bank build",
"localenv:start": "pnpm localenv:network:create && pnpm localenv:tigerbeetle up -d && pnpm localenv:cloud-nine-wallet up -d && pnpm localenv:happy-life-bank up -d",
"localenv:stop": "pnpm localenv:happy-life-bank down && pnpm localenv:cloud-nine-wallet down && pnpm localenv:tigerbeetle down && pnpm localenv:network:remove",
"localenv:dbvolumes:remove": "docker volume rm cloud-nine-wallet_database-data && docker volume rm tigerbeetle_tigerbeetle-data",
"localenv:psql:build": "pnpm localenv:cloud-nine-wallet build && pnpm localenv:happy-life-bank build",
"localenv:psql:start": "pnpm localenv:network:create && pnpm localenv:cloud-nine-wallet up -d && pnpm localenv:happy-life-bank up -d",
"localenv:psql:stop": "pnpm localenv:cloud-nine-wallet down && pnpm localenv:happy-life-bank down && pnpm localenv:network:remove",
"localenv:psql:dbvolumes:remove": "docker volume rm cloud-nine-wallet_database-data",
"localenv:seed:auth": "pnpm -C ./packages/auth knex seed:run --env=development && pnpm -C ./packages/auth knex seed:run --env=peerdevelopment",
"sanity": "pnpm -r build && pnpm -r test"
},
"devDependencies": {
"@commitlint/cli": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"@jest/types": "^29.5.0",
"@swc/jest": "^0.2.26",
"@types/jest": "^29.5.1",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"eslint": "^8.38.0",
"eslint-config-prettier": "^8.8.0",
"husky": "^8.0.3",
"jest": "^29.5.0",
"prettier": "^2.8.7",
"ts-jest": "^29.1.0",
"ts-node-dev": "^2.0.0",
"typescript": "^4.9.5"
},
"dependenciesMeta": {
"tigerbeetle-node": {
"built": true
}
},
"prettier": {
"semi": false,
"singleQuote": true,
"jsxSingleQuote": true,
"trailingComma": "none"
}
}