-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
76 lines (76 loc) · 2.31 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
{
"name": "csblogs-api",
"version": "2.0.0",
"engines": {
"node": "9.x.x",
"npm": "5.x.x"
},
"description": "An API to access CS Blogs feed and user data",
"main": "app/server.js",
"directories": {
"test": "tests"
},
"scripts": {
"start": "node ./app/server.js | bunyan",
"build-and-run": "rm -rf app/ && yarn build && node -r ./app/set-env.js ./app/server.js | bunyan",
"build": "babel src/ -d app/ --copy-files",
"lint": "eslint .",
"test": "istanbul cover ./node_modules/.bin/_mocha -- --compilers js:babel-register --require tests/chai-config.js --recursive ./tests/**/*.tests.js",
"deploy": "now --public --docker -e PORT=80 -e CSBLOGS_DATABASE_NAME=@csb-db-name -e CSBLOGS_DATABASE_USERNAME=@csb-db-user -e CSBLOGS_DATABASE_PASSWORD=@csb-db-password -e CSBLOGS_DATABASE_HOST=@csb-db-host -e CSBLOGS_DATABASE_PORT=@csb-db-port -e CSBLOGS_JWT_SECRET=@csb-jwt-secret -e CSBLOGS_DATABASE_LOG_SQL_STATEMENTS=true -e NODE_ENV=production"
},
"pre-commit": [
"lint",
"test"
],
"repository": {
"type": "git",
"url": "git+https://github.com/csblogs/api.csblogs.com.git"
},
"keywords": [
"blogs",
"api",
"rest",
"json"
],
"author": "Daniel Brown",
"license": "MIT",
"bugs": {
"url": "https://github.com/csblogs/api.csblogs.com/issues"
},
"homepage": "https://github.com/csblogs/api.csblogs.com#readme",
"devDependencies": {
"chai": "3.5.0",
"chai-as-promised": "6.0.0",
"eslint": "3.11.1",
"eslint-config-airbnb-base": "10.0.1",
"eslint-plugin-import": "2.2.0",
"eslint-plugin-mocha": "4.7.0",
"istanbul": "1.0.0-alpha.2",
"mocha": "3.2.0",
"now": "0.35.0",
"pre-commit": "1.1.3"
},
"dependencies": {
"ajv": "4.9.2",
"babel-cli": "6.18.0",
"babel-plugin-array-includes": "2.0.3",
"babel-preset-es2015": "6.18.0",
"babel-register": "6.18.0",
"body-parser": "1.15.2",
"bunyan": "1.8.5",
"csblogs-common": "csblogs/common#master",
"dotenv": "5.0.1",
"express": "4.14.0",
"helmet": "3.1.0",
"jsonwebtoken": "7.2.1",
"moment": "2.17.1",
"node-fetch": "1.6.3",
"node-uuid": "1.4.7",
"passport": "0.3.2",
"passport-custom": "1.0.5",
"passport-http": "0.3.0",
"passport-jwt": "2.2.1",
"request": "2.79.0",
"urijs": "1.18.4"
}
}