46 lines
1.4 KiB
JSON
46 lines
1.4 KiB
JSON
|
{
|
||
|
"name": "vite-preact-ts-eslint-prettier",
|
||
|
"version": "0.0.0",
|
||
|
"scripts": {
|
||
|
"dev": "next dev",
|
||
|
"build": "next build",
|
||
|
"start": "next start",
|
||
|
"prod": "yarn build && yarn start",
|
||
|
"type-check": "tsc",
|
||
|
"lint:eslint": "eslint **/*.{ts,tsx}",
|
||
|
"lint:prettier": "prettier . --check",
|
||
|
"lint": "yarn lint:eslint && yarn lint:prettier",
|
||
|
"fix:eslint": "yarn lint:eslint --fix",
|
||
|
"fix:prettier": "prettier . --write",
|
||
|
"fix": "yarn fix:eslint && yarn fix:prettier",
|
||
|
"test:eslint": "yarn lint:eslint --max-warnings=0",
|
||
|
"test:prettier": "yarn lint:prettier",
|
||
|
"test": "yarn type-check && yarn test:eslint && yarn test:prettier"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"@types/react": "^17.0.13",
|
||
|
"next": "^11.0.1",
|
||
|
"preact": "^10.5.14",
|
||
|
"typescript": "^4.3.5"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/react-dom": "^17.0.8",
|
||
|
"@typescript-eslint/eslint-plugin": "^4.28.0",
|
||
|
"@typescript-eslint/parser": "^4.28.0",
|
||
|
"eslint": "^7.29.0",
|
||
|
"eslint-config-next": "^11.0.1",
|
||
|
"eslint-config-prettier": "^8.3.0",
|
||
|
"eslint-plugin-import": "^2.23.4",
|
||
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
||
|
"eslint-plugin-prettier": "^3.4.0",
|
||
|
"eslint-plugin-react": "^7.24.0",
|
||
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
||
|
"pre-commit": "^1.2.2",
|
||
|
"prettier": "^2.3.2",
|
||
|
"react": "^17.0.2",
|
||
|
"react-dom": "^17.0.2"
|
||
|
},
|
||
|
"pre-commit": "test",
|
||
|
"license": "MIT"
|
||
|
}
|