-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 1.31 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": "@yemreak/mypackage",
"version": "1.0.0",
"description": "mypackage app with typescript",
"main": "dist/app.js",
"types": "dist/app.d.ts",
"type": "module",
"scripts": {
"start": "tsc --project tsconfig.json && node dist/app.js",
"build": "tsc --project tsconfig.json",
"test": "node --experimental-vm-modules ./node_modules/.bin/jest",
"knip": "node --experimental-vm-modules ./node_modules/.bin/knip",
"prepublishOnly": "npm run build"
},
"files": [
"dist/**/*"
],
"publishConfig": {
"access": "public"
},
"jest": {
"rootDir": "src",
"coverageDirectory": "../coverage",
"preset": "ts-jest",
"testEnvironment": "node",
"silent": true,
"extensionsToTreatAsEsm": [
".ts"
],
"transform": {
"^.+\\.ts$": [
"ts-jest",
{
"useESM": true
}
]
},
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/yemreak/mypackage.git"
},
"keywords": [],
"author": "yemreak",
"license": "ISC",
"bugs": {
"url": "https://github.com/yemreak/mypackage/issues"
},
"homepage": "https://github.com/yemreak/mypackage#readme",
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^22.2.0",
"jest": "^29.7.0",
"knip": "^5.27.2",
"ts-jest": "^29.2.4",
"typescript": "^5.5.4"
}
}