forked from sprkl-dev/use-sprkl
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
33 lines (33 loc) · 1.15 KB
/
package.json
File metadata and controls
33 lines (33 loc) · 1.15 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
{
"name": "sprkl-microservices-example",
"private": "true",
"scripts": {
"start": "docker compose up --force-recreate",
"start:sprkl": "sprkl -- docker compose up -d --force-recreate --build",
"stop": "docker compose down",
"test": "jest",
"test:e2e": "concurrently \"yarn run start\" \"yarn run test:e2e:run\"",
"test:e2e:run": "jest -i --config jest.config.json -",
"test:e2e:sprkl": "yarn start:sprkl && sprkl -- yarn run test:e2e:run ",
"orders:mongosh": "docker exec -it sprkl-microservices-example-mongodb-1 mongosh orders",
"payments:psql": "docker exec -it -e POSTGRESS_PASSWORD=admin sprkl-microservices-example-pg-1 psql -U admin payments",
"example": "git apply example.patch && yarn test:e2e:sprkl",
"docker:build": "./scripts/build-images.sh",
"k8s:start": "yarn docker:build && ./scripts/k8s.sh start",
"k8s:stop": "./scripts/k8s.sh stop"
},
"workspaces": [
"catalog",
"orders",
"payments",
"shop"
],
"dependencies": {},
"devDependencies": {
"axios": "^0.27.2",
"concurrently": "^7.2.2",
"jest": "^28.1.2",
"ts-jest": "^28.0.7",
"ts-node": "^10.9.1"
}
}