This repository has been archived by the owner on Jan 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
78 lines (78 loc) · 2.26 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
{
"name": "friendship_v2",
"version": "1.0.0",
"description": "Make Friendship backend clean",
"main": "src/server.js",
"repository": "https://github.com/chengjo0/friendship-backend.git",
"author": "John Cheng",
"license": "MIT",
"private": true,
"dependencies": {
"aws-sdk": "^2.269.1",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2015-node": "^6.1.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"bcryptjs": "^2.4.3",
"boom": "^7.2.0",
"cross-env": "^5.2.0",
"dotenv": "^6.0.0",
"expo-server-sdk": "^2.4.0",
"glue": "^5.0.0",
"good": "^8.1.1",
"good-console": "^7.1.0",
"good-squeeze": "^5.1.0",
"hapi": "^17.5.2",
"hapi-auth-jwt2": "^8.1.0",
"hapi-swagger": "^9.1.1",
"inert": "^5.1.0",
"joi": "^13.4.0",
"jsonwebtoken": "^8.3.0",
"knex": "^0.15.0",
"lodash": "^4.17.10",
"moment": "^2.22.2",
"node-cron": "^2.0.3",
"pg": "^7.4.3",
"prompt": "^1.0.0",
"simple-fixtures": "^1.0.1",
"socket.io": "^2.1.1",
"vision": "^5.3.3",
"white-out": "^2.0.2",
"yarn": "^1.10.1"
},
"devDependencies": {
"faker": "^4.1.0",
"husky": "^0.14.3",
"lint-staged": "^7.2.0",
"moment-random": "^1.0.4",
"nodemon": "^1.17.5",
"prettier": "^1.13.7"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,md}": [
"prettier --single-quote --trailing-comma all --write",
"git add"
]
},
"scripts": {
"start": "yarn build && node dist/server.js",
"watch": "cross-env NODE_ENV=development nodemon --exec babel-node src/server.js",
"build": "mkdir -p dist && babel src --out-dir dist --source-maps",
"babel-node": "babel-node --presets=/*a*/ --ignore='foo|bar|baz'",
"precommit": "lint-staged",
"register:admin": "babel-node bin/register_admin.js",
"db:migrate": "knex --knexfile db/knexfile.js migrate:latest",
"db:rollback": "knex --knexfile db/knexfile.js migrate:rollback",
"db:seed": "knex --knexfile db/knexfile.js seed:run",
"db:wipe": "babel-node bin/wipe_db.js",
"db:init": "yarn db:wipe && yarn db:migrate && yarn db:seed"
}
}