-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 3.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
{
"name": "tb-core-api",
"description": "ThinBlock's core API built on Restify",
"version": "1.0.0",
"author": "Hamza Baig",
"repository": {
"type": "git",
"url": "https://github.com/thinblock/tb-core-api"
},
"engines": {
"node": "8.11.2"
},
"dependencies": {
"@types/twilio": "0.0.9",
"async": "^2.6.1",
"await-to-js": "^2.0.1",
"bcrypt": "^3.0.0",
"bignumber.js": "^7.2.1",
"common-tags": "^1.8.0",
"email-templates": "^4.0.3",
"glob-fs": "^0.1.7",
"hat": "^0.0.3",
"joi": "^13.4.0",
"jsonwebtoken": "^8.3.0",
"mongoose": "^4.7.5",
"node-uuid": "^1.4.8",
"nodemailer": "^4.6.7",
"pg": "^7.4.3",
"promievent": "^0.0.1",
"pug": "^2.0.3",
"restify": "^4.1.1",
"restify-await-promise": "^1.0.2",
"restify-errors": "^6.1.1",
"restify-joi-middleware": "^5.0.0",
"restify-logger": "^2.0.1",
"sequelize": "^4.38.0",
"twilio": "^3.19.1",
"web3": "^1.0.0-beta.34"
},
"devDependencies": {
"@types/async": "^2.0.49",
"@types/bcrypt": "^2.0.0",
"@types/chai": "^3.4.34",
"@types/common-tags": "^1.4.0",
"@types/email-templates": "^3.5.0",
"@types/joi": "^13.3.0",
"@types/jsonwebtoken": "^7.2.8",
"@types/mocha": "^2.2.35",
"@types/mongoose": "^4.7.2",
"@types/node-uuid": "^0.0.28",
"@types/nodemailer": "^4.6.2",
"@types/restify": "^2.0.36",
"@types/restify-errors": "^4.3.3",
"@types/sequelize": "^4.27.23",
"@types/simple-oauth2": "^1.1.2",
"@types/sinon": "^5.0.1",
"@types/supertest": "^2.0.0",
"@types/underscore": "^1.8.8",
"@types/web3": "^1.0.0",
"apiaryio": "^1.0.5",
"chai": "^3.5.0",
"coveralls": "^2.11.16",
"dot-only-hunter": "^1.0.3",
"husky": "^1.0.0-rc.13",
"istanbul": "^0.4.5",
"joi-route-to-swagger": "github:hamxabaig/joi-route-to-swagger#master",
"lint-staged": "^7.2.0",
"mocha": "^3.2.0",
"sequelize-cli": "^4.0.0",
"sinon": "^6.1.3",
"supertest": "^2.0.0",
"tslint": "^5.11.0",
"tslint-eslint-rules": "^5.3.1",
"typescript": "^2.1.4",
"write-yaml": "^1.0.0"
},
"scripts": {
"lint": "tslint -e \"node_modules/**/*.ts\" --project .",
"build": "node_modules/.bin/tsc",
"test": "npm run build && NODE_ENV='test' node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha './{,!(node_modules)/**}/*.spec.js'",
"cover": "npm run test && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"start": "npm run build && node server.js",
"serve": "node server.js",
"postinstall": "rm -rf ./node_modules/web3/*.ts",
"documentation": "node config/apiaryio.js",
"hunt": "dot-only-hunter app",
"precommit": "lint-staged && npm run build && npm run hunt",
"create-migration": "npm run build && node scripts/create_migration",
"migrate": "npm run build && node_modules/.bin/sequelize db:migrate --url $TB_CORE_API_DB",
"undo-migrate": "npm run build && node_modules/.bin/sequelize db:migrate:undo --url $TB_CORE_API_DB"
},
"lint-staged": {
"*.ts": [
"tslint --project tsconfig.json"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run precommit"
}
}
}