-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 3.27 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 3.27 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "apollo-react-template",
"version": "0.0.0-PLACEHOLDER",
"description": "Apollo React Template",
"repository": {
"type": "git",
"url": "git+https://github.com/vu-bui/apollo-react-template.git"
},
"license": "MIT",
"main": "index.js",
"scripts": {
"prepare": "cross-env PM2_HOME=.pm2 pm2 install typescript && cross-env PM2_HOME=.pm2 pm2 kill && cd ui && npm i",
"clean": "run-p clean:**",
"clean:build": "rimraf build build.zip ui/build .build",
"clean:dev": "rimraf package-lock.json yarn.lock node_modules ui/package-lock.json ui/yarn.lock ui/node_modules .pm2",
"build": "npm-run-all clean:build -p build:**",
"build:api": "tsc && copyfiles -u 1 -e \"**/*.ts\" \"src/**/*\" build && copyfiles package.json ecosystem.config.js build && cross-env-shell \"rexreplace '0.0.0-PLACEHOLDER' '$VERSION' build/package.json\"",
"build:ui": "cd ui && npm run build && copyfiles -u 1 \"build/**/*\" ../build/public",
"dist": "run-s build dist:ins dist:zip",
"dist:ins": "cd build && npm i --production",
"dist:zip": "cd build && bestzip ../build.zip .",
"dev": "cross-env PM2_HOME=.pm2 pm2 start ecosystem.dev.config.js --no-daemon",
"dev:ui": "cd ui && npm run dev",
"start": "cross-env PM2_HOME=.pm2 pm2 start --no-daemon",
"lint": "eslint --ext ts .",
"lint:ui": "cd ui && npm run lint",
"lint:fix": "npm run lint -- --fix",
"test": "echo \"no test specified\"",
"test:ui": "cd ui && npm test",
"db:reset": "ts-node src/db/reset.ts",
"db:seed": "ts-node src/db/seed.ts",
"swagger": "cross-env swagger_swagger_fileName=src/api/swagger/swagger.yaml swagger project edit"
},
"dependencies": {
"apollo-server-express": "2.15.0",
"app-root-path": "3.0.0",
"async-exit-hook": "2.0.1",
"compression": "1.7.4",
"cors": "2.8.5",
"cross-env": "7.0.2",
"dotenv": "8.2.0",
"dotenv-expand": "5.1.0",
"express": "4.17.1",
"graphql": "15.1.0",
"graphql-playground-html": "1.6.25",
"lodash": "4.17.15",
"mongoose": "5.9.20",
"passport": "0.4.1",
"passport-http-bearer": "1.0.1",
"passport-jwt": "4.0.0",
"pluralize": "8.0.0",
"pm2": "4.4.0",
"source-map-support": "0.5.19",
"spdy": "4.0.2",
"swagger-express-middleware": "4.0.0",
"tslib": "2.0.0",
"winston": "3.3.2",
"winston-daily-rotate-file": "4.5.0",
"zone.js": "0.10.3"
},
"devDependencies": {
"@types/app-root-path": "1.2.4",
"@types/compression": "1.7.0",
"@types/cors": "2.8.6",
"@types/errorhandler": "1.5.0",
"@types/lodash": "4.14.156",
"@types/mongoose": "5.7.27",
"@types/node": "14.0.13",
"@types/passport": "1.0.3",
"@types/passport-http-bearer": "1.0.35",
"@types/passport-jwt": "3.0.3",
"@types/pluralize": "0.0.29",
"@types/spdy": "3.4.4",
"@types/swagger-express-middleware": "1.0.10",
"@typescript-eslint/eslint-plugin": "3.4.0",
"@typescript-eslint/eslint-plugin-tslint": "3.4.0",
"@typescript-eslint/parser": "3.4.0",
"bestzip": "2.1.5",
"copyfiles": "2.3.0",
"errorhandler": "1.5.1",
"eslint": "6.8.0",
"npm-run-all": "4.1.5",
"rexreplace": "6.0.1",
"rimraf": "3.0.2",
"ts-node": "8.10.2",
"tslint": "6.1.2",
"typescript": "3.9.5",
"utility-types": "3.10.0"
}
}