UNPKG

1.76 kBJSONView Raw
1{
2 "name": "prettier-package-json",
3 "version": "2.8.0",
4 "description": "Prettier formatter for package.json files",
5 "license": "MIT",
6 "author": "Cameron Hunter <hello@cameronhunter.co.uk>",
7 "repository": {
8 "type": "git",
9 "url": "https://github.com/cameronhunter/prettier-package-json"
10 },
11 "bugs": "https://github.com/cameronhunter/prettier-package-json/issues",
12 "main": "build/index.js",
13 "bin": {
14 "prettier-package-json": "./bin/prettier-package-json"
15 },
16 "files": [
17 "bin/",
18 "build/"
19 ],
20 "scripts": {
21 "build": "tsc",
22 "format": "./bin/prettier-package-json --write",
23 "test": "jest",
24 "preversion": "yarn build && yarn test --ci",
25 "version": "git push && git push --tags"
26 },
27 "dependencies": {
28 "@types/parse-author": "^2.0.0",
29 "commander": "^4.0.1",
30 "cosmiconfig": "^7.0.0",
31 "fs-extra": "^10.0.0",
32 "glob": "^7.1.6",
33 "minimatch": "^3.0.4",
34 "parse-author": "^2.0.0",
35 "sort-object-keys": "^1.1.3",
36 "sort-order": "^1.0.1"
37 },
38 "devDependencies": {
39 "@types/cross-spawn": "^6.0.2",
40 "@types/jest": "^26.0.23",
41 "@types/minimatch": "^3.0.4",
42 "@types/sort-object-keys": "^1.1.0",
43 "cross-spawn": "^7.0.3",
44 "husky": "^7.0.4",
45 "jest": "^26.6.3",
46 "ts-jest": "^26.5.6",
47 "ts-node": "^9.1.1",
48 "type-fest": "^1.0.2",
49 "typescript": "^4.2.4"
50 },
51 "keywords": [
52 "cleanup",
53 "formatter",
54 "json",
55 "keys",
56 "object",
57 "package",
58 "package.json",
59 "prettier",
60 "sort"
61 ],
62 "husky": {
63 "hooks": {
64 "pre-commit": "yarn format && git add package.json"
65 }
66 },
67 "jest": {
68 "preset": "ts-jest",
69 "testPathIgnorePatterns": [
70 "<rootDir>/build/",
71 "<rootDir>/node_modules/"
72 ]
73 }
74}