-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
40 lines (40 loc) · 1.27 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
{
"name": "latex-snippets",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"postinstall": "cd client && npm i && cd .. && npm run client-build",
"start": "npm run backend",
"backend": "if [ -z $MONGODB_URI ]; then concurrently -i --default-input-target 1 \"npm run db\" \"npm run server\"; else npm run server; fi",
"db": "cd server && if [ ! -d ./data ]; then mkdir ./data; fi && mongod --dbpath ./data",
"server": "cd server && nodemon server.js",
"client": "cd client && npm start",
"client-build": "cd client && npm run build && rm -rf ../server/build && mv build ../server"
},
"repository": {
"type": "git",
"url": "git+https://github.com/st-tran/LaTeX-Snippets.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/st-tran/LaTeX-Snippets/issues"
},
"homepage": "https://github.com/st-tran/LaTeX-Snippets#readme",
"dependencies": {
"bcryptjs": "^2.4.3",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"express-session": "^1.17.1",
"mongodb": "^3.6.0",
"mongoose": "^5.10.2",
"mongoose-fuzzy-searching": "^1.3.1",
"prompt": "^1.0.0"
},
"devDependencies": {
"concurrently": "^5.3.0",
"nodemon": "^2.0.4"
}
}