-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
137 lines (137 loc) · 4.7 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "@brlt/n",
"version": "0.1.1",
"packageManager": "pnpm@7.0.0",
"description": "Use the right package manager",
"license": "MIT",
"author": "Nicholas Berlette <nick@berlette.com>",
"contributors": [
"Anthony Fu <anthonyfu117@hotmail.com>",
"Nicholas Berlette <nick@berlette.com>"
],
"repository": {
"type": "git",
"url": "git+https://github.com/nberlette/n.git"
},
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"files": [
"dist",
"bin"
],
"bin": {
"na": "bin/na.mjs",
"nd": "bin/nd.mjs",
"ne": "bin/ne.mjs",
"nci": "bin/nci.mjs",
"nl": "bin/nl.mjs",
"ni": "bin/ni.mjs",
"np": "bin/np.mjs",
"no": "bin/no.mjs",
"nr": "bin/nr.mjs",
"nt": "bin/nt.mjs",
"nv": "bin/nv.mjs",
"nu": "bin/nu.mjs",
"nb": "bin/nb.mjs",
"nh": "bin/nh.mjs",
"nun": "bin/nun.mjs"
},
"bugs": {
"url": "https://github.com/nberlette/n/issues"
},
"homepage": "https://github.com/nberlette/n#readme",
"scripts": {
"info": "npm-scripts-info",
"watch": "pnpm build -- --watch",
"release": "pnpm format && git add --all && pnpx bumpp --commit '📦 v%s' --push --tag",
"lint": "eslint .",
"lint:fix": "pnpm lint -- --fix",
"prepublishOnly": "pnpm clean && pnpm build",
"dev": "esno src/commands/ni.ts",
"build": "unbuild",
"stub": "unbuild --stub",
"format:base": "prettier --ignore-path=.gitignore --plugin-search-dir=. '**/*.ts'",
"format:check": "pnpm format:base -c",
"format": "pnpm format:base -w",
"test": "vitest",
"clean": "rimraf dist",
"clean:all": "rimraf dist node_modules",
"ni": "esno src/commands/ni.ts",
"nci": "esno src/commands/nci.ts",
"nr": "esno src/commands/nr.ts",
"ne": "esno src/commands/nex.ts",
"nun": "esno src/commands/nun.ts",
"nu": "esno src/commands/nu.ts",
"no": "esno src/commands/no.ts",
"nv": "esno src/commands/nv.ts",
"nd": "esno src/commands/nd.ts",
"nh": "esno src/commands/nh.ts",
"na": "esno src/commands/na.ts",
"nl": "esno src/commands/nl.ts",
"nt": "esno src/commands/nt.ts",
"np": "esno src/commands/np.ts",
"nb": "esno src/commands/nb.ts"
},
"scripts-info": {
"info": "Display information about the package scripts",
"watch": "Watch source files and rebuild package when changes are detected.",
"build": "Builds the package and all binaries in production mode",
"release": "Increment package version, commit+tag+push to git, and publish to npm registry.",
"lint": "Check for syntax errors in source code (eslint).",
"lint:fix": "Attempt to fix syntax errors in source code (eslint).",
"format:check": "Check for style conformance in source code (prettier).",
"format": "Format source code in place to ensure style conformance (prettier).",
"test": "Run a test suite to ensure proper code coverage (vitest).",
"clean": "Remove artifacts from the build process.",
"ni": "Run \"install\" for the appropriate package manager.",
"nci": "Run \"install --frozen-lockfile\" for the appropriate package manager.",
"nr": "Run a script from the nearest package.json file.",
"ne": "Run a remote package binary without installing any dependencies.",
"nun": "Uninstall a dependency and remove it from package.json",
"nu": "Update one or more dependencies.",
"no": "Check for local outdated dependencies. Add --global to check global dependencies.",
"nv": "Get all dependencies versions, or modify the root package version.",
"nd": "Print diff patches of files for packages published to npm registry.",
"nh": "Get help on npm, pnpm, or yarn.",
"na": "Agent alias for npm, pnpm, or yarn.",
"nl": "Link dependencies between different locations.",
"nt": "Run a test script to ensure code coverage.",
"np": "Publish a package to the npm registry.",
"nb": "Determine a package binary path."
},
"devDependencies": {
"@antfu/eslint-config": "^0.22.0",
"@brlt/prettier": "^1.6.4",
"@types/ini": "^1.3.31",
"@types/node": "^17.0.30",
"@types/prompts": "^2.4.0",
"@types/which": "^2.0.1",
"eslint": "^8.14.0",
"esno": "^0.14.1",
"execa": "^6.1.0",
"fast-glob": "^3.2.11",
"find-up": "^6.3.0",
"ini": "^3.0.0",
"npm-scripts-info": "^0.3.9",
"pnpm": "^7.0.0",
"prettier": "^2.6.2",
"prompts": "^2.4.2",
"rimraf": "^3.0.2",
"terminal-link": "^3.0.0",
"typescript": "^4.6.4",
"unbuild": "^0.7.4",
"vitest": "^0.10.0",
"which": "^2.0.2"
},
"eslintConfig": {
"extends": "@antfu"
}
}