This repository has been archived by the owner on Jun 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 1.52 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
{
"name": "graphql-practice",
"version": "1.0.0",
"author": "Nicolás Omar González Passerino",
"license": "MIT",
"private": false,
"description": "Repository created to record my practice learning GraphQL",
"repository": {
"type": "git",
"url": "git+https://github.com/NicolasOmar/graphql-practice.git"
},
"bugs": {
"url": "https://github.com/NicolasOmar/graphql-practice/issues"
},
"homepage": "https://github.com/NicolasOmar/graphql-practice#readme",
"scripts": {
"setup-all": "npm i && npm run setup-exercises && npm run setup-apollo && npm run setup-prisma",
"setup-exercises": "cd ./1-exercises && npm i",
"setup-apollo": "npm run setup-apollo-server && npm run setup-apollo-client",
"setup-apollo-server": "cd ./2-apollo/server && npm i",
"setup-apollo-client": "cd ./2-apollo/client && npm i",
"setup-prisma": " cd ./3-prisma && npm run setup",
"setup-testing": " cd ./4-testing && npm run setup",
"exercises": "cd ./1-exercises && npm start",
"apollo-server": "cd ./2-apollo/server && npm start",
"apollo-client": "cd ./2-apollo/client && npm start",
"prisma": "cd ./3-prisma && npm start",
"testing-client": "cd ./4-testing && npm start",
"testing-server": "cd ./4-testing && npm run server",
"testing-cases": "cd ./4-testing && npm test",
"update-version": "node scripts/update-version.js"
},
"devDependencies": {
"husky": "^4.3.8",
"prompts": "^2.4.0"
},
"husky": {
"hooks": {
"pre-push": "npm run update-version"
}
}
}