zhangjian
2023-08-07 6b009b0f6d3ef3aee97c362cebcd679d1b9088a3
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
{
  "name": "listr2",
  "version": "3.14.0",
  "description": "Terminal task list reborn! Create beautiful CLI interfaces via easy and logical to implement task lists that feel alive and interactive.",
  "license": "MIT",
  "repository": "https://github.com/cenk1cenk2/listr2",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "author": {
    "name": "Cenk Kilic",
    "email": "cenk@kilic.dev",
    "url": "https://srcs.kilic.dev"
  },
  "engines": {
    "node": ">=10.0.0"
  },
  "scripts": {
    "prebuild": "rimraf tsconfig*.tsbuildinfo && rimraf dist/",
    "build": "tsc -P tsconfig.build.json",
    "postbuild": "tsconfig-replace-paths --project tsconfig.build.json",
    "dev:build": "yarn prebuild && tsc -p tsconfig.json && yarn postbuild",
    "dev:start": "yarn dev:build && tsc-watch --noClear --onSuccess \"yarn postbuild\"",
    "example": "ts-node -r tsconfig-paths/register",
    "read-snapshot": "./tests/read-terminal-snapshots.sh",
    "clean": "rimraf node_modules yarn.lock",
    "lint": "prettier --loglevel warn --write src/ tests/ examples/ && eslint --ext .ts,.js,.tsx,.jsx --fix src/ tests/ examples/",
    "lint:check": "eslint --ext .ts,.js,.tsx,.jsx src/",
    "test": "LISTR_DISABLE_COLOR=1 ts-node -P tests/tsconfig.json -r tsconfig-paths/register node_modules/jest/bin/jest.js --config ./tests/jest.config.js",
    "test:cov": "LISTR_DISABLE_COLOR=1 ts-node -P tests/tsconfig.json -r tsconfig-paths/register node_modules/jest/bin/jest.js --coverage --config ./tests/jest.config.js",
    "dev:test": "LISTR_DISABLE_COLOR=1 TS_NODE_PROJECT=tests/tsconfig.json node --inspect=0.0.0.0:${DEBUG_PORT:-9229} -r tsconfig-paths/register -r ts-node/register node_modules/jest/bin/jest.js --verbose --watchAll --config ./tests/jest.config.js",
    "docs": "typedoc --options .typedoc.json --hideInPageTOC --hideBreadcrumbs"
  },
  "simple-git-hooks": {
    "pre-commit": "yarn exec lint-staged",
    "prepare-commit-msg": "[ -t 1 ] && exec < /dev/tty && git cz --hook || true",
    "pre-push": "yarn test"
  },
  "lint-staged": {
    "*.{ts,js,tsx,jsx,spec.ts}": [
      "prettier --loglevel warn --write",
      "eslint --fix"
    ],
    "*.{json,md}": [
      "prettier --loglevel warn --write"
    ]
  },
  "keywords": [
    "listr",
    "cli",
    "task",
    "list",
    "tasklist",
    "terminal",
    "term",
    "console",
    "ascii",
    "unicode",
    "loading",
    "indicator",
    "progress",
    "busy",
    "wait",
    "idle"
  ],
  "dependencies": {
    "cli-truncate": "^2.1.0",
    "colorette": "^2.0.16",
    "log-update": "^4.0.0",
    "p-map": "^4.0.0",
    "rfdc": "^1.3.0",
    "rxjs": "^7.5.1",
    "through": "^2.3.8",
    "wrap-ansi": "^7.0.0"
  },
  "devDependencies": {
    "@cenk1cenk2/cz-cc": "^1.4.11",
    "@cenk1cenk2/eslint-config": "^1.0.9",
    "@types/clone": "^2.1.1",
    "@types/jest": "^27.4.0",
    "@types/node": "^17.0.7",
    "@types/rewire": "^2.5.28",
    "@types/through": "^0.0.30",
    "@types/wrap-ansi": "^3.0.0",
    "delay": "^5.0.0",
    "enquirer": "^2.3.6",
    "eslint": "^8.6.0",
    "jest": "^27.4.5",
    "jest-mock-process": "^1.4.1",
    "lint-staged": "^11.2.6",
    "prettier": "^2.5.1",
    "rewire": "^6.0.0",
    "rimraf": "^3.0.2",
    "simple-git-hooks": "^2.7.0",
    "ts-jest": "^27.1.2",
    "ts-node": "^10.4.0",
    "tsc-watch": "^4.6.0",
    "tsconfig-paths": "^3.12.0",
    "tsconfig-replace-paths": "^0.0.11",
    "tscpaths": "^0.0.9",
    "typedoc": "^0.22.10",
    "typedoc-plugin-markdown": "^3.11.8",
    "typescript": "^4.5.4"
  },
  "peerDependencies": {
    "enquirer": ">= 2.3.0 < 3"
  },
  "peerDependenciesMeta": {
    "enquirer": {
      "optional": true
    }
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/@cenk1cenk2/cz-cc"
    }
  }
}