49 lines
1.9 KiB
JSON
49 lines
1.9 KiB
JSON
{
|
|
"name": "cv",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "npm run check && tsc && vite build",
|
|
"check": "npm run typecheck && echo \"Checking files with prettier\" && npm run prettier > /dev/null && npm run lint",
|
|
"dev": "vite",
|
|
"fix": "npm run prettier:format && npm run lint:fix",
|
|
"lint": "eslint src --ext ts,tsx",
|
|
"lint:fix": "eslint --fix src --ext ts,tsx",
|
|
"lint:fix:changed": "eslint --fix $(npm run --silent list:changed)",
|
|
"list:changed": "git diff HEAD --name-only --diff-filter=ACM --relative=app/console/src \"*.tsx\" \"*.ts\" \"*.js\" | sed 's#^#./src/#' ; git ls-files \"./src/*.tsx\" \"./src/*.ts\" -o --exclude-standard",
|
|
"prettier": "prettier --config ./.prettierrc --check 'src/**/*.{js,ts,tsx}'",
|
|
"prettier:format": "prettier --config ./.prettierrc --write 'src/**/*.{js,ts,tsx}'",
|
|
"prettier:format:changed": "prettier --config ./.prettierrc --write $(npm run --silent list:changed)",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@emotion/react": "^11.11.0",
|
|
"@emotion/styled": "^11.11.0",
|
|
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
|
|
"@types/react": "^18.0.37",
|
|
"@types/react-dom": "^18.0.11",
|
|
"@typescript-eslint/eslint-plugin": "^5.59.0",
|
|
"@typescript-eslint/parser": "^5.59.0",
|
|
"@vitejs/plugin-react-swc": "^3.0.0",
|
|
"eslint": "^8.38.0",
|
|
"eslint-config-airbnb": "^19.0.4",
|
|
"eslint-config-airbnb-typescript": "^17.0.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"eslint-config-react-app": "^7.0.1",
|
|
"eslint-plugin-import": "^2.27.5",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-plugin-react-refresh": "^0.3.4",
|
|
"normalize.css": "^8.0.1",
|
|
"react-intl": "^6.4.2",
|
|
"react-router-dom": "^6.11.2",
|
|
"typescript": "^5.0.2",
|
|
"vite": "^4.3.9"
|
|
}
|
|
}
|