/
package.json
110 lines (110 loc) · 3.51 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
{
"name": "ckomop0x-me-site-v2",
"version": "6.9.1",
"description": "Pavel Klochkov personal blog — ckomop0x.me",
"keywords": [
"nextjs",
"graphql",
"strapi",
"emotion"
],
"author": {
"name": "Pavel Klochkov",
"email": "paul.klochkov@gmail.com"
},
"license": "MIT",
"homepage": "https://ckomop0x.me",
"repository": {
"type": "git",
"url": "https://github.com/ckomop0x/ckomop0x.me.site.v2"
},
"type": "commonjs",
"scripts": {
"predev": "npm run gen",
"dev": "next dev -p 8000",
"build": "next build",
"postbuild": "next-sitemap",
"start": "next start",
"test": "jest --env=jsdom --ci --verbose --passWithNoTests",
"check-style": "prettier --check \"./**/*.{ts,tsx,js,jsx,json,md}\"",
"check-ts": "tsc",
"lint": "eslint \"./src/**/*.{ts,tsx,js}\" --fix",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"prepare": "husky install",
"gen": "npm run graphql:get-schema && npm run codegen",
"graphql:get-schema": "dotenv cross-var rover graph introspect %NEXT_PUBLIC_GRAPHQL_URL_LOCAL% > schema.graphql",
"graphql:gen-types": "apollo codegen:generate --localSchemaFile=schema.graphql --target=typescript --includes='src/queries/**/*.gql.ts' --tagName=gql --addTypename types",
"rover": "rover",
"dotenv": "dotenv",
"codegen": "graphql-codegen --config codegen.ts"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,json,csgis,md}": [
"prettier . --write --config ./.prettierrc"
],
"*.{ts,tsx}": [
"eslint -c ./.eslintrc.js --fix"
]
},
"dependencies": {
"@apollo/client": "^3.8.10",
"@apollo/rover": "^0.22.0",
"@babel/core": "^7.23.9",
"@emotion/babel-plugin": "^11.10.8",
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@storybook/addon-actions": "^8.0.0",
"@storybook/addon-essentials": "^8.0.0",
"@storybook/addon-links": "^8.0.0",
"@storybook/react": "^8.0.0",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.8",
"@types/react-test-renderer": "^18.0.7",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"babel-plugin-styled-components": "^2.1.4",
"bootstrap": "^4.6.2",
"date-fns": "^3.3.1",
"eslint-config-next": "^14.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"graphql": "^16.8.1",
"html-react-parser": "^5.1.1",
"jest-environment-jsdom": "^29.7.0",
"next": "^14.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-markdown": "^9.0.1"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/client-preset": "4.2.5",
"@graphql-codegen/introspection": "4.0.3",
"@storybook/nextjs": "8.0.5",
"babel-jest": "29.7.0",
"babel-loader": "9.1.3",
"cross-env": "7.0.3",
"cross-var": "1.1.0",
"dotenv": "16.4.5",
"dotenv-cli": "7.4.1",
"eslint": "8.57.0",
"eslint-plugin-storybook": "0.8.0",
"husky": "9.0.11",
"jest": "29.7.0",
"lint-staged": "15.2.2",
"next-sitemap": "4.2.3",
"prettier": "3.2.5",
"storybook": "8.0.5",
"ts-graphql-plugin": "3.2.0",
"ts-jest": "29.1.2",
"tsconfig-paths-webpack-plugin": "4.1.0",
"typescript": "5.4.3"
}
}