-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
91 lines (91 loc) · 2.38 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "ethan-portfolio",
"version": "1.2.0",
"description": "Portfolio d'Ethan Piboyeux - Vidéaste | Graphiste | Photographe",
"author": "Sami Lafrance",
"license": "MIT",
"private": true,
"dependencies": {
"@craco/craco": "^6.4.2",
"@testing-library/jest-dom": "^5.15.1",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"craco-alias": "^3.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet-async": "^1.1.2",
"react-router-dom": "^6.0.2",
"react-scripts": "4.0.3",
"react-scroll-parallax": "^2.4.0",
"react-svg": "^14.1.3",
"sass": "^1.44.0",
"web-vitals": "^1.1.2"
},
"devDependencies": {
"@types/jest": "^26.0.24",
"@types/node": "^12.20.37",
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"eslint": "^7.11.0",
"eslint-config-airbnb": "^19.0.1",
"eslint-config-airbnb-typescript": "^16.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react": "^1.1.7",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^25.3.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^7.0.4",
"lint-staged": "^12.1.2",
"prettier": "^2.5.0",
"typescript": "^4.5.2"
},
"scripts": {
"start": "craco start",
"build": "craco build",
"test": "craco test",
"eject": "craco eject",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"prettify": "prettier --write **/*.{ts,tsx,json}",
"lint-staged": "lint-staged",
"lint+prettify": "npm run lint:fix && npm run prettify"
},
"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"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"npm run lint:fix",
"git add --force"
],
"*.{ts,tsx,js,jsx,json}": [
"npm run prettify",
"git add --force"
]
}
}