-
-
Notifications
You must be signed in to change notification settings - Fork 226
/
Copy pathpackage.json
87 lines (87 loc) · 2.24 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
{
"name": "@antfu/ni",
"type": "module",
"version": "24.3.0",
"packageManager": "[email protected]",
"description": "Use the right package manager",
"author": "Anthony Fu <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/antfu-collective/ni#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/antfu-collective/ni.git"
},
"bugs": {
"url": "https://github.com/antfu-collective/ni/issues"
},
"exports": {
".": "./dist/index.mjs",
"./ni": "./dist/ni.mjs",
"./nci": "./dist/nci.mjs",
"./nr": "./dist/nr.mjs",
"./nu": "./dist/nu.mjs",
"./nlx": "./dist/nlx.mjs",
"./na": "./dist/na.mjs",
"./nun": "./dist/nun.mjs"
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"bin": {
"ni": "bin/ni.mjs",
"nci": "bin/nci.mjs",
"nr": "bin/nr.mjs",
"nu": "bin/nu.mjs",
"nlx": "bin/nlx.mjs",
"na": "bin/na.mjs",
"nun": "bin/nun.mjs"
},
"files": [
"bin",
"dist"
],
"scripts": {
"prepublishOnly": "npm run build",
"dev": "tsx src/commands/ni.ts",
"nr": "tsx src/commands/nr.ts",
"build": "unbuild",
"stub": "unbuild --stub",
"release": "bumpp && pnpm publish",
"typecheck": "tsc",
"prepare": "npx simple-git-hooks",
"lint": "eslint",
"test": "vitest"
},
"dependencies": {
"ansis": "catalog:prod",
"fzf": "catalog:prod",
"package-manager-detector": "catalog:prod",
"tinyexec": "catalog:prod"
},
"devDependencies": {
"@antfu/eslint-config": "catalog:dev",
"@posva/prompts": "catalog:prod-inlined",
"@types/ini": "catalog:dev",
"@types/node": "catalog:dev",
"@types/which": "catalog:dev",
"bumpp": "catalog:dev",
"eslint": "catalog:dev",
"ini": "catalog:prod-inlined",
"lint-staged": "catalog:dev",
"simple-git-hooks": "catalog:dev",
"taze": "catalog:dev",
"terminal-link": "catalog:prod-inlined",
"tinyglobby": "catalog:dev",
"tsx": "catalog:dev",
"typescript": "catalog:dev",
"unbuild": "catalog:dev",
"vitest": "catalog:dev",
"which": "catalog:prod-inlined"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}