forked from serlo/api.serlo.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 3.47 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"name": "@serlo/api.serlo.org-workspace",
"version": "0.0.0",
"private": true,
"bugs": {
"url": "https://github.com/serlo/api.serlo.org/issues"
},
"repository": "serlo/api.serlo.org",
"license": "Apache-2.0",
"author": "Serlo Education e.V.",
"workspaces": [
"packages/*"
],
"scripts": {
"_eslint": "eslint \"{{__fixtures__,__tests-pacts__,__tests__,scripts,packages/*/src}/**/*,*}.{js,jsx,ts,tsx}\"",
"_prettier": "prettier .",
"auth": "scripts/authenticate.sh",
"build": "lerna run --stream build",
"build:server": "lerna run --stream build:server",
"build:swr-queue-worker": "lerna run --stream build:swr-queue-worker",
"changelog": "ts-node-esm scripts/changelog",
"check:all": "scripts/run_all_checks.sh",
"codegen": "lerna run --stream codegen",
"deploy:images": "lerna run --stream deploy:image",
"format": "npm-run-all -c \"format:*\"",
"format:eslint": "yarn _eslint --fix",
"format:prettier": "yarn _prettier --write",
"format:prettier:staged": "prettier --write $(git diff --name-only --cached)",
"license": "ts-node-esm scripts/license-headers",
"lint": "npm-run-all --parallel lint:prettier lint:tsc lint:eslint",
"lint:eslint": "yarn _eslint",
"lint:prettier": "yarn _prettier --check",
"lint:tsc": "tsc --noEmit",
"prepacts": "rimraf pacts",
"pacts": "jest --config jest.config-pacts-serlo-org-database-layer.js --runInBand --forceExit",
"pacts:publish": "ts-node-esm scripts/publish-pacts",
"prepare-release": "yarn lerna version --no-git-tag-version --no-push",
"start": "npm-run-all start:redis start:server",
"start:redis": "docker-compose up --detach",
"start:server": "lerna run --stream --scope @serlo/api.serlo.org start",
"start:swr-queue-worker": "lerna run --stream --scope @serlo/api.serlo.org start:swr-queue-worker",
"redis:cli": "docker-compose exec redis redis-cli",
"redis:list": "docker-compose exec redis redis-cli KEYS '*'",
"redis:empty": "docker-compose exec redis redis-cli FLUSHDB",
"show-unused-exports": "ts-unused-exports tsconfig.json --excludePathsFromReport=packages/types/ --excludePathsFromReport=packages/server/src/types.ts --ignoreFiles=/dist/",
"stop:redis": "docker-compose stop",
"test": "jest --config jest.config.js --runInBand --forceExit",
"update-version": "./scripts/update_version.sh"
},
"dependencies": {
"graphql": "^16.6.0"
},
"devDependencies": {
"@inyono/changelog": "^0.5.2",
"@inyono/copyright-headers": "^0.2.0",
"@pact-foundation/pact": "^9.18.1",
"@pact-foundation/pact-node": "^10.17.7",
"@sentry/node": "^6.19.7",
"@types/glob": "^8.0.1",
"@types/jest": "^27.5.2",
"@types/node": "^16.18.12",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-react": "^7.32.2",
"glob": "^8.1.0",
"graphql-tag": "^2.12.6",
"jest": "^27.5.1",
"jest-transform-graphql": "^2.1.0",
"lerna": "^4.0.0",
"msw": "^0.36.8",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.4",
"prettier-plugin-packagejson": "^2.4.3",
"prettier-plugin-sh": "^0.12.8",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.5",
"ts-node": "^10.9.1",
"ts-unused-exports": "^9.0.4",
"tsdx": "^0.14.1",
"typescript": "^4.1.0"
},
"packageManager": "[email protected]",
"engines": {
"node": "^16.0.0"
}
}