-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 1.55 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-blit",
"description": "React hooks and components for building command-line games with Ink.",
"version": "0.0.0",
"license": "MIT",
"bin": {
"snake": "dist/examples/snake/cli.js",
"pong": "dist/examples/pong/cli.js"
},
"engines": {
"node": ">=10"
},
"scripts": {
"clean": "rm -rf ./dist/*",
"build": "tsc && chmod +x dist/src/cli.js",
"start": "npm run build && DEV=true node dist/src/cli.js",
"build:snake": "tsc && chmod +x dist/examples/snake/cli.js",
"start:snake": "npm run build:snake && DEV=true node dist/examples/snake/cli.js",
"build:pong": "tsc && chmod +x dist/examples/pong/cli.js",
"start:pong": "npm run build:pong && DEV=true node dist/examples/pong/cli.js",
"devtool": "npx react-devtools",
"pretest": "npm run build",
"test": "xo && ava"
},
"files": [
"dist/examples/snake/cli.js",
"dist/examples/pong/cli.js"
],
"dependencies": {
"ink": "^3.2.0",
"react": "^17.0.2"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"ava": {
"typescript": {
"extensions": [
"tsx"
],
"rewritePaths": {
"src/": "dist/"
}
}
},
"xo": {
"extends": "xo-react",
"rules": {
"react/prop-types": "off"
}
},
"devDependencies": {
"@ava/typescript": "^3.0.1",
"@sindresorhus/tsconfig": "^3.0.1",
"@types/react": "^18.0.15",
"ava": "^4.3.0",
"chalk": "^4.1.2",
"eslint-config-xo-react": "^0.27.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"ink-testing-library": "^2.1.0",
"typescript": "^4.7.4",
"xo": "^0.39.1"
}
}