-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.38 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 2.38 KB
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
{
"name": "refactoring-cli",
"version": "0.3.0",
"description": "Agent-consumable CLI for applying Martin Fowler's catalog of refactorings to TypeScript codebases with guaranteed semantic preservation",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"refactor": "dist/core/cli/index.js"
},
"scripts": {
"prebuild": "node -e \"const p=require('./package.json'); require('fs').writeFileSync('src/core/cli/version.ts', '// Generated by prebuild — do not edit\\nexport const version = \\\"' + p.version + '\\\";\\n')\"",
"build": "rm -rf dist && tsc",
"lint": "eslint 'src/**/*.ts'",
"format": "prettier --write 'src/**/*.ts'",
"format:check": "prettier --check 'src/**/*.ts'",
"test": "node --experimental-vm-modules node_modules/.bin/jest",
"test:coverage": "node --experimental-vm-modules node_modules/.bin/jest --coverage",
"test:real": "node_modules/.bin/tsx scripts/test-real-codebase/run.ts",
"prepublishOnly": "npm run build",
"prepare": "husky"
},
"keywords": [
"refactoring",
"typescript",
"ast",
"cli",
"ts-morph"
],
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/timLoewel/refactoring_cli.git"
},
"homepage": "https://github.com/timLoewel/refactoring_cli#readme",
"bugs": {
"url": "https://github.com/timLoewel/refactoring_cli/issues"
},
"license": "MIT",
"engines": {
"node": ">=22"
},
"lint-staged": {
"*.ts": [
"eslint --fix --no-warn-ignored",
"prettier --write",
"node --experimental-vm-modules node_modules/.bin/jest --findRelatedTests --passWithNoTests --forceExit"
],
"*.md": [
"markdownlint-cli2 --fix",
"prettier --write"
]
},
"dependencies": {
"commander": "^14.0.3",
"neverthrow": "^8.2.0",
"ts-morph": "^27.0.2",
"typescript": "^5.9.3"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/jest": "^30.0.0",
"@typescript-eslint/eslint-plugin": "^8.57.1",
"@typescript-eslint/parser": "^8.57.1",
"eslint": "^10.1.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-functional": "^9.0.4",
"husky": "^9.1.7",
"jest": "^30.3.0",
"lint-staged": "^16.4.0",
"markdownlint-cli2": "^0.22.0",
"prettier": "^3.8.1",
"ts-jest": "^29.4.6",
"tsx": "^4.21.0",
"typescript-eslint": "^8.57.1"
}
}