1 | {
|
2 | "name": "smart-house-backend",
|
3 | "description": "Smart House BE",
|
4 | "main": "dist/index.js",
|
5 | "private": false,
|
6 | "engines": {
|
7 | "node": ">=5.11.x",
|
8 | "npm": ">=3.3.x"
|
9 | },
|
10 | "scripts": {
|
11 | "start": "gulp serve",
|
12 | "build": "gulp",
|
13 | "lint": "gulp lint",
|
14 | "test": "npm-run-all -s test:*",
|
15 | "test:unit": "cross-env ENV_CONFIG=test NODE_ENV=test mocha test/runners/unit.js",
|
16 | "test:integration": "cross-env ENV_CONFIG=test NODE_ENV=test mocha test/runners/integration.js",
|
17 | "test-watch:unit": "cross-env ENV_CONFIG=test NODE_ENV=test mocha test/runners/unit.js -w",
|
18 | "test-watch:integration": "cross-env ENV_CONFIG=test NODE_ENV=test mocha test/runners/integration.js -w",
|
19 | "test-coverage": "nyc npm test",
|
20 | "report-coverage": "codecov < ./coverage/lcov.info",
|
21 | "api": "cross-env ENV_CONFIG=production node src/runner.js",
|
22 | "semantic-release": "semantic-release pre && npm publish && semantic-release post"
|
23 | },
|
24 | "bin": "bin/index.js",
|
25 | "repository": {
|
26 | "type": "git",
|
27 | "url": "https://github.com/garage-it/SmartHouse-backend.git"
|
28 | },
|
29 | "keywords": [
|
30 | "express",
|
31 | "node",
|
32 | "node.js",
|
33 | "mongodb",
|
34 | "mongoose",
|
35 | "es6",
|
36 | "mocha",
|
37 | "istanbul",
|
38 | "REST",
|
39 | "API",
|
40 | "smart",
|
41 | "house",
|
42 | "IoT"
|
43 | ],
|
44 | "dependencies": {
|
45 | "bluebird": "^3.1.4",
|
46 | "body-parser": "^1.14.2",
|
47 | "caiman": "^0.2.0",
|
48 | "compose-middleware": "^2.2.0",
|
49 | "compression": "^1.6.1",
|
50 | "cookie-parser": "^1.4.1",
|
51 | "cors": "^2.7.1",
|
52 | "cross-env": "^2.0.1",
|
53 | "crypto": "0.0.3",
|
54 | "del": "^2.2.0",
|
55 | "dotenv": "^2.0.0",
|
56 | "express": "~4.13.1",
|
57 | "express-jwt": "^5.1.0",
|
58 | "express-validation": "^0.4.5",
|
59 | "express-winston": "^1.2.0",
|
60 | "http-status": "^0.2.0",
|
61 | "joi": "^7.2.3",
|
62 | "jsonwebtoken": "^7.1.9",
|
63 | "lodash": "^4.17.2",
|
64 | "method-override": "^2.3.5",
|
65 | "moment": "^2.16.0",
|
66 | "mongoose": "^4.3.7",
|
67 | "mongoose-findorcreate": "^0.1.2",
|
68 | "morgan": "~1.6.1",
|
69 | "mqtt": "^1.8.0",
|
70 | "multer": "^1.2.0",
|
71 | "oauth": "^0.9.14",
|
72 | "passport": "^0.3.2",
|
73 | "passport-facebook-token": "^3.3.0",
|
74 | "passport-local": "^1.0.0",
|
75 | "rxjs": "^5.0.0-beta.6",
|
76 | "shelljs": "^0.7.0",
|
77 | "socket.io": "^1.4.5",
|
78 | "winston": "^2.1.1"
|
79 | },
|
80 | "devDependencies": {
|
81 | "babel-cli": "6.5.1",
|
82 | "babel-core": "6.10.4",
|
83 | "babel-plugin-add-module-exports": "0.1.2",
|
84 | "babel-preset-es2015": "6.5.0",
|
85 | "babel-preset-stage-2": "6.5.0",
|
86 | "babel-register": "^6.18.0",
|
87 | "chai": "^3.4.1",
|
88 | "codecov": "^1.0.1",
|
89 | "debug": "^2.2.0",
|
90 | "eslint": "^2.7.0",
|
91 | "eslint-config-standard": "^5.1.0",
|
92 | "eslint-plugin-promise": "^1.1.0",
|
93 | "eslint-plugin-standard": "^1.3.2",
|
94 | "glob": "^7.1.1",
|
95 | "gulp": "^3.9.0",
|
96 | "gulp-babel": "6.1.2",
|
97 | "gulp-env": "^0.4.0",
|
98 | "gulp-eslint": "^2.0.0",
|
99 | "gulp-load-plugins": "^1.2.0",
|
100 | "gulp-newer": "^1.1.0",
|
101 | "gulp-nodemon": "^2.0.6",
|
102 | "gulp-plumber": "^1.0.1",
|
103 | "gulp-sourcemaps": "^1.6.0",
|
104 | "gulp-util": "^3.0.7",
|
105 | "mocha": "^2.3.4",
|
106 | "mock-fs": "^3.12.1",
|
107 | "npm-run-all": "^3.1.2",
|
108 | "nyc": "^8.3.2",
|
109 | "proxyquire": "^1.7.4",
|
110 | "run-sequence": "^1.1.5",
|
111 | "semantic-release": "^4.3.5",
|
112 | "sinon": "^1.17.3",
|
113 | "sinon-as-promised": "^4.0.0",
|
114 | "sinon-chai": "^2.8.0",
|
115 | "socket-io-mocks": "^0.1.4",
|
116 | "supertest": "^1.1.0",
|
117 | "supertest-as-promised": "^2.0.2"
|
118 | },
|
119 | "license": "MIT",
|
120 | "bugs": {
|
121 | "url": "https://github.com/garage-it/SmartHouse-backend/issues"
|
122 | },
|
123 | "homepage": "https://github.com/garage-it/SmartHouse-backend#readme",
|
124 | "babel": {
|
125 | "presets": [
|
126 | "es2015",
|
127 | "stage-2"
|
128 | ],
|
129 | "plugins": [
|
130 | "add-module-exports"
|
131 | ]
|
132 | },
|
133 | "nyc": {
|
134 | "report-dir": "coverage",
|
135 | "reporter": [
|
136 | "lcov",
|
137 | "text-summary"
|
138 | ],
|
139 | "exclude": [
|
140 | "node_modules",
|
141 | "**/*.test.*",
|
142 | "test/",
|
143 | "dist/",
|
144 | "coverage/",
|
145 | "bin/",
|
146 | "src/config/"
|
147 | ],
|
148 | "statements": 80,
|
149 | "branches": 80,
|
150 | "functions": 80,
|
151 | "lines": 80,
|
152 | "check-coverage": true
|
153 | },
|
154 | "version": "1.15.1"
|
155 | } |
\ | No newline at end of file |