-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
61 lines (61 loc) · 1.57 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "typescript-node-module-template",
"author": "Tib0",
"license": "MIT",
"version": "0.0.1",
"description": "Typescript Node Module Template (tnmt) by Tib0, featuring jest, tsup, vscode, pnpm, eslint and prettier.",
"repository": {
"type": "git",
"url": "https://github.com/tib0/typescript-node-module-template.git"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"test:watch": "jest --watch",
"test": "jest",
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"dev": "npm run build -- --watch src",
"prepublishOnly": "pnpm foli && pnpm test && pnpm build",
"foli": "eslint --ext .ts,.js . && prettier \"./**\" --write --ignore-unknown"
},
"keywords": [
"node",
"typescript",
"tsup",
"pnpm",
"jest",
"eslint",
"prettier",
"vscode"
],
"devDependencies": {
"@tsconfig/node21": "^21.0.3",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.12",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"tsup": "^8.0.2",
"typescript": "^5.4.5"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@typescript-eslint"
]
}
}
}