1 | {
|
---|
2 | "name": "cliui",
|
---|
3 | "version": "7.0.4",
|
---|
4 | "description": "easily create complex multi-column command-line-interfaces",
|
---|
5 | "main": "build/index.cjs",
|
---|
6 | "exports": {
|
---|
7 | ".": [
|
---|
8 | {
|
---|
9 | "import": "./index.mjs",
|
---|
10 | "require": "./build/index.cjs"
|
---|
11 | },
|
---|
12 | "./build/index.cjs"
|
---|
13 | ]
|
---|
14 | },
|
---|
15 | "type": "module",
|
---|
16 | "module": "./index.mjs",
|
---|
17 | "scripts": {
|
---|
18 | "check": "standardx '**/*.ts' && standardx '**/*.js' && standardx '**/*.cjs'",
|
---|
19 | "fix": "standardx --fix '**/*.ts' && standardx --fix '**/*.js' && standardx --fix '**/*.cjs'",
|
---|
20 | "pretest": "rimraf build && tsc -p tsconfig.test.json && cross-env NODE_ENV=test npm run build:cjs",
|
---|
21 | "test": "c8 mocha ./test/*.cjs",
|
---|
22 | "test:esm": "c8 mocha ./test/esm/cliui-test.mjs",
|
---|
23 | "postest": "check",
|
---|
24 | "coverage": "c8 report --check-coverage",
|
---|
25 | "precompile": "rimraf build",
|
---|
26 | "compile": "tsc",
|
---|
27 | "postcompile": "npm run build:cjs",
|
---|
28 | "build:cjs": "rollup -c",
|
---|
29 | "prepare": "npm run compile"
|
---|
30 | },
|
---|
31 | "repository": "yargs/cliui",
|
---|
32 | "standard": {
|
---|
33 | "ignore": [
|
---|
34 | "**/example/**"
|
---|
35 | ],
|
---|
36 | "globals": [
|
---|
37 | "it"
|
---|
38 | ]
|
---|
39 | },
|
---|
40 | "keywords": [
|
---|
41 | "cli",
|
---|
42 | "command-line",
|
---|
43 | "layout",
|
---|
44 | "design",
|
---|
45 | "console",
|
---|
46 | "wrap",
|
---|
47 | "table"
|
---|
48 | ],
|
---|
49 | "author": "Ben Coe <ben@npmjs.com>",
|
---|
50 | "license": "ISC",
|
---|
51 | "dependencies": {
|
---|
52 | "string-width": "^4.2.0",
|
---|
53 | "strip-ansi": "^6.0.0",
|
---|
54 | "wrap-ansi": "^7.0.0"
|
---|
55 | },
|
---|
56 | "devDependencies": {
|
---|
57 | "@types/node": "^14.0.27",
|
---|
58 | "@typescript-eslint/eslint-plugin": "^4.0.0",
|
---|
59 | "@typescript-eslint/parser": "^4.0.0",
|
---|
60 | "@wessberg/rollup-plugin-ts": "^1.3.2",
|
---|
61 | "c8": "^7.3.0",
|
---|
62 | "chai": "^4.2.0",
|
---|
63 | "chalk": "^4.1.0",
|
---|
64 | "cross-env": "^7.0.2",
|
---|
65 | "eslint": "^7.6.0",
|
---|
66 | "eslint-plugin-import": "^2.22.0",
|
---|
67 | "eslint-plugin-node": "^11.1.0",
|
---|
68 | "gts": "^3.0.0",
|
---|
69 | "mocha": "^8.1.1",
|
---|
70 | "rimraf": "^3.0.2",
|
---|
71 | "rollup": "^2.23.1",
|
---|
72 | "standardx": "^7.0.0",
|
---|
73 | "typescript": "^4.0.0"
|
---|
74 | },
|
---|
75 | "files": [
|
---|
76 | "build",
|
---|
77 | "index.mjs",
|
---|
78 | "!*.d.ts"
|
---|
79 | ],
|
---|
80 | "engine": {
|
---|
81 | "node": ">=10"
|
---|
82 | }
|
---|
83 | }
|
---|