This repository has been archived by the owner on Dec 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
118 lines (118 loc) · 4.17 KB
/
package.json
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
118
{
"name": "r3bl-ts-utils",
"version": "2.0.9",
"description": "The `r3bl-ts-utils` package is a set of useful TypeScript functions and classes that can be used in Node.js and browser environments. They are inspired by Kotlin stdlib, and Rust to write code as expressions rather than statements, colorized text, powerful Text User Interface (TUI) framework to build powerful CLI apps, cache, and timer utilities.",
"main": "build/index.js",
"types": "build/index.d.ts",
"files": [
"build/**/*",
"src/**/*"
],
"scripts": {
"build": "rm -rf build && tsc",
"format": "prettier --write \"src/**/*.ts\"",
"test": "jest",
"test-watch": "jest --watch",
"prepare": "npm run build",
"prepublishOnly": "npm run test",
"preversion": "npm run test",
"version": "npm run format && git add -A",
"postversion": "git push && git push --tags",
"lint": "eslint 'src/**/*.{ts,tsx}' --quiet --fix",
"/*format-with-tsfmt*/": "https://github.com/vvakame/typescript-formatter",
"format-with-tsfmt": "tsfmt -r",
"flush-npm-cache": "rm package-lock.json && rm -rf node_modules/ && npm cache clean --force && npm i",
"/*experimental*/": "These scripts allow you to run experimental projects",
"exp-template": "node -r tsm src/experimental/template.tsx",
"exp-node-readline-keypress-logger": "node -r tsm src/experimental/node-keypress/readline-keypress-logger.ts",
"exp-usekeyboard-ink-compat": "node -r tsm src/experimental/node-keypress/ink-compat.tsx",
"exp-usekeyboard-node-keypress": "node -r tsm src/experimental/node-keypress/node-keypress.tsx",
"exp-textinput-ink-compat": "node -r tsm src/experimental/text-input/ink-compat.tsx",
"exp-textinput-node-keypress": "node -r tsm src/experimental/text-input/node-keypress.tsx",
"exp-confirminput-node-keypress": "node -r tsm src/experimental/confirm-input/node-keypress.tsx",
"exp-multi-select-input": "node -r tsm src/experimental/multi-select-input/example.tsx",
"exp-usekeyboard-node-keypress-suite": "npm run exp-node-readline-keypress-logger && npm run exp-usekeyboard-node-keypress && npm run exp-usekeyboard-ink-compat && npm run exp-textinput-node-keypress && npm run exp-confirminput-node-keypress && npm run exp-multi-select-input"
},
"repository": {
"type": "git",
"url": "git+https://github.com/r3bl-org/r3bl-ts-utils.git"
},
"keywords": [
"CLI app framework",
"command line interface",
"Text User Interface (TUI) framework",
"color console",
"terminal",
"color terminal",
"let",
"with",
"apply",
"also",
"Option",
"Some",
"None",
"React Hook",
"timer",
"setInterval",
"Kotlin scope functions",
"Rust language expressions",
"TypeScript",
"sleep",
"ink ui components",
"single select input",
"multi select input",
"figures",
"colors.js",
"chalk",
"node keypress"
],
"author": "Nazmul Idris",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/r3bl-org/r3bl-ts-utils/issues"
},
"homepage": "https://r3bl.com",
"dependencies": {
"lodash": "^4.17.21",
"typescript": "^4.2.2",
"uuidv4": "^6.2.12"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^2.0.0",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^12.1.2",
"@types/jest": "latest",
"@types/lodash": "latest",
"@types/node": "latest",
"@types/react-redux": "latest",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest",
"console-testing-library": "^0.6.1",
"delay": "latest",
"eslint": "latest",
"eslint-plugin-react": "latest",
"eslint-plugin-react-hooks": "latest",
"ink": "^3.2.0",
"ink-testing-library": "^2.1.0",
"jest": "latest",
"nodemon": "latest",
"npm-run-all": "latest",
"prettier": "latest",
"ts-jest": "latest",
"ts-node": "latest",
"tsm": "latest",
"typescript": "latest",
"typescript-formatter": "latest"
},
"peerDependencies": {
"@types/react": "^17.0.34",
"ink": "^3.2.0",
"ink-text-input": "^4.0.2",
"react": "^17.0.2"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
}