-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 2.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
{
"name": "ink-playing-cards",
"version": "0.7.3",
"description": "A ink component to render playing cards and card games",
"author": "gfargo <ghfargo@gmail.com>",
"license": "MIT",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"engines": {
"node": ">=16"
},
"scripts": {
"prestart": "yarn build",
"start": "node dist/storybook/storybook.js",
"build": "tsc",
"dev": "npx tsx ./src/storybook/storybook.tsx",
"release": "release-it",
"lint": "prettier --check . && xo",
"lint:fix": "prettier --write . && xo --fix",
"pretest": "yarn build",
"test": "ava",
"test:fix": "yarn build && yarn lint:fix && ava --update-snapshots"
},
"files": [
"dist"
],
"dependencies": {
"ink": "^4.1.0",
"meow": "^11.0.0",
"react": "^18.2.0"
},
"devDependencies": {
"@ava/typescript": "^5.0.0",
"@types/node": "^22.8.2",
"@types/react": "^18.0.32",
"ava": "^6.2.0",
"chalk": "^5.2.0",
"eslint-config-xo-react": "^0.27.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"ink-testing-library": "^4.0.0",
"prettier": "^2.8.7",
"release-it": "^17.10.0",
"ts-node": "^10.9.1",
"tsx": "^4.19.2",
"typescript": "^5.0.3",
"xo": "^0.59.3"
},
"ava": {
"typescript": {
"extensions": [
"ts",
"tsx"
],
"rewritePaths": {
"src/": "dist/"
},
"compile": false
},
"require": [
"ts-node/register"
]
},
"xo": {
"extends": "xo-react",
"prettier": true,
"rules": {
"react/prop-types": "off",
"react/no-array-index-key": "off",
"unicorn/filename-case": "off",
"unicorn/prevent-abbreviations": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"react/boolean-prop-naming": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "variable",
"format": [
"camelCase",
"PascalCase",
"UPPER_CASE"
]
}
]
}
}
}