-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
156 lines (156 loc) · 5.39 KB
/
Copy pathpackage.json
File metadata and controls
156 lines (156 loc) · 5.39 KB
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
{
"name": "diginext-site",
"version": "1.1.0",
"scripts": {
"dev": "next dev",
"start": "next start",
"serve": "serve ./out",
"build": "next build",
"build:dev": "next build",
"build:prod": "cross-env NODE_ENV=production NEXT_PUBLIC_ENV=production next build",
"build:stats": "cross-env ANALYZE=true npm run build",
"prerelease": "npx semantic-release --no-ci && npm run pkg-version && git add . && git commit -m 'docs(changelog): update change log before releasing' && git push origin prerelease",
"release": "npm run clean && npm run build && npm run export:prod && npm run copy-to-cli && npm run prerelease",
"pkg-version": "npm pkg set version=$(echo $(git describe --tags $(git rev-list --tags --max-count=1)) | cut -c2-)",
"export": "next export",
"export:dev": "next export",
"export:prod": "cross-env NODE_ENV=production NEXT_PUBLIC_ENV=production next export",
"export:cli": "npm run format && npm run clean && npm run build:prod && npm run export:prod && npm run copy-to-cli",
"export:cli-dev": "npm run format && npm run clean && npm run build:dev && npm run export:dev && npm run copy-to-cli",
"export:cli-prod": "npm run format && npm run clean && npm run build:prod && npm run export:prod && npm run copy-to-cli",
"copy-to-cli": "rimraf ../diginext/public && ncp ./out ../diginext/public",
"clean": "rimraf .next out",
"lint": "npm run check-types && next lint",
"format": "npm run check-types && next lint --fix && prettier '**/*.{js,ts,tsx,json,yaml}' --write",
"check-types": "tsc --noEmit --pretty",
"check-types-cypress": "tsc --noEmit --pretty && tsc --project cypress --noEmit --pretty",
"test": "jest",
"commit": "git add . && cz && git push origin",
"cypress": "cypress open",
"cypress:headless": "cypress run",
"e2e": "start-server-and-test dev http://localhost:3000 cypress",
"e2e:headless": "start-server-and-test dev http://localhost:3000 cypress:headless",
"prepare": "husky install",
"postbuild": "next-sitemap"
},
"dependencies": {
"@ant-design/icons": "^4.8.0",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@monaco-editor/react": "^4.6.0",
"@next/env": "^13.1.6",
"@tanstack/react-query": "^4.20.4",
"@tanstack/react-query-devtools": "^4.20.4",
"ahooks": "^3.8.1",
"antd": "^5.19.1",
"axios": "^1.7.7",
"babel-loader": "^9.2.1",
"babel-plugin-module-resolver": "^5.0.2",
"class-validator": "^0.14.0",
"cmdk": "^0.2.0",
"cookies-next": "^2.1.1",
"dayjs": "^1.11.7",
"diginext-utils": "^2.0.32",
"dotenv": "^16.0.3",
"html-react-parser": "^3.0.7",
"humanize-duration-ts": "^2.1.1",
"humanize-number": "^0.0.2",
"inquirer": "^8.2.5",
"lodash": "^4.17.21",
"ncp": "^2.0.0",
"next": "^13.0.6",
"next-seo": "^5.14.1",
"next-sitemap": "^3.1.32",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"sanitize-html": "^2.9.0",
"sass": "^1.65.1",
"socket.io-client": "^4.5.4",
"usehooks-ts": "^2.9.1",
"validator": "^13.9.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@commitlint/cz-commitlint": "^17.3.0",
"@next/bundle-analyzer": "^13.0.6",
"@percy/cli": "^1.16.0",
"@percy/cypress": "^3.1.2",
"@semantic-release/changelog": "^6.0.2",
"@semantic-release/git": "^10.0.1",
"@tailwindcss/typography": "^0.5.8",
"@testing-library/cypress": "^8.0.7",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/jest": "^29.2.3",
"@types/lodash": "^4.14.191",
"@types/node": "^18.11.10",
"@types/react": "^18.0.26",
"@types/sanitize-html": "^2.8.0",
"@types/validator": "^13.7.12",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"autoprefixer": "^10.4.13",
"commitizen": "^4.2.5",
"cross-env": "^7.0.3",
"cssnano": "^5.1.14",
"cypress": "^11.2.0",
"eslint": "^8.28.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-next": "^13.0.6",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.1.6",
"eslint-plugin-jest-dom": "^4.0.3",
"eslint-plugin-jest-formatting": "^3.1.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^8.0.0",
"eslint-plugin-tailwindcss": "^3.7.1",
"eslint-plugin-testing-library": "^5.9.1",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^8.0.2",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"lint-staged": "^13.0.4",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.19",
"prettier": "^2.8.4",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.5",
"serve": "^14.1.2",
"start-server-and-test": "^1.14.0",
"tailwindcss": "^3.2.4",
"typescript": "^4.9.3"
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"release": {
"branches": [
"prerelease",
"dev/goon"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog"
]
},
"repository": {
"type": "git",
"url": "https://github.com/digitopvn/diginext-admin.git"
},
"bugs": {
"url": "https://github.com/digitopvn/diginext-admin/issues"
},
"homepage": "https://diginext.site",
"author": "Goon Nguyen (https://github.com/mrgoonie)"
}