generated from Liinkiing/next-ts-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
128 lines (128 loc) · 4 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "next-ts-starter",
"version": "1.0.0",
"description": "A Next powered starter which include support for Apollo with GraphQL, SSR support, codegen, styled component / system and framer motion",
"scripts": {
"gql-gen": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 gql-gen",
"gql-gen:watch": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 gql-gen --watch",
"dev": "concurrently \"yarn dev:next\" \"yarn gql-gen:watch\" ",
"dev:next": "next",
"prebuild": "gql-gen",
"build": "next build",
"build:analyze": "cross-env ANALYZE=true next build",
"start": "next start",
"lint": "eslint --no-error-on-unmatched-pattern --cache --fix --report-unused-disable-directives {src,pages}/**/*.{js,ts,jsx,tsx}",
"ts:check": "tsc --pretty --skipLibCheck --noEmit",
"test": "jest --runInBand --coverage=false",
"test:ci": "yarn test --ci",
"test:watch": "yarn test --watch",
"cy:open": "yarn --cwd cypress cy:open",
"cy:run": "yarn --cwd cypress cy:run",
"cy:run:cy": "yarn --cwd cypress cy:run:ci",
"prepare": "husky install"
},
"keywords": [
"starter",
"template",
"styled-components",
"styled-system",
"framer-motion",
"graphql",
"graphql-codegen",
"codegen",
"apollo",
"ssr",
"next",
"nextjs",
"react",
"typescript",
"cypress"
],
"repository": {
"url": "https://github.com/Liinkiing/next-ts-graphql-apollo-starter",
"type": "git"
},
"bugs": {
"url": "https://github.com/Liinkiing/next-ts-graphql-apollo-starter/issues"
},
"author": "Omar Jbara <[email protected]>",
"dependencies": {
"@apollo/client": "^3.4.16",
"@apollo/react-ssr": "^4.0.0",
"@next/bundle-analyzer": "^12.0.1",
"@styled-system/should-forward-prop": "^5.1.5",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.1.2",
"apollo-link-fragment-argument": "^1.0.1",
"babel-jest": "^27.3.1",
"concurrently": "^6.3.0",
"cross-env": "^7.0.3",
"deepmerge": "^4.2.2",
"dotenv-load": "^2.0.0",
"framer-motion": "^5.0.0",
"https": "^1.0.0",
"jest": "^27.3.1",
"jest-styled-components": "^7.0.5",
"lodash-es": "^4.17.21",
"next": "^12.0.1",
"next-compose-plugins": "^2.2.1",
"next-fonts": "^1.5.1",
"next-images": "^1.8.1",
"nprogress": "^0.2.0",
"polished": "^4.1.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"styled-components": "^5.3.3",
"styled-system": "^5.1.5",
"ts-jest": "^27.0.7",
"@jest/globals": "^27.3.1"
},
"devDependencies": {
"@graphql-codegen/add": "^3.1.0",
"@graphql-codegen/cli": "^2.2.1",
"@graphql-codegen/fragment-matcher": "^3.1.0",
"@graphql-codegen/typescript": "^2.2.4",
"@graphql-codegen/typescript-apollo-client-helpers": "^2.1.6",
"@graphql-codegen/typescript-operations": "^2.1.8",
"@graphql-codegen/typescript-react-apollo": "^3.1.6",
"@liinkiing/eslint-config": "^1.2.9",
"@liinkiing/prettier-config": "^1.3.0",
"@types/jest": "^27.0.2",
"@types/node": "^16.11.6",
"@types/nprogress": "^0.2.0",
"@types/react": "^17.0.33",
"@types/react-dom": "^17.0.10",
"@types/styled-components": "^5.1.15",
"@types/styled-system": "^5.1.13",
"@types/styled-system__css": "^5.0.16",
"@types/webpack": "^5.28.0",
"babel-plugin-styled-components": "^1.13.3",
"eslint": "^8.17.0",
"graphql": "^15.7.2",
"graphql-tag": "^2.12.5",
"husky": "^7.0.4",
"lint-staged": "^11.2.6",
"prettier": "^2.6.2",
"typescript": "^4.4.4"
},
"resolutions": {
"@types/react": "^17.0.33"
},
"prettier": "@liinkiing/prettier-config",
"lint-staged": {
"*.md": [
"npx prettier --parser markdown --write"
],
"*.{css,scss,less}": [
"npx prettier --parser css --write"
],
"*.json": [
"npx prettier --parser json --write"
],
"*.{js,ts,jsx,tsx}": [
"eslint --fix",
"prettier --write",
"jest -c jest.config.js --bail --runInBand --findRelatedTests --coverage=false"
]
}
}