UNPKG

1.87 kBJSONView Raw
1{
2 "name": "nnrm",
3 "type": "module",
4 "version": "0.4.1",
5 "packageManager": "pnpm@8.3.1",
6 "description": "New npm registry manager.",
7 "author": {
8 "email": "me@yunyoujun.cn",
9 "name": "YunYouJun",
10 "url": "https://www.yunyoujun.cn"
11 },
12 "license": "MIT",
13 "repository": "https://github.com/YunYouJun/nnrm",
14 "keywords": [
15 "npm",
16 "registry",
17 "toggle",
18 "manager"
19 ],
20 "main": "./dist/index.js",
21 "module": "./dist/index.js",
22 "bin": {
23 "nnrm": "dist/index.js",
24 "nrm": "dist/index.js",
25 "nyrm": "dist/yrm.js",
26 "prm": "dist/prm.js",
27 "yrm": "dist/yrm.js"
28 },
29 "files": [
30 "dist",
31 "registries.json"
32 ],
33 "engines": {
34 "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
35 },
36 "devDependencies": {
37 "@antfu/eslint-config": "^0.38.5",
38 "@vitest/coverage-c8": "^0.30.1",
39 "bumpp": "^9.1.0",
40 "cac": "^6.7.14",
41 "eslint": "^8.39.0",
42 "execa": "^7.1.1",
43 "node-fetch": "^3.3.1",
44 "picocolors": "^1.0.0",
45 "simple-git-hooks": "^2.8.1",
46 "tsup": "^6.7.0",
47 "typescript": "^5.0.4",
48 "vitest": "^0.30.1"
49 },
50 "simple-git-hooks": {
51 "pre-commit": "pnpm lint-staged"
52 },
53 "lint-staged": {
54 "*": "eslint --fix"
55 },
56 "scripts": {
57 "build": "tsup",
58 "coverage": "vitest run --coverage",
59 "dev": "tsup --watch",
60 "lint": "eslint .",
61 "ls": "node dist/index.js ls",
62 "play": "node dist/index.js",
63 "test": "npm run ls && npm run test:add && npm run test:remove && npm run test:test",
64 "test:add": "node dist/index.js add yyj https://www.yunyoujun.cn",
65 "test:remove": "node dist/index.js remove yyj",
66 "test:test": "node dist/index.js test",
67 "test:use": "node dist/index.js use taobao",
68 "typecheck": "tsc --noEmit",
69 "vitest": "vitest",
70 "postinstall": "echo '`nnrm ls` to use'",
71 "release": "bumpp --commit --push --tag"
72 }
73}
\No newline at end of file