129 lines
3.9 KiB
JSON
129 lines
3.9 KiB
JSON
{
|
|
"name": "listr2",
|
|
"version": "6.6.1",
|
|
"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/listr2/listr2",
|
|
"type": "module",
|
|
"main": "./dist/index.cjs",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"require": "./dist/index.cjs",
|
|
"import": "./dist/index.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"author": {
|
|
"name": "Cenk Kilic",
|
|
"email": "cenk@kilic.dev",
|
|
"url": "https://cenk.kilic.dev"
|
|
},
|
|
"engines": {
|
|
"node": ">=16.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup-node",
|
|
"dev:start": "tsup-node --watch",
|
|
"example": "TS_NODE_PROJECT=examples/tsconfig.json NODE_OPTIONS='--no-warnings --experimental-specifier-resolution=node --experimental-vm-modules --loader ./loader.js' node",
|
|
"clean": "rimraf node_modules pnpm-lock.yaml",
|
|
"format": "prettier --log-level warn --write src/ tests/ examples/ docs/ && pnpm run lint --fix",
|
|
"lint": "eslint --ext .ts,.js,.tsx,.jsx src/ tests/ examples/ docs/",
|
|
"test": "TS_NODE_PROJECT=tests/tsconfig.json NODE_OPTIONS='--no-warnings --experimental-specifier-resolution=node --experimental-vm-modules' jest --config ./tests/jest.config.ts",
|
|
"test:cov": "pnpm run test --coverage",
|
|
"test:dev": "NODE_OPTIONS='--no-warnings --experimental-specifier-resolution=node --experimental-vm-modules --inspect=0.0.0.0:9229' pnpm run test --verbose --watchAll",
|
|
"test:read-snapshot": "./tests/read-terminal-snapshots.sh",
|
|
"docs:build": "vuepress build docs",
|
|
"docs:dev:start": "vuepress dev docs",
|
|
"docs:dev:start:clean": "vuepress dev docs --clean-cache"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "[ -n \"$SKIP_GIT_HOOKS\" ] && true || pnpm exec lint-staged",
|
|
"prepare-commit-msg": "[ -t 1 ] && exec < /dev/tty && git cz --hook || true",
|
|
"pre-push": "[ -n \"$SKIP_GIT_HOOKS\" ] && true || pnpm run 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": "^3.1.0",
|
|
"colorette": "^2.0.20",
|
|
"eventemitter3": "^5.0.1",
|
|
"log-update": "^5.0.1",
|
|
"rfdc": "^1.3.0",
|
|
"wrap-ansi": "^8.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@cenk1cenk2/cz-cc": "^1.6.6",
|
|
"@cenk1cenk2/eslint-config": "^2.7.12",
|
|
"@jest/globals": "^29.6.2",
|
|
"@swc/core": "^1.3.72",
|
|
"@tsconfig/node16": "^16.1.0",
|
|
"@types/jest": "^29.5.3",
|
|
"@types/node": "^20.4.5",
|
|
"@types/wrap-ansi": "^8.0.1",
|
|
"@vuepress/client": "2.0.0-beta.66",
|
|
"@vuepress/plugin-docsearch": "2.0.0-beta.66",
|
|
"enquirer": "^2.4.1",
|
|
"eslint": "^8.46.0",
|
|
"execa": "^7.2.0",
|
|
"jest": "^29.6.2",
|
|
"jest-mock-process": "^2.0.0",
|
|
"lint-staged": "^13.2.3",
|
|
"prettier": "^3.0.0",
|
|
"rimraf": "^5.0.1",
|
|
"rxjs": "^7.8.1",
|
|
"simple-git-hooks": "^2.9.0",
|
|
"ts-jest": "^29.1.1",
|
|
"ts-node": "^10.9.1",
|
|
"tsconfig-paths": "^4.2.0",
|
|
"tsup": "7.1.0",
|
|
"typedoc": "^0.24.8",
|
|
"typedoc-plugin-markdown": "^3.15.4",
|
|
"typescript": "^5.1.6",
|
|
"vue": "3.3.4",
|
|
"vuepress": "2.0.0-beta.66",
|
|
"vuepress-plugin-typedoc": "0.12.1",
|
|
"vuepress-theme-hope": "2.0.0-beta.234"
|
|
},
|
|
"peerDependencies": {
|
|
"enquirer": ">= 2.3.0 < 3"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"enquirer": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/@cenk1cenk2/cz-cc"
|
|
}
|
|
}
|
|
}
|