-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
57 lines (57 loc) · 2.15 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
{
"name": "comics",
"private": true,
"workspaces": [
"client",
"server"
],
"scripts": {
"dev:client": "yarn workspace client run:dev",
"dev:server": "yarn workspace server run:dev",
"dev:all": "concurrently --kill-others-on-fail 'yarn dev:server' 'yarn dev:client'",
"start:client": "yarn workspace client start",
"start:server": "yarn workspace server start",
"start:all": "concurrently --kill-others-on-fail 'yarn start:server' 'yarn start:client'",
"build:client": "yarn workspace client build",
"build:server": "yarn workspace server build",
"build:all": "concurrently 'yarn build:client' 'yarn build:server'",
"test:client": "yarn workspace client run:test",
"test:server": "yarn workspace server run:test",
"test:all": "concurrently 'yarn test:server' 'yarn test:client'",
"generate": "npx graphql-codegen",
"clean": "rm -rf node_modules server/node_modules client/node_modules",
"cy:run": "npx cypress run --headless",
"cy:open": "npx cypress open",
"test": "start-server-and-test test:all 3000 cy:run",
"prepare": "husky install",
"docker:build": "docker build --no-cache -t wookiee-comics:latest .",
"docker:run": "docker run --rm --name wookiee-comics --env NODE_ENV=production -p 3000:3000 wookiee-comics:latest"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"dependencies": {
"concurrently": "^6.2.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^2.0.1",
"@graphql-codegen/schema-ast": "^2.0.0",
"@graphql-codegen/typed-document-node": "^2.0.0",
"@graphql-codegen/typescript": "2.0.0",
"@graphql-codegen/typescript-graphql-request": "4.0.0",
"@graphql-codegen/typescript-operations": "^2.0.1",
"@graphql-codegen/typescript-resolvers": "2.0.0",
"@graphql-codegen/typescript-urql": "^3.0.0",
"@types/node": "^16.4.13",
"cypress": "^8.2.0",
"graphql": "^15.5.1",
"graphql-request": "^3.5.0",
"graphql-tag": "^2.12.5",
"husky": "^7.0.1",
"lint-staged": "^11.1.2",
"prettier": "^2.3.2",
"start-server-and-test": "^1.13.1",
"ts-node": "^10.1.0",
"typescript": "^4.3.5"
}
}