-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 2.9 KB
/
Copy pathpackage.json
File metadata and controls
106 lines (106 loc) · 2.9 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "format-package",
"version": "8.0.0",
"description": "Sensible formatting and ordering of package.json",
"license": "MIT",
"engines": {
"node": ">=22.18.0"
},
"repository": {
"type": "git",
"url": "https://github.com/camacho/format-package.git"
},
"bugs": {
"url": "https://github.com/camacho/format-package/issues"
},
"homepage": "https://github.com/camacho/format-package#readme",
"author": "Patrick Camacho <patrick@daftdevelopers.com>",
"contributors": [
"Alexandre Germain (https://gerkindev.github.io/devblog/)",
"Peter Chanthamynavong <peterkc@gmail.com>"
],
"keywords": [
"format",
"order",
"sort",
"standardize",
"organize",
"package",
"package.json",
"prettier",
"prettify"
],
"bin": "dist/cli/index.js",
"type": "module",
"main": "dist/lib/index.js",
"files": [
"dist",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"scripts": {
"prebuild": "rm -rf ./dist",
"build": "tsc --project tsconfig.build.json",
"postbuild": "chmod +x ./dist/cli/index.js",
"dev": "node ./src/cli/index.ts",
"docs": "node ./scripts/markdown.ts",
"format": "npm run dev -- -w package.json && prettier --write --ignore-unknown .",
"gamut": "npm run reset && npm run format && npm run lint && npm run type-check && npm run test && npm run build && npm run start",
"lint": "eslint .",
"prepack": "npm run build",
"prepare": "husky",
"prepublishOnly": "npm run gamut",
"reset": "rm -rf ./node_modules ./dist && npm install",
"start": "node ./dist/cli/index.js",
"test": "vitest run",
"type-check": "tsc --noEmit",
"watch": "node --watch ./src/cli/index.ts"
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix",
"prettier --write"
],
"*.{yml,md,json}": [
"prettier --write"
],
"**/package.json": [
"npm run dev -- -w package.json"
]
},
"dependencies": {
"cosmiconfig": "^9.0.2",
"joi": "^18.2.3",
"json5": "^2.2.0",
"resolve-from": "^5.0.0",
"sort-scripts": "^1.0.1",
"yargs": "^18.0.0"
},
"peerDependencies": {
"prettier": "^2.0.0 || ^3.0.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^24.13.2",
"@vitest/coverage-v8": "^4.1.9",
"@vitest/eslint-plugin": "^1.6.20",
"eslint": "^10.5.0",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-import-x": "^4.16.2",
"globals": "^17.6.0",
"husky": "^9.1.7",
"install-deps-postmerge": "^2.0.1",
"lint-staged": "^17.0.8",
"markdown-magic": "^4.11.0",
"markdown-magic-engines": "^2.0.0",
"markdown-magic-install-command": "^3.0.0",
"markdown-magic-package-scripts": "^2.0.0",
"markdown-magic-prettier": "^3.0.0",
"prettier": "^3.8.4",
"typescript": "^6.0.3",
"typescript-eslint": "^8.61.1",
"vitest": "^4.1.9"
}
}