-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
68 lines (68 loc) · 1.76 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
{
"name": "ink-console",
"version": "1.0.1",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"description": "Render a scrollable terminal log in your ink app",
"keywords": [],
"files": [
"lib/"
],
"dependencies": {
"@types/chalk": "^0.4.31",
"@types/indent-string": "^3.0.0",
"@types/node": "^8.0.14",
"chalk": "^2.0.1",
"indent-string": "^3.1.0",
"ts-ink": "^1.0.0"
},
"devDependencies": {
"@types/jest": "*",
"flowgen2": "*",
"husky": "*",
"jest": "*",
"lint-staged": "*",
"prettier": "*",
"ts-jest": "*",
"ts-node": "^3.2.1",
"typescript": "*"
},
"scripts": {
"precommit": "lint-staged",
"prepublish": "npm run build",
"prettier": "prettier --parser typescript --single-quote --trailing-comma all --no-bracket-spacing --write \"src/**/*.{ts,tsx}\"",
"prettier:check": "prettier --parser typescript --single-quote --trailing-comma all --no-bracket-spacing --list-different \"src/**/*.{ts,tsx}\"",
"build": "tsc && flowgen lib/**/*",
"test": "jest ./src --coverage",
"watch": "jest ./src --coverage --watch"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --parser typescript --single-quote --trailing-comma all --no-bracket-spacing --write",
"git add"
]
},
"jest": {
"testEnvironment": "node",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testMatch": [
"**/*.test.(ts|tsx|js)"
]
},
"repository": {
"type": "git",
"url": "https://github.com/ForbesLindesay/ink-console.git"
},
"author": {
"name": "Forbes Lindesay",
"url": "https://github.com/ForbesLindesay"
},
"license": "MIT"
}