-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 1.15 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
{
"private": true,
"name": "wordle",
"version": "0.0.1",
"license": "MIT",
"scripts": {
"build": "preact build --no-prerender",
"serve": "sirv build --port 8080 --cors --single",
"dev": "preact watch",
"lint": "eslint src",
"postinstall": "npx simple-git-hooks"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:prettier/recommended",
"plugin:react-hooks/recommended",
"preact"
]
},
"eslintIgnore": [
"build/*"
],
"nano-staged": {
"**/*.{css,js}": "prettier --write"
},
"simple-git-hooks": {
"pre-commit": "./node_modules/.bin/nano-staged"
},
"devDependencies": {
"eslint": "8.8.0",
"eslint-config-preact": "1.3.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react-hooks": "4.3.0",
"nano-staged": "0.5.0",
"preact-cli": "3.3.4",
"prettier": "2.5.1",
"simple-git-hooks": "2.7.0",
"sirv-cli": "2.0.2"
},
"dependencies": {
"classnames": "2.3.1",
"preact": "10.6.5",
"preact-render-to-string": "5.1.19"
}
}