-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
74 lines (74 loc) · 2.32 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
{
"name": "nextjs-starter",
"version": "2.0.0",
"description": "A NextJS starter with API routes using MongoDB",
"author": "Bits of Good <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/GTBitsOfGood/nextjs-starter.git"
},
"bugs": {
"url": "https://github.com/GTBitsOfGood/nextjs-starter/issues"
},
"homepage": "https://github.com/GTBitsOfGood/nextjs-starter#readme",
"scripts": {
"dev": "next -p 3000",
"build": "next build",
"start": "next build && next start",
"lint": "next lint",
"lint:fix": "next lint --fix",
"secrets:linux": "echo Enter Bitwarden Password: && read BW_PASSWORD && (bw logout || exit 0) && export BW_SESSION=`bw login [email protected] $BW_PASSWORD --raw` && npm run secrets:get",
"secrets:windows": "set /p BW_PASSWORD=Enter Bitwarden Password:&& (bw logout || VER>NUL) && npm run secrets:login",
"secrets:login": "FOR /F %a IN ('bw login [email protected] %BW_PASSWORD% --raw') DO SET BW_SESSION=%a && npm run secrets:get",
"secrets:get": "bw sync && bw get item [ID_OR_NAME_FROM_STEP_2] | fx .notes > \".env\""
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx}": [
"eslint"
],
"*.{js,jsx,css}": [
"prettier --write"
]
},
"dependencies": {
"bcryptjs": "^2.4.3",
"focus-visible": "^5.2.0",
"iron-session": "^6.0.5",
"isomorphic-unfetch": "^3.1.0",
"mongodb": "^4.0.0",
"mongoose": "^6.1.6",
"next": "^12.1.0",
"next-images": "^1.8.1",
"normalize.css": "^8.0.1",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"swr": "^1.1.2"
},
"devDependencies": {
"@babel/core": "^7.16.7",
"@babel/eslint-parser": "^7.16.5",
"@bitwarden/cli": "^2023.2.0",
"@next/eslint-plugin-next": "^12.0.8",
"cross-env": "^7.0.3",
"eslint": "^8.7.0",
"eslint-config-next": "^12.0.8",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"fx": "^20.0.2",
"husky": "^7.0.1",
"lint-staged": "^12.1.7",
"prettier": "2.5.1",
"prettier-eslint": "^13.0.0",
"vercel": "^23.1.2"
}
}