You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
67 lines
1.5 KiB
67 lines
1.5 KiB
{
|
|
"name": "my-awesome-project",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@testing-library/jest-dom": "^5.11.4",
|
|
"@testing-library/react": "^11.1.0",
|
|
"@testing-library/user-event": "^12.1.10",
|
|
"lint": "tslint -p tsconfig.json -c tslint.json",
|
|
"react": "^17.0.1",
|
|
"react-dom": "^17.0.1",
|
|
"react-scripts": "4.0.3",
|
|
"web-vitals": "^1.0.1"
|
|
},
|
|
"scripts": {
|
|
"start": "react-scripts start",
|
|
"build": "react-scripts build",
|
|
"test": "react-scripts test",
|
|
"format:write": "prettier --write \"**/*.{js,vue,json,ts,tsx,md,yml,html}\"",
|
|
"format:check": "prettier --list-different **/*.{js,vue,json,ts,tsx,md,yml,html}"
|
|
},
|
|
"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": {
|
|
"@fullhuman/postcss-purgecss": "4.0.2",
|
|
"autoprefixer": "10.2.5",
|
|
"husky": "5.1.3",
|
|
"prettier": "2.2.1",
|
|
"lint-staged": "^9.4.1",
|
|
"pretty-quick": "3.1.0",
|
|
"tslint": "5.20.0",
|
|
"tslint-config-prettier": "^1.18.0"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.ts": [
|
|
"prettier --write",
|
|
"tslint -p tsconfig.json -c tslint.json",
|
|
"git add"
|
|
],
|
|
"*.{js,json,md}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|