-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.86 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 2.86 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
{
"name": "att",
"version": "1.0.1",
"description": "App de preguntas en realtime",
"main": "app.js",
"repository": "https://github.com/joelerll/att.git",
"author": "Joel Rodriguez <joelerll@gmail.com>",
"license": "MIT",
"scripts": {
"heroku-prebuild": "./deploy",
"dev": "cross-env NODE_ENV=development env-cmd .env nodemon server.js --config nodemon.json",
"predocs": "gitbook install .",
"predocs:s": "gitbook install .",
"docs": "gitbook build .",
"docs:s": "gitbook serve .",
"test": "cross-env NODE_ENV=testing env-cmd .env nyc mocha api/test/*.test.js --timeout 15000 --require api/test/helpers.api.routes.test.js --reporter spec --bail --exit",
"test:c": "cross-env NODE_ENV=testing env-cmd .env mocha api/test/*.controller.test.js --exit",
"test:m": "cross-env NODE_ENV=testing env-cmd .env mocha api/test/*.model.test.js --exit",
"test:r": "cross-env NODE_ENV=testing env-cmd .env mocha api/test/*.routes.test.js --timeout=20000 --require api/test/helpers.api.routes.test.js --exit",
"test:s": "cross-env NODE_ENV=testing env-cmd .env mocha api/test/sockets.test.js --timeout 15000 --reporter spec --bail --exit",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"coverage:codecov": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"db:init": "env-cmd .env node scripts/initDB.js",
"db:demo": "cross-env NODE_ENV=development node scripts/att_demo/initDB.js",
"cel": "browser-sync start --proxy 'http://localhost:8000' --ws --port 5000 --no-open --no-ui"
},
"nyc": {
"exclude": [
"**/docs.generator.js",
"build"
]
},
"engines": {
"node": "^8.2.0",
"yarn": "^1.0.0"
},
"dependencies": {
"ajv": "^6.2.1",
"body-parser": "^1.18.2",
"cheerio": "^1.0.0-rc.2",
"co": "^4.6.0",
"connect-mongo": "^2.0.1",
"cookie-parser": "^1.4.3",
"cors": "^2.8.4",
"cron": "^1.3.0",
"express": "^4.16.2",
"express-session": "^1.15.6",
"gitbook-plugin-api": "^1.1.0",
"jsondiffpatch": "^0.3.7",
"moment": "^2.21.0",
"mongoose": "^5.0.9",
"npm": "^6.0.1",
"shortid": "^2.2.8",
"soap": "^0.23.0",
"socket.io": "^2.0.4",
"tracer": "^0.8.12",
"validator": "^9.4.1",
"winston": "^3.0.0-rc0"
},
"devDependencies": {
"browser-sync": "^2.23.6",
"chai": "^4.1.2",
"chai-xml": "^0.3.2",
"codecov": "^3.0.0",
"coveralls": "^3.0.0",
"cross-env": "^5.1.3",
"del": "^3.0.0",
"env-cmd": "^7.0.0",
"gitbook-cli": "^2.3.2",
"husky": "^0.14.3",
"mocha": "^5.0.2",
"mocha-sinon": "^2.0.0",
"morgan": "^1.9.0",
"nodemon": "^1.17.1",
"npm-run-all": "^4.1.2",
"nunjucks": "^3.1.2",
"nyc": "^11.4.1",
"sinon": "^4.4.2",
"socket.io-client": "^2.0.4",
"supertest": "^3.0.0"
},
"husky": {
"hooks": {
"pre-commit": "yarn test:r"
}
}
}