-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
100 lines (100 loc) · 3.36 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
90
91
92
93
94
95
96
97
98
99
100
{
"name": "react-avancado-boilerplate",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "eslint src --max-warnings=0",
"typecheck": "tsc --project tsconfig.json --noEmit",
"test": "jest --maxWorkers=50%",
"test:watch": "jest --watch --maxWorkers=25%",
"test:ci": "jest --runInBand",
"cy:open": "cypress open",
"cy:run": "cypress run",
"test:e2e": "start-server-and-test dev 3000 cy:open",
"generate": "yarn plop --plopfile generators/plopfile.js",
"generate:template": "yarn plop --plopfile generators/templates.js",
"storybook": "start-storybook -s ./public -p 6006",
"build-storybook": "build-storybook -s ./public",
"schema:download": "apollo client:download-schema --endpoint=http://localhost:1337/graphql schema-temp.gql",
"schema:convert": "node convertToNonNull.js",
"codegen": "apollo codegen:generate --target typescript --excludes=node_modules/ --includes=src/graphql/**/*.ts --localSchemaFile schema.gql --tagName=gql --outputFlat src/graphql/generated",
"types:generate": "yarn schema:download && yarn schema:convert && yarn codegen",
"prepare": "husky install"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*": [
"yarn lint --fix",
"yarn test --findRelatedTests --bail"
]
},
"dependencies": {
"@apollo/client": "^3.3.21",
"@stripe/react-stripe-js": "^1.4.1",
"@stripe/stripe-js": "^1.16.0",
"dotenv": "^9.0.2",
"graphql": "^15.5.1",
"joi": "^17.4.1",
"lodash.xor": "^4.5.0",
"next": "10.2.3",
"next-auth": "^3.27.3",
"next-pwa": "^5.2.24",
"next-seo": "^4.26.0",
"nextjs-progressbar": "^0.0.11",
"polished": "^4.1.3",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-slick": "^0.28.1",
"styled-components": "5.2.1",
"styled-icons": "^10.37.0",
"styled-media-query": "^2.1.2"
},
"devDependencies": {
"@babel/core": "^7.14.8",
"@babel/preset-typescript": "^7.14.5",
"@jackfranklin/test-data-bot": "^1.3.0",
"@storybook/addon-essentials": "6.3.6",
"@storybook/react": "6.3.6",
"@testing-library/cypress": "^7.0.6",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.5",
"@testing-library/react-hooks": "^5.1.2",
"@testing-library/user-event": "^12.8.3",
"@types/jest": "^26.0.24",
"@types/lodash.xor": "^4.5.6",
"@types/node": "^15.14.0",
"@types/react": "^17.0.15",
"@types/react-slick": "^0.23.5",
"@types/styled-components": "^5.1.11",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.28.4",
"apollo": "^2.33.4",
"babel-loader": "^8.2.2",
"babel-plugin-styled-components": "^1.13.2",
"cypress": "^7.7.0",
"eslint": "^7.31.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-cypress": "^2.11.3",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^6.0.0",
"jest": "26.6.3",
"jest-styled-components": "^7.0.3",
"lint-staged": "^11.1.1",
"msw": "^0.33.2",
"node-fetch": "^2.6.1",
"plop": "^2.7.4",
"prettier": "2.3.2",
"start-server-and-test": "^1.13.1",
"storybook-addon-next-router": "^2.0.4",
"typescript": "^4.3.5"
}
}