generated from resir014/nextjs-typescript-quickstart
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
163 lines (163 loc) · 5.67 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
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
157
158
159
160
161
162
163
{
"name": "hanihusam.com",
"version": "1.3.0",
"engines": {
"node": "20"
},
"type": "module",
"sideEffects": false,
"description": "A remix version of hanihusam.com",
"repository": {
"type": "git",
"url": "git https://github.com/hanihusam/hanihusam.com.git"
},
"keywords": [],
"author": "Hani Husamuddin <[email protected]> (https://hanihusam.com/)",
"license": "GPL-3.0-only",
"bugs": {
"url": "https://github.com/hanihusam/hanihusam.com/issues"
},
"homepage": "https://github.com/hanihusam/hanihusam.com#readme",
"scripts": {
"prepare": "husky install",
"build": "run-s build:*",
"build:remix": "remix vite:build",
"build:info": "node ./other/build-info.js",
"build:server": "esbuild --target=es2022 --platform=node --format=esm ./server/index.ts --outfile=build/server.js",
"dev": "run-p dev:*",
"dev:build": "cross-env NODE_ENV=development npm run build:server -- --watch",
"dev:content": "tsx -r esbuild-register -r dotenv/config other/refresh-on-content-change.ts",
"dev:app": "node ./server/dev-server.js",
"setup": "prisma generate && prisma migrate deploy && prisma db seed",
"start": "cross-env NODE_ENV=production node ./build/server.js",
"curl:blog": "curl --HEAD --silent http://localhost:$PORT/blog > /dev/null || true",
"prime-cache:prod": "cross-env PORT=4001 npx start-server-and-test start http-get://localhost:4001/build/info.json curl:blog && echo cache primed ⚡️",
"prime-cache:mocks": "cross-env PORT=4001 npx start-server-and-test start:mocks http-get://localhost:4001/build/info.json curl:blog && echo cache primed ⚡️",
"test": "vitest",
"test:e2e:dev": "start-server-and-test dev http://localhost:3000 \"npx cypress open\"",
"pretest:e2e:run": "npm run build",
"test:e2e:run": "cross-env PORT=8811 start-server-and-test start:mocks http://localhost:8811 \"npx cypress run\"",
"lint": "eslint --ignore-pattern .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
"lint:fix": "npm run lint --fix && npm run format",
"lint:strict": "eslint --max-warnings=0 src",
"format": "prettier --write \"**/*. (js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|gql|graphql|mdx|vue)\"",
"typecheck": "tsc --noEmit --incremental false",
"validate": "./other/validate"
},
"eslintIgnore": [
"/node_modules",
"/build",
"/public/build"
],
"dependencies": {
"@cld-apis/types": "^0.1.6",
"@epic-web/cachified": "^5.2.0",
"@epic-web/config": "^1.16.1",
"@epic-web/invariant": "^1.0.0",
"@epic-web/remember": "^1.1.0",
"@headlessui/react": "^2.2.0",
"@heroicons/react": "^2.1.5",
"@octokit/plugin-throttling": "^9.3.2",
"@octokit/rest": "^21.0.2",
"@prisma/client": "^5.22.0",
"@reach/checkbox": "^0.18.0",
"@remix-run/node": "^2.14.0",
"@remix-run/react": "^2.14.0",
"@remix-run/serve": "^2.14.0",
"@remix-run/server-runtime": "^2.14.0",
"better-sqlite3": "^11.5.0",
"chokidar": "^4.0.1",
"cloudinary-build-url": "^0.2.4",
"clsx": "^2.1.1",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"date-fns": "^4.1.0",
"dotenv": "^16.3.1",
"esbuild": "^0.24.0",
"execa": "^9.5.1",
"express": "^4.21.0",
"framer-motion": "^10.16.4",
"gray-matter": "^4.0.3",
"isbot": "^3.7.0",
"litefs-js": "^1.1.2",
"lodash.throttle": "^4.1.1",
"lru-cache": "^9.1.2",
"match-sorter": "^6.3.1",
"mdast-util-mdx-jsx": "^3.1.3",
"mdx-bundler": "^10.0.3",
"morgan": "^1.10.0",
"p-queue": "^7.3.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"reading-time": "^1.5.0",
"rehype-autolink-headings": "^7.1.0",
"rehype-pretty-code": "^0.14.0",
"rehype-prism-plus": "^2.0.0",
"rehype-slug": "^6.0.0",
"remark-gfm": "^4.0.0",
"shiki": "^1.23.1",
"source-map-support": "^0.5.21",
"tailwind-merge": "^2.5.4",
"unist-util-visit": "^5.0.0",
"uuid": "^11.0.3"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@faker-js/faker": "^7.6.0",
"@remix-run/dev": "^2.14.0",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/typography": "^0.5.15",
"@testing-library/cypress": "^8.0.3",
"@testing-library/dom": "^8.19.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/better-sqlite3": "^7.6.11",
"@types/compression": "^1.7.2",
"@types/express": "^5.0.0",
"@types/lodash.throttle": "^4.1.9",
"@types/morgan": "^1.9.4",
"@types/node": "^18.16.17",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/source-map-support": "^0.5.10",
"@types/uuid": "^10.0.0",
"@typescript-eslint/utils": "^8.15.0",
"@vitejs/plugin-react": "^2.2.0",
"@vitest/coverage-c8": "^0.24.5",
"autoprefixer": "^10.4.20",
"esbuild-register": "^3.4.2",
"eslint": "^9.15.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"happy-dom": "^15.11.0",
"husky": "^7.0.0",
"lint-staged": "^15.2.10",
"msw": "^1.3.2",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.49",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.8",
"prisma": "^5.22.0",
"tailwindcss": "^3.4.15",
"tsx": "^4.19.2",
"typescript": "^5.1.3",
"vite": "^5.4.11",
"vite-env-only": "^3.0.3",
"vite-tsconfig-paths": "^5.1.2",
"vitest": "^2.1.5"
},
"prisma": {
"seed": "tsx prisma/seed.ts"
},
"prettier": "@epic-web/config/prettier",
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --cache --fix",
"prettier -w"
],
"*.{json,css,scss,md,mdx}": [
"prettier -w"
]
}
}