|
| 1 | +{ |
| 2 | + "name": "with-typescript-eslint-jest", |
| 3 | + "author": "@erikdstock", |
| 4 | + "license": "MIT", |
| 5 | + "version": "1.0.0", |
| 6 | + "scripts": { |
| 7 | + "dev": "next dev", |
| 8 | + "build": "next build", |
| 9 | + "start": "next start", |
| 10 | + "type-check": "tsc --pretty --noEmit", |
| 11 | + "format": "prettier --write .", |
| 12 | + "lint": "eslint . --ext ts --ext tsx --ext js", |
| 13 | + "test": "jest", |
| 14 | + "test-all": "yarn lint && yarn type-check && yarn test" |
| 15 | + }, |
| 16 | + "husky": { |
| 17 | + "hooks": { |
| 18 | + "pre-commit": "lint-staged", |
| 19 | + "pre-push": "yarn run type-check" |
| 20 | + } |
| 21 | + }, |
| 22 | + "lint-staged": { |
| 23 | + "*.@(ts|tsx)": [ |
| 24 | + "yarn lint", |
| 25 | + "yarn format" |
| 26 | + ] |
| 27 | + }, |
| 28 | + "dependencies": { |
| 29 | + "next": "latest", |
| 30 | + "react": "^17.0.1", |
| 31 | + "react-dom": "^17.0.1" |
| 32 | + }, |
| 33 | + "devDependencies": { |
| 34 | + "@testing-library/react": "^11.2.5", |
| 35 | + "@types/jest": "^26.0.20", |
| 36 | + "@types/node": "^14.14.25", |
| 37 | + "@types/react": "^17.0.1", |
| 38 | + "@typescript-eslint/eslint-plugin": "^4.14.2", |
| 39 | + "@typescript-eslint/parser": "^4.14.2", |
| 40 | + "babel-jest": "^26.6.3", |
| 41 | + "eslint": "^7.19.0", |
| 42 | + "eslint-config-prettier": "^7.2.0", |
| 43 | + "eslint-plugin-react": "^7.19.0", |
| 44 | + "husky": "^4.2.3", |
| 45 | + "identity-obj-proxy": "^3.0.0", |
| 46 | + "jest": "^26.6.3", |
| 47 | + "jest-watch-typeahead": "^0.6.1", |
| 48 | + "lint-staged": "^10.0.10", |
| 49 | + "prettier": "^2.0.2", |
| 50 | + "typescript": "^4.1.3" |
| 51 | + } |
| 52 | +} |
0 commit comments