-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
127 lines (127 loc) · 4.17 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
{
"name": "ts-boilerplate-graphql-mongodb",
"version": "1.0.0",
"description": "Full Stack boilerplate with JWT authentication and MongoDB",
"author": "Scott Jason",
"license": "MIT",
"repository": {
"type": "git",
"url": "git@github.com:scottjason/ts-boilerplate-graphql-mongodb.git"
},
"engines": {
"npm": "8.x || 9.x",
"node": "18.x"
},
"keywords": [
"jwt",
"react",
"node",
"mongo",
"apollo",
"graphql",
"mongodb",
"mongoose",
"express",
"webpack",
"typescript",
"boilerplate",
"authentication"
],
"scripts": {
"start": "node dist/server.bundle.js",
"build": "run-s clean:dist build:client:prod build:server:prod",
"dev": "run-p build:server:dev start:server:dev start:client:dev",
"clean:dist": "rm -rf dist && mkdir dist",
"start:client:dev": "cross-env NODE_ENV=development webpack serve --config webpack/webpack.dev.config.js --mode=development",
"start:server:dev": "cross-env NODE_ENV=development webpack --watch --progress --config webpack/webpack.server.config.js --mode=development",
"build:server:dev": "cross-env NODE_ENV=development webpack --config webpack/webpack.server.config.js --mode=development",
"build:client:prod": "cross-env NODE_ENV=production webpack --config webpack/webpack.prod.config.js --mode=production",
"build:server:prod": "cross-env NODE_ENV=production webpack --config webpack/webpack.server.config.js --mode=production",
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint-fix": "npm run lint -- --fix",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\""
},
"lint-staged": {
"*.(ts|tsx|js|jsx)": [
"npm run --silent lint:fix"
]
},
"husky": {
"hooks": {
"pre-commit": "npm dedupe && lint-staged && pretty-quick --staged"
}
},
"dependencies": {
"@apollo/client": "^3.5.5",
"apollo-server-express": "^3.6.1",
"bcryptjs": "^2.4.3",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"graphql": "^16.0.1",
"jsonwebtoken": "^8.5.1",
"mongoose": "^6.0.14",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-hook-form": "^7.22.5",
"react-icons": "^4.3.1",
"react-router": "^6.2.1",
"react-router-dom": "^6.2.1",
"styled-components": "^5.3.3"
},
"devDependencies": {
"@babel/core": "^7.18.0",
"@babel/plugin-proposal-class-properties": "^7.12.13",
"@babel/plugin-proposal-object-rest-spread": "^7.18.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.12.17",
"@babel/preset-react": "^7.12.13",
"@babel/preset-typescript": "^7.16.7",
"@types/bcryptjs": "^2.4.2",
"@types/compression": "^1.7.2",
"@types/cookie-parser": "^1.4.3",
"@types/express": "^4.17.13",
"@types/jsonwebtoken": "^8.5.8",
"@types/mongoose": "^5.11.97",
"@types/node": "^17.0.35",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/react-router": "^5.1.17",
"@types/styled-components": "^5.1.19",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"babel-loader": "^8.2.2",
"copy-webpack-plugin": "^7.0.0",
"cross-env": "^7.0.3",
"css-loader": "^5.0.2",
"css-minimizer-webpack-plugin": "^3.4.1",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.30.0",
"fork-ts-checker-webpack-plugin": "^7.2.8",
"html-webpack-plugin": "^5.2.0",
"husky": "^5.0.9",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"mini-css-extract-plugin": "^1.3.8",
"nodemon": "^2.0.16",
"nodemon-webpack-plugin": "^4.7.1",
"npm-run-all": "^4.1.5",
"postcss": ">=7.0.36",
"postcss-loader": "^5.0.0",
"postcss-preset-env": "^7.4.4",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"style-loader": "^3.3.1",
"ts-loader": "^9.2.6",
"typescript": "^4.6.4",
"webpack": "^5.23.0",
"webpack-cli": "^4.5.0",
"webpack-dev-server": "^4.8.1",
"webpack-merge": "^5.7.3",
"webpack-node-externals": "^3.0.0"
}
}