|
1 | 1 | { |
2 | 2 | "name": "@idea2app/rest-node-ts", |
3 | | - "version": "0.5.0", |
| 3 | + "version": "0.6.0", |
4 | 4 | "license": "LGPL-3.0", |
5 | 5 | "author": "shiy2008@gmail.com", |
6 | 6 | "description": "RESTful API service scaffold based on Node.js & TypeScript", |
|
15 | 15 | "source": "source/index.ts", |
16 | 16 | "main": "dist/index.js", |
17 | 17 | "engines": { |
18 | | - "node": ">=16" |
| 18 | + "node": ">=18" |
19 | 19 | }, |
20 | 20 | "dependencies": { |
21 | 21 | "@koa/cors": "^4.0.0", |
|
25 | 25 | "class-validator": "^0.14.0", |
26 | 26 | "cross-env": "^7.0.3", |
27 | 27 | "dotenv": "^16.3.1", |
28 | | - "jsonwebtoken": "^9.0.1", |
| 28 | + "jsonwebtoken": "^9.0.2", |
29 | 29 | "koa": "^2.14.2", |
30 | 30 | "koa-bodyparser": "^4.4.1", |
31 | 31 | "koa-jwt": "^4.0.4", |
32 | 32 | "koa-logger": "^3.2.1", |
33 | 33 | "koa-mount": "^4.0.0", |
| 34 | + "koa2-swagger-ui": "^5.9.0", |
34 | 35 | "koagger": "^0.3.0", |
35 | | - "mobx-restful": "^0.6.5", |
36 | | - "pg": "^8.11.2", |
| 36 | + "mobx-restful": "^0.6.11", |
| 37 | + "pg": "^8.11.3", |
37 | 38 | "pg-connection-string": "^2.6.2", |
38 | 39 | "reflect-metadata": "^0.1.13", |
39 | 40 | "routing-controllers": "^0.10.4", |
40 | 41 | "routing-controllers-openapi": "^4.0.0", |
41 | | - "tslib": "^2.6.1", |
| 42 | + "tslib": "^2.6.2", |
42 | 43 | "typeorm": "^0.3.17", |
43 | | - "web-utility": "^4.1.0" |
| 44 | + "web-utility": "^4.1.3" |
44 | 45 | }, |
45 | 46 | "devDependencies": { |
46 | | - "@types/jsonwebtoken": "^9.0.2", |
47 | | - "@types/koa": "^2.13.8", |
48 | | - "@types/koa-logger": "^3.1.2", |
49 | | - "@types/node": "^18.17.5", |
50 | | - "@typescript-eslint/eslint-plugin": "^6.3.0", |
51 | | - "@typescript-eslint/parser": "^6.3.0", |
52 | | - "eslint": "^8.47.0", |
| 47 | + "@types/jsonwebtoken": "^9.0.3", |
| 48 | + "@types/koa": "^2.13.9", |
| 49 | + "@types/koa-logger": "^3.1.3", |
| 50 | + "@types/node": "^18.17.17", |
| 51 | + "@typescript-eslint/eslint-plugin": "^6.7.0", |
| 52 | + "@typescript-eslint/parser": "^6.7.0", |
| 53 | + "eslint": "^8.49.0", |
53 | 54 | "eslint-plugin-simple-import-sort": "^10.0.0", |
54 | 55 | "husky": "^8.0.3", |
55 | | - "lint-staged": "^13.3.0", |
| 56 | + "lint-staged": "^14.0.1", |
56 | 57 | "prettier": "^3.0.1", |
57 | 58 | "sqlite3": "^5.1.6", |
58 | 59 | "ts-node-dev": "^2.0.0", |
59 | | - "typescript": "~5.1.6" |
| 60 | + "typescript": "~5.2.2" |
60 | 61 | }, |
61 | 62 | "prettier": { |
62 | 63 | "singleQuote": true, |
|
71 | 72 | "prepare": "husky install", |
72 | 73 | "dev": "ts-node-dev source/", |
73 | 74 | "test": "lint-staged", |
74 | | - "build": "rm -rf dist/ && tsc", |
| 75 | + "build": "rm -rf dist/ type/*.d.ts && tsc && mv dist/model/*.d.ts type/", |
75 | 76 | "start": "cross-env NODE_ENV=production node dist/", |
76 | 77 | "typeorm": "typeorm-ts-node-commonjs -d source/model/index.ts", |
77 | 78 | "migration:generate": "npm run typeorm -- migration:generate", |
|
0 commit comments