-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
53 lines (53 loc) · 1.57 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": "www-roberthung",
"version": "1.0.0",
"main": "index.js",
"author": "Robert Hung",
"license": "MIT",
"scripts": {
"build": "rm -rf public && rm -rf .cache && gatsby build",
"clean": "gatsby clean",
"dev": "gatsby develop --open --host 0.0.0.0",
"format": "prettier --write './**/*.{css,js,jsx,json,ts,tsx}'",
"lint": "eslint --max-warnings 0 'src/**/*.{js,jsx,ts,tsx}'",
"lint:fix": "yarn lint --fix",
"prepare": "husky install",
"serve": "gatsby serve",
"start": "gatsby develop --open --host 0.0.0.0",
"tsc": "tsc"
},
"dependencies": {
"autoprefixer": "^10.2.5",
"gatsby": "^3.5.0",
"gatsby-plugin-postcss": "^4.5.0",
"gatsby-plugin-typescript": "^3.5.0",
"postcss": "^8.2.15",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-icons": "^4.2.0",
"react-toggle": "^4.1.2",
"tailwindcss": "^2.1.2"
},
"devDependencies": {
"@types/node": "^15.3.0",
"@types/prettier": "^2.2.3",
"@types/react": "^17.0.5",
"@types/react-dom": "^17.0.5",
"@types/react-toggle": "^4.0.2",
"@typescript-eslint/eslint-plugin": "^4.25.0",
"@typescript-eslint/parser": "^4.25.0",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": ">=6",
"lint-staged": ">=10",
"prettier": "^2.3.0",
"typescript": "^4.2.4"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --cache --fix",
"*.{css,js,jsx,json,ts,tsx}": "prettier --write"
}
}