Simon Priet 9e2991e668 init
2021-09-05 22:53:58 +02:00

111 lines
3.8 KiB
JSON

{
"name": "listr2",
"version": "3.11.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/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": "tscpaths -p tsconfig.paths.json -s ./dist -o ./dist",
"dev:build": "yarn prebuild && tsc -p tsconfig.json && yarn postbuild",
"dev:start": "yarn dev:build && TS_NODE_PROJECT='tsconfig.paths.json' 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 --entryPoints src/index.ts --entryPoints src/renderer/default.renderer.ts --entryPoints src/renderer/verbose.renderer.ts --entryPoints src/renderer/silent.renderer.ts --readme none --allReflectionsHaveOwnDocument --hideInPageTOC"
},
"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 && yarn api-extractor"
},
"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": "^1.2.2",
"log-update": "^4.0.0",
"p-map": "^4.0.0",
"rxjs": "^6.6.7",
"through": "^2.3.8",
"wrap-ansi": "^7.0.0"
},
"devDependencies": {
"@cenk1cenk2/cz-cc": "^1.4.2",
"@cenk1cenk2/eslint-config": "^0.4.45",
"@microsoft/api-extractor": "^7.18.7",
"@types/jest": "^27.0.1",
"@types/node": "^16.7.8",
"@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": "^7.32.0",
"jest": "^27.1.0",
"jest-mock-process": "^1.4.1",
"lint-staged": "^11.1.2",
"prettier": "^2.3.2",
"rewire": "^5.0.0",
"rimraf": "^3.0.2",
"simple-git-hooks": "^2.6.1",
"ts-jest": "^27.0.4",
"ts-node": "^10.2.1",
"tsc-watch": "^4.5.0",
"tsconfig-paths": "^3.11.0",
"tscpaths": "^0.0.9",
"typedoc": "^0.21.9",
"typedoc-plugin-markdown": "^3.10.4",
"typescript": "^4.4.2"
},
"peerDependencies": {
"enquirer": ">= 2.3.0 < 3"
},
"config": {
"commitizen": {
"path": "./node_modules/@cenk1cenk2/cz-cc"
}
}
}