-
Notifications
You must be signed in to change notification settings - Fork 69
/
Copy pathpackage.json
53 lines (53 loc) · 1.56 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
{
"name": "react-tetris",
"version": "0.4.0",
"description": "Embed a game of Tetris in your React app",
"main": "lib/components/Tetris.js",
"repository": {
"type": "git",
"url": "https://github.com/brandly/react-tetris"
},
"dependencies": {
"keymaster": "1.6.2"
},
"scripts": {
"build:lib": "tsc",
"build:app": "esbuild app/main.tsx --bundle --outfile=dist/main.js",
"watch": "npm run build:app -- --watch",
"build": "npm run clean && npm run build:lib && npm run build:app && npm run html",
"html": "cp app/index.html dist/",
"lint": "eslint . --ext .ts,.tsx",
"clean": "rm -rf dist/* lib/*",
"test": "tsc --noEmit && npm run lint && npm run test:unit",
"test:unit": "esbuild --bundle --platform=node test/index.ts | node"
},
"author": "Matthew Brandly",
"license": "MIT",
"devDependencies": {
"@types/assert": "1.5.10",
"@types/events": "3.0.0",
"@types/react": "18.3.8",
"@types/react-dom": "18.3.0",
"@types/styled-components": "5.1.15",
"@typescript-eslint/eslint-plugin": "6.13.2",
"@typescript-eslint/parser": "6.13.2",
"esbuild": "0.23.1",
"eslint": "8.55.0",
"eslint-plugin-jsx-a11y": "6.6.0",
"gh-pages": "6.1.1",
"prettier": "3.1.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"styled-components": "5.3.1",
"typescript": "5.6.2",
"uglify-js": "3.17.4"
},
"peerDependencies": {
"react": "^16.8.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^18.0.0"
},
"homepage": "https://brandly.github.io/react-tetris/",
"files": [
"lib/"
]
}