This repository has been archived by the owner on Feb 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
115 lines (115 loc) · 4.94 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
{
"name": "nextjs-next-boilerplate",
"author": "Sila Rim",
"email": "[email protected]",
"version": "1.0.0",
"private": false,
"license": "MIT",
"scripts": {
"============================= SETUP ====================================": "",
"first-time-setup": "yarn && yarn link-generator",
"ycom": "yalc add components-next --no-pure",
"ycom-update": "rm -rf yalc.lock && yalc update components-next --no-pure",
"clean:yalc": "rm -rf .yalc",
"link-generator": "cd generator && yarn local-link && cd ../",
"============================= DEVELOPMENT ====================================": "",
"dev": "node server.js",
"dev:next": "next",
"start:next": "next start",
"start": "NODE_ENV=production node server.js",
"prod": "next start",
"dev:gen": "yarn codegen && next",
"docker-run": "docker run -p 3000:3000 nextjs-docker",
"============================ BUILD & DEPLOYMENT ==================================": "",
"serve": "serve -s out",
"export": "yarn build && next export",
"build": "next build",
"docker-build": "docker build -t nextjs-docker .",
"============================== LINT & TEST =====================================": "",
"lint:fix": "eslint --fix --cache --ext .ts,.tsx --format=pretty ./src && npm run lint:style",
"lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
"lint:prettier": "prettier --check \"src/**/*\" --end-of-line auto",
"lint:style": "stylelint --fix \"src/**/*.less\" --syntax less",
"test": "jest --watch",
"test:ci": "jest --ci",
"============================== GENERATOR =====================================": "",
"gen:docs": "cd src/docs && pandoc *.md metadata.yaml -s -o allDocs.md && mv allDocs.md ../../README.md && cd ../",
"codegen": "DOTENV_CONFIG_PATH=./.env graphql-codegen -r dotenv/config --config codegen.yml",
"codegen:watch": "yarn codegen -- --watch",
"hoc": "cd ./src && yo nextjs-boilerplate:hoc --force && cd ../",
"page": "cd ./src && yo nextjs-boilerplate:page --force",
"com": "cd ./src && yo nextjs-boilerplate:component --force",
"enum": "cd ./src && yo nextjs-boilerplate:enum --force",
"hook": "cd ./src && yo nextjs-boilerplate:hook --force",
"context": "cd ./src && yo nextjs-boilerplate:context --force",
"constant": "cd ./src && yo nextjs-boilerplate:constant --force",
"store": "cd ./src && yo nextjs-boilerplate:store --force"
},
"dependencies": {
"@ant-design/icons": "^4.7.0",
"@apollo/client": "^3.5.9",
"@hookstate/core": "^3.0.13",
"@hookstate/labelled": "^3.0.0",
"@tailwindcss/line-clamp": "^0.3.1",
"ahooks": "^3.1.9",
"axios": "^0.26.0",
"classnames": "^2.3.1",
"components-next": "file:.yalc/components-next",
"dayjs": "^1.10.8",
"graphql": "^16.3.0",
"graphql-tag": "^2.12.6",
"i18next": "21.4.2",
"i18next-browser-languagedetector": "^6.1.2",
"lodash": "^4.17.21",
"next": "^12.1.0",
"next-apollo": "^5.0.8",
"nprogress": "^0.2.0",
"nuka-carousel": "^4.8.4",
"postcss": "^8.4.7",
"rc-dropdown": "^3.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-fast-compare": "^3.2.0",
"react-i18next": "11.11.1",
"react-loading-skeleton": "^3.0.3",
"react-markdown": "^8.0.0",
"react-responsive": "^9.0.0-beta.6",
"react-syntax-highlighter": "^15.4.5",
"tailwind-override": "^0.6.1",
"tailwindcss": "^3.0.23"
},
"devDependencies": {
"@graphql-codegen/cli": "^2.6.2",
"@graphql-codegen/import-types-preset": "^2.1.12",
"@graphql-codegen/introspection": "^2.1.1",
"@graphql-codegen/plugin-helpers": "^2.4.2",
"@graphql-codegen/typescript": "^2.4.5",
"@graphql-codegen/typescript-operations": "^2.3.2",
"@graphql-codegen/typescript-react-apollo": "^3.2.8",
"@hookstate/devtools": "^3.0.1",
"@next/eslint-plugin-next": "^12.1.0",
"@types/lodash": "^4.14.178",
"@types/node": "^16.11.7",
"@types/nprogress": "^0.2.0",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.13",
"@types/react-syntax-highlighter": "^13.5.2",
"@types/tailwindcss": "^3.0.9",
"@umijs/fabric": "^2.10.2",
"autoprefixer": "^10.4.2",
"babel-plugin-import": "^1.13.3",
"dotenv": "^16.0.0",
"husky": "^7.0.4",
"raw-loader": "^4.0.2",
"react-dev-inspector": "^1.7.1",
"serve": "^13.0.2",
"typescript": "4.6.2",
"utility-types": "^3.10.0",
"webpack": "^5.70.0",
"yarn": "^1.16.0",
"yo": "^4.3.0"
},
"engines": {
"yarn": ">=1.22.10"
}
}