-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 2.55 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
{
"name": "stdouttojson",
"version": "1.0.0",
"description": "transforms stdout to JSON 📇",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/esm/index.js",
"files": [
"dist"
],
"scripts": {
"build": "rimraf dist && tsup src/index.ts --format cjs,esm --dts --minify --clean --sourcemap --legacy-output",
"commit-msg": "commitlint --edit $1",
"install:commit-msg": "[ -d '.husky' ] || (mkdir .husky && echo 'npm run commit-msg' > .husky/commit-msg && chmod +x .husky/commit-msg)",
"install:pre-commit": "[ -d '.husky' ] || (echo 'npm run pre-commit' > .husky/pre-commit && chmod +x .husky/pre-commit)",
"lint": "eslint src/*.ts",
"pre-commit": "lint-staged && pnpm typecheck",
"prepare": "is-ci || (husky install && pnpm install:commit-msg && pnpm install:pre-commit)",
"prepublishOnly": "pnpm i && pnpm test && pnpm build",
"release": "release-it",
"test": "tsx tests/index.test.ts",
"transpile": "tsc && rollup --config rollup.config.ts --configPlugin typescript",
"typecheck": "tsc --noEmit",
"update": "codependence --update"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yowainwright/stdoutToJSON.git"
},
"keywords": [
"stdout",
"cli",
"testing",
"json",
"stdoutJSON",
"cli"
],
"author": "Jeff Wainwright <https://jeffry.in> ([email protected])",
"license": "MIT",
"bugs": {
"url": "https://github.com/yowainwright/stdoutToJSON/issues"
},
"homepage": "https://loom.com/share/6b7082bd802b43618646242477701def",
"devDependencies": {
"@commitlint/cli": "19.7.1",
"@commitlint/config-conventional": "19.7.1",
"@types/node": "22.13.0",
"@typescript-eslint/eslint-plugin": "8.22.0",
"@typescript-eslint/parser": "8.22.0",
"codependence": "0.3.1",
"eslint": "8.57.0",
"eslint-config-prettier": "^10.0.1",
"husky": "9.1.7",
"is-ci": "^4.1.0",
"lint-staged": "15.4.3",
"release-it": "18.1.2",
"rimraf": "6.0.1",
"tslib": "2.8.1",
"tsup": "^8.0.1",
"tsx": "^4.7.0",
"typescript": "5.7.3"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"header-max-length": [
2,
"always",
120
]
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && pnpm typecheck"
}
},
"lint-staged": {
"src/**/*.ts": [
"eslint --fix"
]
},
"release-it": {
"git": {
"commitMessage": "chore: release"
}
},
"dependencies": {
"json5": "^2.2.3"
}
}