-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.13 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 2.13 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
{
"name": "torch-it",
"version": "2.6.2",
"description": "CLI to reset, clean, and rebuild Node.js project environments.",
"keywords": [
"cleanup",
"cli",
"docker",
"node"
],
"homepage": "https://github.com/piyook/torch-it#readme",
"bugs": {
"url": "https://github.com/piyook/torch-it/issues"
},
"license": "ISC",
"author": "",
"repository": {
"type": "git",
"url": "git+https://github.com/piyook/torch-it.git"
},
"bin": {
"torch-it": "dist/torch-it.js"
},
"files": [
"dist",
"README.md"
],
"type": "commonjs",
"main": "dist/torch-it.js",
"scripts": {
"build": "esbuild src/torch.ts --bundle --outfile=dist/torch-it.js --platform=node --format=cjs --minify --banner:js=\"#!/usr/bin/env node\"",
"torch-it": "npm run build && node dist/torch-it.js",
"torch-it:ts": "ts-node src/torch.ts",
"lint": "oxlint .",
"lint:fix": "oxlint . --fix",
"format": "prettier --check src/**/*.{ts,js,json} tests/**/*.{ts,js,json} package.json package-lock.json .commitlintrc.json",
"format:write": "prettier --write src/**/*.{ts,js,json} tests/**/*.{ts,js,json} package.json package-lock.json .commitlintrc.json",
"quality": "npm run lint && npm run format && npm test",
"validate-branch-name": "validate-branch-name",
"prepare": "husky",
"prepublishOnly": "npm run build",
"test": "tsc --noEmit && vitest run",
"test:watch": "vitest"
},
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "^21.0.0",
"@commitlint/config-conventional": "^21.0.0",
"@types/node": "^25.6.2",
"esbuild": "^0.28.0",
"husky": "^9.1.7",
"lint-staged": "^17.0.4",
"oxlint": "^1.63.0",
"prettier": "^3.8.3",
"ts-node": "^10.9.2",
"typescript": "^6.0.3",
"validate-branch-name": "^1.3.2",
"vitest": "^4.1.5"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,mjs,cjs,json}": [
"oxlint --fix",
"prettier --write"
]
},
"validate-branch-name": {
"pattern": "^(main|dev){1}$|^(feat|fix|hotfix|release|chore)/.+$",
"errorMsg": "INVALID BRANCH NAME: use format 'feat|fix|hotfix|release|core/your-branch-name'"
}
}