-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.27 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 2.27 KB
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
{
"name": "@acm-97/react-snake-game",
"version": "1.0.1",
"author": "acm-97",
"description": "React component that displays the classic snake's game",
"keywords": [
"react",
"typescript",
"react-snake-game",
"snake-game"
],
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/acm-97/react-snake-game.git"
},
"scripts": {
"start": "react-scripts start",
"build": "yarn build:esm && yarn build:cjs",
"build:esm": "tsc --noEmit false",
"build:cjs": "tsc --noEmit false --module commonjs --outDir dist/cjs",
"test": "react-scripts test",
"lint": "eslint \"{**/*,*}.{js,ts,jsx,tsx}\"",
"prettier": "prettier --write \"{src,tests}/**/*.{js,ts,jsx,tsx}\"",
"prepare": "npm run build",
"prepublishOnly": "npm run prettier && npm run lint"
},
"yarn.build": {
"input": "src",
"output": "dist"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/user-event": "^13.2.1",
"react": "18.1.0",
"react-dom": "18.1.0",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.0"
},
"devDependencies": {
"@types/jest": "^27.0.1",
"@types/node": "^16.7.13",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"eslint": "^8.16.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.5.0",
"prettier": "^2.6.2",
"typescript": "^4.4.2"
},
"peerDependencies": {
"react": ">=17"
},
"files": [
"dist",
"README.md"
]
}