Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.64 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) · 2.64 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
{
"name": "saas-app",
"version": "1.2.0",
"license": "MIT",
"scripts": {
"dev": "tsnd --respawn --transpileOnly --project tsconfig.server.json --ignore-watch .next -- server/app.ts",
"build": "next build && tsc --project tsconfig.server.json",
"postinstall": "next build && rm -rf production-server/ & tsc --project tsconfig.server.json",
"start": "node production-server/server/app.js",
"now": "now && now alias",
"now-rm": "now rm saas-app --safe --yes",
"lint": "eslint . --ext .ts,.tsx",
"test": "jest --coverage --passWithNoTests",
"processes-3000": "ss -lptn 'sport = :3000'",
"processes-node": "ps -e|grep node",
"kill-processes-at-port": "lsof -i tcp:3000 | awk 'NR!=1 {print $2}' | xargs kill",
"docker:build": "yarn lint && yarn test && docker image build . -t saas-app:latest",
"docker:run": "yarn docker:clean && yarn docker:runHelper",
"docker:runHelper": "docker run --name saas-app-latest --env-file .env -d -p 8000:8000 saas-app:latest",
"docker:clean": "docker rm -f saas-app-latest || true",
"docker:taillogs": "docker logs -f saas-app-latest",
"docker:debug": "yarn docker:build && yarn docker:run && yarn docker:taillogs"
},
"jest": {
"coverageDirectory": "./.coverage"
},
"dependencies": {
"@material-ui/core": "4.1.3",
"@material-ui/styles": "^4.1.2",
"@types/node": "12.0.10",
"dotenv": "^8.0.0",
"downshift": "3.2.10",
"express": "4.17.1",
"he": "1.2.0",
"helmet": "3.18.0",
"htmlescape": "1.1.1",
"isomorphic-unfetch": "3.0.0",
"keycode": "^2.2.0",
"lodash": "4.17.11",
"marked": "0.6.3",
"mobx": "5.14.0",
"mobx-react": "6.1.3",
"moment": "2.24.0",
"next": "9.1.1",
"nprogress": "0.2.0",
"react": "16.10.2",
"react-dom": "16.10.2",
"react-jss": "8.6.1",
"react-mentions": "3.0.2",
"react-stripe-checkout": "2.6.3",
"socket.io-client": "^2.2.0",
"typescript": "3.6.3"
},
"devDependencies": {
"@types/express": "4.17.0",
"@types/he": "1.1.0",
"@types/helmet": "0.0.43",
"@types/htmlescape": "1.1.1",
"@types/lodash": "4.14.135",
"@types/marked": "0.6.5",
"@types/material-ui": "0.21.6",
"@types/nprogress": "0.2.0",
"@types/react": "16.8.22",
"@types/react-dom": "16.8.4",
"@types/react-jss": "8.6.3",
"@types/socket.io-client": "^1.4.32",
"@types/styled-jsx": "2.2.8",
"@typescript-eslint/eslint-plugin": "^2.4.0",
"@typescript-eslint/parser": "^2.4.0",
"eslint": "^6.5.1",
"eslint-config-prettier": "^6.4.0",
"eslint-plugin-prettier": "^3.1.1",
"prettier": "^1.18.2",
"ts-node-dev": "^1.0.0-pre.40"
}
}