|
5 | 5 | "scripts": { |
6 | 6 | "coverage": "nyc report --reporter=text-lcov | coveralls", |
7 | 7 | "precommit": "lint-staged", |
8 | | - "test": |
9 | | - "nyc --require ts-node/register mocha packages/**/*.spec.ts --reporter spec", |
10 | | - "integration-test": |
11 | | - "mocha integration/**/*.spec.ts --reporter spec --require ts-node/register", |
12 | | - "lint": |
13 | | - "tslint -p tsconfig.json -c tslint.json \"packages/**/*.ts\" -e \"*.spec.ts\"", |
14 | | - "format": |
15 | | - "prettier **/**/*.ts --ignore-path ./.prettierignore --write && git status", |
| 8 | + "test": "nyc --require ts-node/register mocha packages/**/*.spec.ts --reporter spec", |
| 9 | + "integration-test": "mocha integration/**/*.spec.ts --reporter spec --require ts-node/register", |
| 10 | + "lint": "tslint -p tsconfig.json -c tslint.json \"packages/**/*.ts\" -e \"*.spec.ts\"", |
| 11 | + "format": "prettier **/**/*.ts --ignore-path ./.prettierignore --write && git status", |
16 | 12 | "build": "gulp build && gulp move", |
17 | 13 | "build:lib": "gulp build --dist bundle", |
18 | 14 | "copy-docs": "gulp copy-docs", |
19 | 15 | "prepare": "npm run build:lib && npm run copy-docs", |
20 | 16 | "prepare:rc": "npm run build:lib && npm run copy-docs", |
21 | 17 | "prepare:next": "npm run build:lib && npm run copy-docs", |
22 | 18 | "prepare:beta": "npm run build:lib && npm run copy-docs", |
23 | | - "publish": |
24 | | - "npm run prepare && ./node_modules/.bin/lerna publish --exact -m \"chore(@nestjs) publish %s release\"", |
25 | | - "publish:rc": |
26 | | - "npm run prepare && ./node_modules/.bin/lerna publish --npm-tag=rc -m \"chore(@nestjs) publish %s release\"", |
27 | | - "publish:next": |
28 | | - "npm run prepare && ./node_modules/.bin/lerna publish --npm-tag=next --skip-git -m \"chore(@nestjs) publish %s release\"", |
29 | | - "publish:beta": |
30 | | - "npm run prepare && ./node_modules/.bin/lerna publish --npm-tag=beta -m \"chore(@nestjs) publish %s release\"" |
| 19 | + "publish": "npm run prepare && ./node_modules/.bin/lerna publish --exact -m \"chore(@nestjs) publish %s release\"", |
| 20 | + "publish:rc": "npm run prepare && ./node_modules/.bin/lerna publish --npm-tag=rc -m \"chore(@nestjs) publish %s release\"", |
| 21 | + "publish:next": "npm run prepare && ./node_modules/.bin/lerna publish --npm-tag=next --skip-git -m \"chore(@nestjs) publish %s release\"", |
| 22 | + "publish:beta": "npm run prepare && ./node_modules/.bin/lerna publish --npm-tag=beta -m \"chore(@nestjs) publish %s release\"" |
31 | 23 | }, |
32 | 24 | "engines": { |
33 | 25 | "node": ">= 8.9.0" |
|
46 | 38 | "@nestjs/testing": "5.1.0", |
47 | 39 | "@nestjs/websockets": "5.1.0", |
48 | 40 | "axios": "^0.17.1", |
| 41 | + "cache-manager": "^2.9.0", |
49 | 42 | "class-transformer": "^0.1.8", |
50 | 43 | "class-validator": "^0.8.1", |
51 | 44 | "cli-color": "^1.1.0", |
|
59 | 52 | "fastify": "^1.1.1", |
60 | 53 | "fastify-formbody": "^2.0.0", |
61 | 54 | "fastify-multipart": "^0.4.1", |
62 | | - "grpc": "^1.11.3", |
| 55 | + "grpc": "^1.14.1", |
63 | 56 | "iterare": "0.0.8", |
64 | 57 | "json-socket": "^0.2.1", |
65 | 58 | "mqtt": "^2.16.0", |
|
74 | 67 | "reflect-metadata": "^0.1.12", |
75 | 68 | "rxjs": "^6.0.0", |
76 | 69 | "rxjs-compat": "^6.0.0", |
77 | | - "socket.io": "^2.0.4", |
| 70 | + "socket.io": "^2.1.1", |
78 | 71 | "trouter": "^1.0.0" |
79 | 72 | }, |
80 | 73 | "devDependencies": { |
| 74 | + "@types/cache-manager": "^1.2.6", |
81 | 75 | "@types/chai": "^3.5.2", |
82 | 76 | "@types/chai-as-promised": "0.0.31", |
83 | 77 | "@types/cors": "^2.8.3", |
|
91 | 85 | "@types/socket.io": "^1.4.32", |
92 | 86 | "@types/ws": "^4.0.1", |
93 | 87 | "awesome-typescript-loader": "^3.0.0-beta.18", |
94 | | - "body-parser": "^1.17.2", |
| 88 | + "body-parser": "^1.18.3", |
95 | 89 | "chai": "^3.5.0", |
96 | 90 | "chai-as-promised": "^7.1.1", |
97 | 91 | "clang-format": "^1.1.0", |
|
111 | 105 | "istanbul": "^0.4.5", |
112 | 106 | "json-loader": "^0.5.4", |
113 | 107 | "lerna": "^2.5.1", |
114 | | - "lint-staged": "^7.0.0", |
| 108 | + "lint-staged": "^7.2.2", |
115 | 109 | "mocha": "^3.2.0", |
116 | | - "nodemon": "^1.11.0", |
| 110 | + "nodemon": "^1.18.3", |
117 | 111 | "nyc": "^10.1.2", |
118 | 112 | "prettier": "^1.9.2", |
119 | 113 | "sinon": "^2.1.0", |
|
130 | 124 | "logo": "https://opencollective.com/opencollective/logo.txt" |
131 | 125 | }, |
132 | 126 | "nyc": { |
133 | | - "include": ["packages/**/*.ts"], |
| 127 | + "include": [ |
| 128 | + "packages/**/*.ts" |
| 129 | + ], |
134 | 130 | "exclude": [ |
135 | 131 | "node_modules/", |
136 | 132 | "packages/**/*.spec.ts", |
|
147 | 143 | "packages/core/injector/module-ref.ts", |
148 | 144 | "packages/common/services/logger.service.ts" |
149 | 145 | ], |
150 | | - "extension": [".ts"], |
151 | | - "require": ["ts-node/register"], |
152 | | - "reporter": ["text-summary", "html"], |
| 146 | + "extension": [ |
| 147 | + ".ts" |
| 148 | + ], |
| 149 | + "require": [ |
| 150 | + "ts-node/register" |
| 151 | + ], |
| 152 | + "reporter": [ |
| 153 | + "text-summary", |
| 154 | + "html" |
| 155 | + ], |
153 | 156 | "sourceMap": true, |
154 | 157 | "instrument": true |
155 | 158 | }, |
156 | 159 | "lint-staged": { |
157 | | - "packages/**/*.{ts,json}": ["npm run format", "git add"] |
| 160 | + "packages/**/*.{ts,json}": [ |
| 161 | + "npm run format", |
| 162 | + "git add" |
| 163 | + ] |
158 | 164 | } |
159 | 165 | } |
0 commit comments