69 lines
1.8 KiB
JSON
69 lines
1.8 KiB
JSON
{
|
|
"name": "prix-carburants",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@testing-library/jest-dom": "^4.2.4",
|
|
"@testing-library/react": "^9.3.2",
|
|
"@testing-library/user-event": "^7.1.2",
|
|
"axios": "^0.19.2",
|
|
"bootstrap": "^4.4.1",
|
|
"eslint-config-prettier": "^6.10.0",
|
|
"eslint-plugin-prettier": "^3.1.2",
|
|
"mapbox-gl": "^1.8.1",
|
|
"moment": "^2.24.0",
|
|
"prop-types": "^15.7.2",
|
|
"react": "^16.13.0",
|
|
"react-bootstrap": "^1.0.0-beta.17",
|
|
"react-dom": "^16.13.0",
|
|
"react-icons": "^3.9.0",
|
|
"react-map-gl": "^5.2.3",
|
|
"react-moment": "^0.9.7",
|
|
"react-scripts": "3.4.0",
|
|
"react-toast-notifications": "^2.4.0"
|
|
},
|
|
"scripts": {
|
|
"start": "react-scripts start",
|
|
"build": "react-scripts build",
|
|
"deploy": "ssh porto 'rm -r www/darkou.fr/carburants/static www/darkou.fr/carburants/precache-manifest*' && scp -r build/* porto:www/darkou.fr/carburants:",
|
|
"test": "react-scripts test",
|
|
"lint": "./node_modules/.bin/eslint . --fix",
|
|
"eject": "react-scripts eject"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "react-app"
|
|
},
|
|
"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": {
|
|
"*.js": [
|
|
"./node_modules/.bin/eslint . --fix",
|
|
"git add"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-airbnb": "^18.0.1",
|
|
"eslint-plugin-import": "^2.20.1",
|
|
"eslint-plugin-jsx-a11y": "^6.2.3",
|
|
"eslint-plugin-react": "^7.18.3",
|
|
"eslint-plugin-react-hooks": "^1.7.0",
|
|
"husky": "^4.2.3",
|
|
"lint-staged": "^10.0.8"
|
|
}
|
|
}
|