|
4 | 4 | "description": "A delightful way to building a RESTful API with NodeJs & TypeScript",
|
5 | 5 | "main": "src/app.ts",
|
6 | 6 | "scripts": {
|
7 |
| - "setup": "yarn install && npm run banner setup && npm run db:migrate && npm run db:seed", |
8 |
| - "serve": "npm run banner serve && \"./node_modules/.bin/nodemon\" --watch src --watch .env", |
9 |
| - "build": "npm run banner build && npm run lint && npm run clean:dist && npm run transpile && npm run copy:assets", |
10 | 7 | "start": "node dist/app.js",
|
11 |
| - "pretest": "./node_modules/.bin/tslint -c ./tslint.json -t stylish './test/unit/**/*.ts'", |
12 |
| - "test": "npm run banner test && cross-env NODE_ENV=test \"./node_modules/.bin/jest\" --testPathPattern=unit", |
13 |
| - "test:pretty": "npm run test -- --verbose", |
14 |
| - "test:coverage": "npm run test -- --coverage", |
15 |
| - "pretest:black-box": "./node_modules/.bin/tslint -c ./tslint.json -t stylish './test/black-box/**/*.ts'", |
16 |
| - "test:black-box": "npm run banner test && cross-env NODE_ENV=test \"./node_modules/.bin/jest\" --testPathPattern=black-box -i", |
17 |
| - "test:black-box:pretty": "npm run test:black-box -- --verbose", |
18 |
| - "db:migrate": "npm run banner migrate && \"./node_modules/.bin/knex\" migrate:latest", |
19 |
| - "db:migrate:rollback": "npm run banner rollback && \"./node_modules/.bin/knex\" migrate:rollback", |
20 |
| - "db:seed": "npm run banner seed && \"./node_modules/.bin/knex\" seed:run", |
21 |
| - "db:reset": "npm run console db:reset", |
| 8 | + "test": "nps test", |
22 | 9 | "console": "npm run ts-node:fast -- ./src/console/lib/console.ts",
|
23 | 10 | "console:dev": "npm run ts-node -- ./src/console/lib/console.ts",
|
24 |
| - "console:help": "npm run ts-node:fast -- ./src/console/lib/console.ts --help", |
25 |
| - "lint": "./node_modules/.bin/tslint -c ./tslint.json -p tsconfig.json 'src/**/*.ts' --format stylish", |
26 |
| - "transpile": "./node_modules/.bin/tsc", |
27 |
| - "clean": "npm run banner clean && npm run clean:dist", |
28 |
| - "clean:dist": "./node_modules/.bin/trash './dist'", |
29 |
| - "copy:assets": "npm run copy:swagger && npm run copy:public", |
30 |
| - "copy:swagger": "./node_modules/.bin/copyup ./src/api/swagger.json ./dist", |
31 |
| - "copy:public": "./node_modules/.bin/copyup ./src/public/* ./dist", |
32 |
| - "banner": "npm run ts-node:fast -- ./src/console/lib/banner.ts", |
33 |
| - "ts-node": "./node_modules/.bin/ts-node", |
34 |
| - "ts-node:fast": "./node_modules/.bin/ts-node -F" |
| 11 | + "console:help": "npm run ts-node:fast -- ./src/console/lib/console.ts --help" |
35 | 12 | },
|
36 | 13 | "repository": "git+ssh://git@github.com/w3tec/express-typescript-boilerplate.git",
|
37 | 14 | "keywords": [
|
|
58 | 35 | }
|
59 | 36 | ],
|
60 | 37 | "dependencies": {
|
61 |
| - "@types/bluebird": "^3.5.8", |
62 |
| - "@types/body-parser": "^1.16.4", |
63 |
| - "@types/bookshelf": "^0.9.3", |
64 |
| - "@types/chalk": "^0.4.31", |
65 |
| - "@types/commander": "^2.9.1", |
| 38 | + "@types/bluebird": "^3.5.18", |
| 39 | + "@types/body-parser": "^1.16.7", |
| 40 | + "@types/bookshelf": "^0.9.6", |
| 41 | + "@types/chalk": "^2.2.0", |
| 42 | + "@types/commander": "^2.11.0", |
66 | 43 | "@types/cors": "^2.8.1",
|
67 |
| - "@types/dotenv": "^4.0.0", |
68 |
| - "@types/express": "^4.0.36", |
69 |
| - "@types/faker": "^4.1.0", |
70 |
| - "@types/glob": "^5.0.30", |
71 |
| - "@types/handlebars": "^4.0.33", |
72 |
| - "@types/helmet": "0.0.35", |
| 44 | + "@types/dotenv": "^4.0.2", |
| 45 | + "@types/express": "^4.0.39", |
| 46 | + "@types/faker": "^4.1.1", |
| 47 | + "@types/glob": "^5.0.33", |
| 48 | + "@types/handlebars": "^4.0.36", |
| 49 | + "@types/helmet": "^0.0.37", |
73 | 50 | "@types/inquirer": "^0.0.35",
|
74 |
| - "@types/jest": "^20.0.2", |
75 |
| - "@types/jsonwebtoken": "^7.2.2", |
76 |
| - "@types/knex": "0.0.52", |
77 |
| - "@types/lodash": "^4.14.68", |
78 |
| - "@types/morgan": "^1.7.32", |
79 |
| - "@types/pluralize": "^0.0.27", |
| 51 | + "@types/jest": "^21.1.5", |
| 52 | + "@types/jsonwebtoken": "^7.2.3", |
| 53 | + "@types/knex": "^0.0.64", |
| 54 | + "@types/lodash": "^4.14.80", |
| 55 | + "@types/morgan": "^1.7.35", |
| 56 | + "@types/pluralize": "^0.0.28", |
80 | 57 | "@types/reflect-metadata": "0.0.5",
|
81 |
| - "@types/request": "^0.0.45", |
82 |
| - "@types/request-promise": "^4.1.36", |
83 |
| - "@types/serve-favicon": "^2.2.28", |
84 |
| - "@types/winston": "^2.3.3", |
85 |
| - "body-parser": "^1.17.2", |
86 |
| - "bookshelf": "^0.10.3", |
87 |
| - "bookshelf-camelcase": "^1.1.4", |
88 |
| - "chalk": "^2.0.1", |
89 |
| - "class-validator": "^0.7.2", |
| 58 | + "@types/request": "^2.0.7", |
| 59 | + "@types/request-promise": "^4.1.39", |
| 60 | + "@types/serve-favicon": "^2.2.29", |
| 61 | + "@types/winston": "^2.3.7", |
| 62 | + "body-parser": "^1.18.2", |
| 63 | + "bookshelf": "^0.10.4", |
| 64 | + "bookshelf-camelcase": "^2.0.1", |
| 65 | + "chalk": "^2.3.0", |
| 66 | + "class-validator": "^0.7.3", |
90 | 67 | "commander": "^2.11.0",
|
91 |
| - "compression": "^1.7.0", |
| 68 | + "compression": "^1.7.1", |
92 | 69 | "copyfiles": "^1.2.0",
|
93 |
| - "cors": "^2.8.1", |
| 70 | + "cors": "^2.8.4", |
94 | 71 | "dotenv": "^4.0.0",
|
95 |
| - "express": "^4.15.3", |
96 |
| - "express-status-monitor": "^0.1.9", |
| 72 | + "express": "^4.16.2", |
| 73 | + "express-status-monitor": "^1.0.1", |
97 | 74 | "faker": "^4.1.0",
|
98 | 75 | "figlet": "^1.2.0",
|
99 | 76 | "glob": "^7.1.2",
|
100 |
| - "handlebars": "^4.0.10", |
101 |
| - "helmet": "^3.6.1", |
102 |
| - "inquirer": "^3.2.0", |
103 |
| - "inversify": "^4.2.0", |
104 |
| - "inversify-express-utils": "^4.0.0", |
105 |
| - "jsonwebtoken": "^7.4.1", |
106 |
| - "knex": "^0.12.0", |
| 77 | + "handlebars": "^4.0.11", |
| 78 | + "helmet": "^3.9.0", |
| 79 | + "inquirer": "^3.3.0", |
| 80 | + "inversify": "^4.5.0", |
| 81 | + "inversify-express-utils": "^4.1.0", |
| 82 | + "jsonwebtoken": "^8.1.0", |
| 83 | + "knex": "^0.13.0", |
107 | 84 | "lodash": "^4.17.4",
|
108 |
| - "morgan": "^1.7.0", |
109 |
| - "mysql": "^2.13.0", |
110 |
| - "nodemon": "^1.11.0", |
| 85 | + "morgan": "^1.9.0", |
| 86 | + "mysql": "^2.15.0", |
| 87 | + "nodemon": "^1.12.1", |
111 | 88 | "path": "^0.12.7",
|
112 |
| - "pluralize": "^5.0.0", |
| 89 | + "pluralize": "^7.0.0", |
113 | 90 | "reflect-metadata": "^0.1.10",
|
114 |
| - "request": "^2.81.0", |
115 |
| - "request-promise": "^4.2.1", |
116 |
| - "serve-favicon": "^2.4.3", |
117 |
| - "swagger-jsdoc": "^1.9.6", |
118 |
| - "swagger-ui-express": "^2.0.1", |
| 91 | + "request": "^2.83.0", |
| 92 | + "request-promise": "^4.2.2", |
| 93 | + "serve-favicon": "^2.4.5", |
| 94 | + "swagger-jsdoc": "^1.9.7", |
| 95 | + "swagger-ui-express": "^2.0.9", |
119 | 96 | "trash-cli": "^1.4.0",
|
120 |
| - "ts-node": "^3.2.0", |
121 |
| - "tslint": "^5.5.0", |
122 |
| - "typescript": "^2.4.1", |
123 |
| - "winston": "^2.3.1" |
| 97 | + "ts-node": "^3.3.0", |
| 98 | + "tslint": "^5.8.0", |
| 99 | + "typescript": "^2.6.1", |
| 100 | + "wait-on": "^2.0.2", |
| 101 | + "winston": "^2.4.0" |
124 | 102 | },
|
125 | 103 | "jest": {
|
126 | 104 | "transform": {
|
|
138 | 116 | },
|
139 | 117 | "license": "MIT",
|
140 | 118 | "devDependencies": {
|
141 |
| - "cross-env": "^5.0.1", |
142 |
| - "jest": "^20.0.3", |
143 |
| - "ts-jest": "^20.0.7" |
| 119 | + "cross-env": "^5.1.1", |
| 120 | + "jest": "^21.2.1", |
| 121 | + "nps": "^5.7.1", |
| 122 | + "nps-utils": "^1.5.0", |
| 123 | + "ts-jest": "^21.1.4" |
144 | 124 | }
|
145 | 125 | }
|
0 commit comments