|
1 | 1 | { |
2 | | - "name": "@askbills/npm-template-typescript", |
3 | | - "version": "1.0.0-canary.0", |
4 | | - "description": "Typescript template to build npm package", |
5 | | - "main": "./dist/index.js", |
6 | | - "module": "./dist/index.mjs", |
7 | | - "types": "./dist/index.d.ts", |
8 | | - "files": [ |
9 | | - "dist" |
10 | | - ], |
11 | | - "scripts": { |
12 | | - "prebuild": "rimraf dist", |
13 | | - "build": "tsup --config ./configs/tsup.config.ts", |
14 | | - "start": "npm run build && node dist/index.js", |
15 | | - "start:watch": "tsup src/index.ts --config ./configs/tsup.config.ts --watch --onSuccess 'node dist/index.js'", |
16 | | - "pretest": "rimraf coverage", |
17 | | - "test": "jest --config ./configs/jest.config.ts", |
18 | | - "lint": "eslint \"{src,tests}/**/*.ts\" --config ./configs/.eslintrc.js", |
19 | | - "lint:fix": "npm run lint -- --fix", |
20 | | - "prettier:format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\" \"configs/**/*\" --config configs/.prettierrc", |
21 | | - "prepare": "husky install" |
22 | | - }, |
23 | | - "repository": { |
24 | | - "type": "git", |
25 | | - "url": "git+https://github.com/lengocduy/npm-template-typescript.git" |
26 | | - }, |
27 | | - "keywords": [ |
28 | | - "npm", |
29 | | - "template", |
30 | | - "npm-typescript", |
31 | | - "package-template" |
32 | | - ], |
33 | | - "author": "Le Ngoc Duy", |
34 | | - "license": "MIT", |
35 | | - "bugs": { |
36 | | - "url": "https://github.com/lengocduy/npm-template-typescript/issues" |
37 | | - }, |
38 | | - "homepage": "https://github.com/lengocduy/npm-template-typescript#readme", |
39 | | - "devDependencies": { |
40 | | - "@tsconfig/node18": "^18.2.2", |
41 | | - "@types/jest": "^29.5.11", |
42 | | - "@typescript-eslint/eslint-plugin": "^6.20.0", |
43 | | - "eslint": "^8.56.0", |
44 | | - "eslint-config-prettier": "^9.1.0", |
45 | | - "eslint-plugin-import": "^2.29.1", |
46 | | - "eslint-plugin-prettier": "^5.1.3", |
47 | | - "husky": "^9.0.10", |
48 | | - "jest": "^29.7.0", |
49 | | - "lint-staged": "^15.2.1", |
50 | | - "node-notifier": "^10.0.1", |
51 | | - "prettier": "3.2.4", |
52 | | - "rimraf": "^5.0.5", |
53 | | - "ts-jest": "^29.1.2", |
54 | | - "ts-node": "^10.9.2", |
55 | | - "tsup": "^8.0.1", |
56 | | - "typescript": "^5.3.3" |
57 | | - }, |
58 | | - "lint-staged": { |
59 | | - "**/*": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\" \"configs/**/*\" --config configs/.prettierrc --ignore-unknown" |
60 | | - }, |
61 | | - "engines": { |
62 | | - "node": ">=18.0.0" |
63 | | - } |
| 2 | + "name": "npm-template-typescript", |
| 3 | + "version": "0.0.2-test", |
| 4 | + "description": "Typescript template to build npm package", |
| 5 | + "main": "./dist/index.js", |
| 6 | + "module": "./dist/index.mjs", |
| 7 | + "types": "./dist/index.d.ts", |
| 8 | + "files": [ |
| 9 | + "dist" |
| 10 | + ], |
| 11 | + "scripts": { |
| 12 | + "prebuild": "rimraf dist", |
| 13 | + "build": "tsup --config ./configs/tsup.config.ts", |
| 14 | + "start": "npm run build && node dist/index.js", |
| 15 | + "start:watch": "tsup src/index.ts --config ./configs/tsup.config.ts --watch --onSuccess 'node dist/index.js'", |
| 16 | + "pretest": "rimraf coverage", |
| 17 | + "test": "jest --config ./configs/jest.config.ts", |
| 18 | + "lint": "eslint \"{src,tests}/**/*.ts\" --config ./configs/.eslintrc.js", |
| 19 | + "lint:fix": "npm run lint -- --fix", |
| 20 | + "prettier:format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\" \"configs/**/*\" --config configs/.prettierrc", |
| 21 | + "prepare": "husky install" |
| 22 | + }, |
| 23 | + "repository": { |
| 24 | + "type": "git", |
| 25 | + "url": "git+https://github.com/lengocduy/npm-template-typescript.git" |
| 26 | + }, |
| 27 | + "keywords": [ |
| 28 | + "npm", |
| 29 | + "template", |
| 30 | + "npm-typescript", |
| 31 | + "package-template" |
| 32 | + ], |
| 33 | + "author": "Le Ngoc Duy", |
| 34 | + "license": "MIT", |
| 35 | + "bugs": { |
| 36 | + "url": "https://github.com/lengocduy/npm-template-typescript/issues" |
| 37 | + }, |
| 38 | + "homepage": "https://github.com/lengocduy/npm-template-typescript#readme", |
| 39 | + "devDependencies": { |
| 40 | + "@tsconfig/node18": "^18.2.2", |
| 41 | + "@types/jest": "^29.5.11", |
| 42 | + "@typescript-eslint/eslint-plugin": "^6.20.0", |
| 43 | + "eslint": "^8.56.0", |
| 44 | + "eslint-config-prettier": "^9.1.0", |
| 45 | + "eslint-plugin-import": "^2.29.1", |
| 46 | + "eslint-plugin-prettier": "^5.1.3", |
| 47 | + "husky": "^9.0.10", |
| 48 | + "jest": "^29.7.0", |
| 49 | + "lint-staged": "^15.2.1", |
| 50 | + "node-notifier": "^10.0.1", |
| 51 | + "prettier": "3.2.4", |
| 52 | + "rimraf": "^5.0.5", |
| 53 | + "ts-jest": "^29.1.2", |
| 54 | + "ts-node": "^10.9.2", |
| 55 | + "tsup": "^8.0.1", |
| 56 | + "typescript": "^5.3.3" |
| 57 | + }, |
| 58 | + "lint-staged": { |
| 59 | + "**/*": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\" \"configs/**/*\" --config configs/.prettierrc --ignore-unknown" |
| 60 | + }, |
| 61 | + "engines": { |
| 62 | + "node": ">=18.0.0" |
| 63 | + } |
64 | 64 | } |
0 commit comments