|
26 | 26 | "test:watch": "jest --watch", |
27 | 27 | "test:ci": "jest --runInBand --ci --coverage --coverageDirectory=coverage", |
28 | 28 | "build:prod": "cross-env NODE_ENV=production microbundle --tsconfig ./tsconfig.json --format modern,cjs --target node --output dist/prod/index.js", |
29 | | - "build:dev": "cross-env NODE_ENV=development microbundle --define process.env.NODE_ENV=development --tsconfig ./tsconfig.json --target node --generateTypes false --format modern --output dist/dev/index.js", |
30 | | - "build": "rm -rf ./dist && pnpm build:dev && pnpm build:prod", |
| 29 | + "build": "rm -rf ./dist && pnpm build:prod", |
31 | 30 | "prepublishOnly": "pnpm build", |
32 | 31 | "release": "pnpm run prepublishOnly && pnpm changeset publish" |
33 | 32 | }, |
|
40 | 39 | }, |
41 | 40 | "homepage": "https://github.com/your-username/nextjs-koa-api#readme", |
42 | 41 | "devDependencies": { |
43 | | - "@types/jest": "^27.4.1", |
44 | | - "@types/node": "^17.0.30", |
45 | | - "@typescript-eslint/eslint-plugin": "^5.21.0", |
46 | | - "@typescript-eslint/parser": "^5.21.0", |
| 42 | + "@types/jest": "^27.5.0", |
| 43 | + "@types/koa": "^2.13.4", |
| 44 | + "@types/koa__router": "^8.0.11", |
| 45 | + "@types/node": "^17.0.31", |
| 46 | + "@types/on-finished": "^2.3.1", |
| 47 | + "@types/supertest": "^2.0.12", |
| 48 | + "@typescript-eslint/eslint-plugin": "^5.22.0", |
| 49 | + "@typescript-eslint/parser": "^5.22.0", |
47 | 50 | "cross-env": "^7.0.3", |
48 | | - "eslint": "^8.14.0", |
| 51 | + "eslint": "^8.15.0", |
49 | 52 | "eslint-config-prettier": "^8.5.0", |
50 | 53 | "eslint-plugin-jest": "^26.1.5", |
51 | 54 | "eslint-plugin-prettier": "^4.0.0", |
52 | 55 | "eslint-plugin-promise": "^6.0.0", |
53 | 56 | "eslint-plugin-tsdoc": "^0.2.16", |
54 | | - "jest": "^28.0.3", |
| 57 | + "jest": "^28.1.0", |
55 | 58 | "jest-mock-console": "^1.2.3", |
56 | 59 | "jest-watch-typeahead": "^1.1.0", |
57 | 60 | "microbundle": "^0.15.0", |
| 61 | + "next": "12.1.6", |
58 | 62 | "shx": "^0.3.4", |
| 63 | + "supertest": "^6.2.3", |
59 | 64 | "typescript": "^4.6.4" |
| 65 | + }, |
| 66 | + "dependencies": { |
| 67 | + "@koa/router": "^10.1.1", |
| 68 | + "koa": "^2.13.4", |
| 69 | + "on-finished": "^2.4.1" |
60 | 70 | } |
61 | 71 | } |
0 commit comments