|
1 | 1 | {
|
2 |
| - "name": "nodejs-typescript-boilerplate", |
3 |
| - "version": "0.0.1", |
4 |
| - "description": "nodejs-typescript-boilerplate", |
5 |
| - "main": "./dist/src/index.js", |
6 |
| - "types": "./dist/src/index.d.ts", |
7 |
| - "repository": { |
8 |
| - "type": "git", |
9 |
| - "url": "https://github.com/sweatpotato13/nodejs-typescript-boilerplate.git" |
10 |
| - }, |
11 |
| - "bugs": { |
12 |
| - "url": "https://github.com/sweatpotato13/nodejs-typescript-boilerplate/issues" |
13 |
| - }, |
14 |
| - "homepage": "https://github.com/sweatpotato13/nodejs-typescript-boilerplate", |
15 |
| - "files": [ |
16 |
| - "dist" |
17 |
| - ], |
18 |
| - "scripts": { |
19 |
| - "test": "jest", |
20 |
| - "test:cov": "jest --coverage", |
21 |
| - "start:dev": "ts-node-dev --poll --respawn --transpile-only src/index.ts --trace-sync-io", |
22 |
| - "start:prod": "ts-node src/index.ts", |
23 |
| - "lint": "eslint \"{src,test}/**/*.ts\" --fix", |
24 |
| - "prettier": "prettier --write --config .prettierrc \"{src,test}/**/*.ts\"", |
25 |
| - "build": "tsc", |
26 |
| - "prebuild": "rimraf ./dist", |
27 |
| - "install": "husky init", |
28 |
| - "pre-commit": "lint-staged", |
29 |
| - "prepare": "husky" |
30 |
| - }, |
31 |
| - "lint-staged": { |
32 |
| - "*.{ts,tsx,js,jsx}": [ |
33 |
| - "yarn run eslint --fix" |
| 2 | + "name": "nodejs-typescript-boilerplate", |
| 3 | + "version": "0.0.1", |
| 4 | + "description": "nodejs-typescript-boilerplate", |
| 5 | + "main": "./dist/src/index.js", |
| 6 | + "types": "./dist/src/index.d.ts", |
| 7 | + "repository": { |
| 8 | + "type": "git", |
| 9 | + "url": "https://github.com/sweatpotato13/nodejs-typescript-boilerplate.git" |
| 10 | + }, |
| 11 | + "bugs": { |
| 12 | + "url": "https://github.com/sweatpotato13/nodejs-typescript-boilerplate/issues" |
| 13 | + }, |
| 14 | + "homepage": "https://github.com/sweatpotato13/nodejs-typescript-boilerplate", |
| 15 | + "files": [ |
| 16 | + "dist" |
34 | 17 | ],
|
35 |
| - "*.{md,json}": [ |
36 |
| - "prettier --write" |
37 |
| - ] |
38 |
| - }, |
39 |
| - "author": "Cute_Wisp <sweatpotato13@gmail.com>", |
40 |
| - "license": "MIT", |
41 |
| - "devDependencies": { |
42 |
| - "@commitlint/cli": "^19.4.0", |
43 |
| - "@commitlint/config-conventional": "^19.2.2", |
44 |
| - "@eslint/js": "^9.9.0", |
45 |
| - "@swc/core": "1.7.12", |
46 |
| - "@swc/helpers": "^0.5.12", |
47 |
| - "@types/eslint__js": "^8.42.3", |
48 |
| - "@types/jest": "29.5.12", |
49 |
| - "@types/node": "^22.4.1", |
50 |
| - "eslint": "^9.9.0", |
51 |
| - "eslint-config-prettier": "^9.1.0", |
52 |
| - "eslint-plugin-security": "^3.0.1", |
53 |
| - "eslint-plugin-simple-import-sort": "^12.1.1", |
54 |
| - "husky": "9.1.4", |
55 |
| - "jest": "29.7.0", |
56 |
| - "lint-staged": "^15.2.9", |
57 |
| - "prettier": "^3.3.3", |
58 |
| - "rimraf": "^6.0.1", |
59 |
| - "ts-jest": "29.2.4", |
60 |
| - "ts-node": "^10.9.2", |
61 |
| - "ts-node-dev": "^2.0.0", |
62 |
| - "typescript": "5.5.4", |
63 |
| - "typescript-eslint": "8.1.0" |
64 |
| - }, |
65 |
| - "packageManager": "yarn@4.2.2" |
| 18 | + "scripts": { |
| 19 | + "test": "jest", |
| 20 | + "test:cov": "jest --coverage", |
| 21 | + "start:dev": "ts-node-dev --poll --respawn --transpile-only src/index.ts --trace-sync-io", |
| 22 | + "start:prod": "ts-node src/index.ts", |
| 23 | + "lint": "eslint \"{src,test}/**/*.ts\" --fix", |
| 24 | + "prettier": "prettier --write --config .prettierrc \"{src,test}/**/*.ts\"", |
| 25 | + "build": "tsc", |
| 26 | + "prebuild": "rimraf ./dist", |
| 27 | + "install": "husky init", |
| 28 | + "pre-commit": "lint-staged", |
| 29 | + "prepare": "husky" |
| 30 | + }, |
| 31 | + "lint-staged": { |
| 32 | + "*.{ts,tsx,js,jsx}": [ |
| 33 | + "yarn run eslint --fix" |
| 34 | + ], |
| 35 | + "*.{md,json}": [ |
| 36 | + "prettier --write" |
| 37 | + ] |
| 38 | + }, |
| 39 | + "author": "Cute_Wisp <sweatpotato13@gmail.com>", |
| 40 | + "license": "MIT", |
| 41 | + "devDependencies": { |
| 42 | + "@commitlint/cli": "^19.4.1", |
| 43 | + "@commitlint/config-conventional": "^19.4.1", |
| 44 | + "@eslint/js": "^9.9.1", |
| 45 | + "@swc/core": "1.7.22", |
| 46 | + "@swc/helpers": "^0.5.12", |
| 47 | + "@types/eslint__js": "^8.42.3", |
| 48 | + "@types/jest": "29.5.12", |
| 49 | + "@types/node": "^22.5.2", |
| 50 | + "eslint": "^9.9.1", |
| 51 | + "eslint-config-prettier": "^9.1.0", |
| 52 | + "eslint-plugin-security": "^3.0.1", |
| 53 | + "eslint-plugin-simple-import-sort": "^12.1.1", |
| 54 | + "husky": "9.1.5", |
| 55 | + "jest": "29.7.0", |
| 56 | + "lint-staged": "^15.2.10", |
| 57 | + "prettier": "^3.3.3", |
| 58 | + "rimraf": "^6.0.1", |
| 59 | + "ts-jest": "29.2.5", |
| 60 | + "ts-node": "^10.9.2", |
| 61 | + "ts-node-dev": "^2.0.0", |
| 62 | + "typescript": "5.5.4", |
| 63 | + "typescript-eslint": "8.3.0" |
| 64 | + }, |
| 65 | + "packageManager": "yarn@4.2.2" |
66 | 66 | }
|
0 commit comments