|
1 | 1 | {
|
2 | 2 | "name": "viterc",
|
3 | 3 | "private": false,
|
4 |
| - "version": "1.0.0", |
| 4 | + "version": "1.1.0", |
5 | 5 | "description": "A modern minimal Vite + React + TypeScript template with pre-configured ESLint (with Airbnb JS/React rules), Prettier, Testing with Jest and Git hooks with Husky out of the box 📦",
|
6 | 6 | "license": "MIT",
|
7 | 7 | "author": {
|
8 | 8 | "name": "Patrick Jean Meurer",
|
9 | 9 |
|
10 | 10 | "url": "https://github.com/potreco"
|
11 | 11 | },
|
12 |
| - "type": "module", |
13 | 12 | "scripts": {
|
14 | 13 | "postinstall": "husky install",
|
15 | 14 | "dev": "vite",
|
|
19 | 18 | "lint:fix": "eslint src --ext .js,.jsx,.ts,.tsx --fix",
|
20 | 19 | "format": "prettier \"src/**/*.{js,jsx,ts,tsx,css,scss}\" --write",
|
21 | 20 | "compile": "tsc",
|
22 |
| - "test": "jest" |
| 21 | + "test": "jest", |
| 22 | + "commit": "cz" |
| 23 | + }, |
| 24 | + "config": { |
| 25 | + "commitizen": { |
| 26 | + "path": "./node_modules/cz-conventional-changelog" |
| 27 | + } |
23 | 28 | },
|
24 | 29 | "dependencies": {
|
25 | 30 | "react": "^18.2.0",
|
26 | 31 | "react-dom": "^18.2.0"
|
27 | 32 | },
|
28 | 33 | "devDependencies": {
|
| 34 | + "@commitlint/cli": "^17.0.3", |
| 35 | + "@commitlint/config-conventional": "^17.0.3", |
29 | 36 | "@testing-library/jest-dom": "^5.16.4",
|
30 | 37 | "@testing-library/react": "^13.3.0",
|
31 | 38 | "@testing-library/user-event": "^14.2.5",
|
|
35 | 42 | "@typescript-eslint/eslint-plugin": "^5.30.6",
|
36 | 43 | "@typescript-eslint/parser": "^5.30.6",
|
37 | 44 | "@vitejs/plugin-react": "^2.0.0",
|
| 45 | + "commitizen": "^4.2.5", |
38 | 46 | "eslint": "^8.19.0",
|
39 | 47 | "eslint-config-airbnb": "^19.0.4",
|
40 | 48 | "eslint-config-airbnb-typescript": "^17.0.0",
|
41 | 49 | "eslint-config-prettier": "^8.5.0",
|
| 50 | + "eslint-import-resolver-typescript": "^3.3.0", |
42 | 51 | "eslint-plugin-import": "2.25.3",
|
43 | 52 | "eslint-plugin-jsx-a11y": "6.5.1",
|
44 | 53 | "eslint-plugin-prettier": "^4.2.1",
|
|
0 commit comments