|
5 | 5 | "description": "Node TS App Template", |
6 | 6 | "keywords": [ |
7 | 7 | "ts", |
8 | | - "library", |
| 8 | + "app", |
9 | 9 | "production", |
10 | 10 | "template", |
11 | 11 | "node" |
|
25 | 25 | }, |
26 | 26 | "type": "module", |
27 | 27 | "scripts": { |
28 | | - "build": "npx turbo run build:node", |
29 | | - "build:node": "dotenv -e .env.production ts-node src/index.ts", |
| 28 | + "build": "npx turbo run build:tsup", |
| 29 | + "build:tsup": "tsup-node", |
30 | 30 | "commit": "gacp", |
31 | 31 | "contributors:add": "all-contributors add", |
32 | 32 | "contributors:generate": "all-contributors generate", |
33 | | - "dev": "dotenv -e .env.development nodemon src/index.ts", |
| 33 | + "dev": "nodemon", |
34 | 34 | "format": "npx turbo run format:eslint format:md format:prettier", |
35 | 35 | "format:eslint": "eslint --cache --report-unused-disable-directives --color . --fix", |
36 | 36 | "format:md": "markdownlint --fix **/*.md \".github/**/*.md\"", |
|
45 | 45 | "lint:types": "tsc --noEmit", |
46 | 46 | "populate:dictionary": "del-cli project-words.txt && cspell --words-only --unique --gitignore --cache --dot \"**/*\" | sort --ignore-case >> project-words.txt", |
47 | 47 | "prepare": "husky install", |
48 | | - "release": "dotenv -e .env.releaseit node release-it/getCommitsSinceLastRelease.js && release-it --ci", |
| 48 | + "release": "node release-it/getCommitsSinceLastRelease.js && release-it --ci", |
49 | 49 | "release:dryrun": "release-it --dry-run", |
| 50 | + "start": "node dist/server.js", |
| 51 | + "start:production": "dotenv -e .env.production node dist/server.js", |
50 | 52 | "test": "echo \"no test specified\" && exit 0" |
51 | 53 | }, |
52 | 54 | "commitlint": { |
|
114 | 116 | "title-case": "3.0.3", |
115 | 117 | "toml-eslint-parser": "0.5.0", |
116 | 118 | "ts-node": "^10.9.1", |
| 119 | + "tsup": "^6.7.0", |
117 | 120 | "turbo": "1.8.8", |
118 | 121 | "typescript": "5.0.4", |
119 | 122 | "yaml-eslint-parser": "1.2.0" |
|
0 commit comments