-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
101 lines (101 loc) · 2.82 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
92
93
94
95
96
97
98
99
100
101
{
"name": "ardc-website",
"version": "0.1.0",
"homepage": "https://raparigasdocodigo.pt",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"autoprefixer": "10.4.16",
"basic-ftp": "^5.0.3",
"bootstrap": "^5.3.2",
"i18next": "^23.6.0",
"node-ftp-cli": "^1.0.4",
"react": "^18.2.0",
"react-bootstrap": "^2.9.0",
"react-dom": "^18.2.0",
"react-i18next": "^13.3.0",
"react-multi-carousel": "^2.8.4",
"react-router-dom": "^6.17.0",
"react-scripts": "5.0.1",
"reaptcha": "^1.12.1",
"sass": "^1.69.4",
"web-vitals": "^3.5.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "jest",
"test:ci": "jest --ci",
"eject": "react-scripts eject",
"lint": "eslint . --config ./.eslintrc.js",
"lint:fix": "eslint . --config ./.eslintrc.js --fix",
"format": "prettier --write './**/*.{js,jsx,ts,tsx,css,md,json}' --config ./.prettierrc",
"deploy-ftp": "export $(cat .env | xargs) && node deploy-ftp.js",
"build:deploy-ftp": "git checkout dev && git pull && npm run build && npm run deploy-ftp",
"precommit": "eslint . --config ./.eslintrc.js --fix && npm run format",
"configure-husky": "npx husky install && npx husky add .husky/pre-commit 'npx --no-install lint-staged'"
},
"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"
]
},
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/preset-env": "^7.23.2",
"@babel/preset-react": "^7.22.15",
"babel-jest": "29.7.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-scss-transform": "^1.0.3",
"lint-staged": "^15.0.1",
"postcss": "^8.4.31",
"prettier": "^3.0.3",
"react-test-renderer": "^18.2.0"
},
"peerDependencies": {
"postcss": "^8.4.31"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,jsx, ts, tsx, css, md, json}": [
"eslint . --config ./.eslintrc.js --fix",
"prettier --write . --config ./.prettierrc"
]
},
"overrides": {
"react-scripts": {
"@svgr/webpack": "8.1.0",
"postcss": "8.4.31"
},
"jest-scss-transform": {
"babel-jest": "29.7.0"
}
}
}