-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 2.32 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "fsdh",
"version": "0.2.1",
"description": "FSD helper",
"engines": {
"node": ">=14.16"
},
"type": "module",
"bin": {
"fsdh": "./bin/entry.js"
},
"exports": "./lib/index.js",
"types": "lib/index.d.ts",
"files": [
"package.json",
"lib",
"bin",
"assets",
"doc"
],
"scripts": {
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 npx jest --detectOpenHandles",
"build": "tsc-esm",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lint": "tslint -p tsconfig.json",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint && npm run build",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"dev": "npm run build && node lib/index.js",
"start": "node lib/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gaskeo/fsdh.git"
},
"keywords": [
"fsd",
"cli",
"front-end",
"tool",
"interactive"
],
"author": "gaskeo",
"license": "ISC",
"bugs": {
"url": "https://github.com/gaskeo/fsdh/issues"
},
"homepage": "https://github.com/gaskeo/fsdh#readme",
"dependencies": {
"ansi-escapes": "^6.1.0",
"ts-jest-resolver": "^2.0.1"
},
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/eslint-parser": "^7.21.3",
"@digitak/tsc-esm": "^3.1.4",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.58.0",
"babel-eslint": "^10.1.0",
"cross-env": "^7.0.3",
"eslint": "^8.38.0",
"eslint-plugin-import": "^2.27.5",
"jest": "^29.5.0",
"ts-jest": "^29.1.0",
"tslint": "^6.1.3",
"typescript": "^5.0.4"
},
"jest": {
"testRegex": "__tests__[\\/a-zA-Z\\.]*test\\.ts",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.ts",
"!src/__tests__/**/*.ts"
],
"coverageThreshold": {
"global": {
"functions": 80,
"lines": 80
}
},
"preset": "ts-jest/presets/default-esm",
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"transform": {
"^.+\\.ts?$": [
"ts-jest",
{
"useESM": true
}
]
}
}
}