-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 1.75 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
{
"private": true,
"name": "client",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"build": "preact build",
"serve": "sirv build --port 8080 --cors --single",
"dev": "preact watch",
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"test": "jest ./tests",
"format": "prettier --write ./src/**/*.tsx && prettier --write ./src/**/*.ts",
"prebuild": "rm -rf ../static",
"postbuild": "mv build ../static"
},
"husky": {
"hooks": {
"unused-pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{css,md,scss}": "prettier --write",
"*.{js,jsx,ts,tsx}": "eslint --fix"
},
"eslintIgnore": [
"build/*"
],
"dependencies": {
"preact": "^10.3.1",
"preact-jsx-chai": "^3.0.0",
"preact-markup": "^2.0.0",
"preact-render-to-string": "^5.1.4",
"storeon": "^3.0.3",
"swr": "^0.2.3",
"wouter": "^2.5.0"
},
"devDependencies": {
"@teamsupercell/typings-for-css-modules-loader": "^2.2.0",
"@types/enzyme": "^3.10.5",
"@types/jest": "^25.1.2",
"@types/webpack-env": "^1.15.1",
"@typescript-eslint/eslint-plugin": "^2.25.0",
"@typescript-eslint/parser": "^2.25.0",
"copy-webpack-plugin": "^6.0.3",
"css-loader": "^3.5.3",
"enzyme": "^3.11.0",
"enzyme-adapter-preact-pure": "^2.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^3.0.0",
"husky": "^4.2.1",
"jest": "^25.1.0",
"jest-preset-preact": "^1.0.0",
"lint-staged": "^10.0.7",
"preact-cli": "^3.0.0",
"prettier": "^1.19.1",
"sirv-cli": "^1.0.0-next.3",
"stylus": "^0.54.8",
"stylus-loader": "^3.0.2",
"typescript": "^3.7.5"
}
}