-
-
Notifications
You must be signed in to change notification settings - Fork 216
/
package.json
83 lines (83 loc) · 2 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
{
"name": "@antfu/ni",
"type": "module",
"version": "0.23.2",
"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": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"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 && npm publish",
"typecheck": "tsc",
"prepare": "npx simple-git-hooks",
"lint": "eslint .",
"test": "vitest"
},
"devDependencies": {
"@antfu/eslint-config": "^3.12.0",
"@posva/prompts": "^2.4.4",
"@types/fs-extra": "^11.0.4",
"@types/ini": "^4.1.1",
"@types/node": "^22.10.2",
"@types/which": "^3.0.4",
"bumpp": "^9.9.1",
"eslint": "^9.17.0",
"fs-extra": "^11.2.0",
"fzf": "^0.5.2",
"ini": "^5.0.0",
"lint-staged": "^15.2.11",
"package-manager-detector": "^0.2.8",
"picocolors": "^1.1.1",
"simple-git-hooks": "^2.11.1",
"taze": "^0.18.0",
"terminal-link": "^3.0.0",
"tinyexec": "^0.3.1",
"tinyglobby": "^0.2.10",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"unbuild": "^3.0.1",
"vitest": "^2.1.8",
"which": "^5.0.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}