|
1 | 1 | { |
2 | 2 | "name": "@checksanity/yamusic-spec", |
3 | | - "version": "0.0.1", |
| 3 | + "version": "0.0.2", |
4 | 4 | "private": true, |
5 | 5 | "scripts": { |
6 | 6 | "dev": "next dev", |
7 | 7 | "build": "next build", |
8 | 8 | "start": "next start", |
9 | 9 | "lint": "next lint", |
| 10 | + "prepare": "husky install", |
10 | 11 | "format:verify": "prettier --list-different \"src/**/*.{js,ts,jsx,tsx,html,vue}\"" |
11 | 12 | }, |
12 | 13 | "dependencies": { |
13 | | - "core-js": "^3.32.2", |
14 | | - "mobx": "^6.10.2", |
15 | | - "next": "^13.5.3", |
| 14 | + "@stoplight/elements": "^8.0.2", |
| 15 | + "next": "^14.1.0", |
16 | 16 | "react": "^18.2.0", |
17 | 17 | "react-dom": "^18.2.0", |
18 | | - "redoc": "^2.0.0", |
19 | | - "styled-components": "^6.0.8" |
| 18 | + "sass": "^1.70.0" |
20 | 19 | }, |
21 | 20 | "devDependencies": { |
22 | | - "@types/node": "^20.7.0", |
23 | | - "@types/react": "^18.2.23", |
24 | | - "@types/react-dom": "^18.2.7", |
25 | | - "@typescript-eslint/eslint-plugin": "^6.7.3", |
26 | | - "@typescript-eslint/parser": "^6.7.3", |
27 | | - "eslint": "^8.50.0", |
28 | | - "eslint-config-next": "^13.5.3", |
29 | | - "eslint-config-prettier": "^9.0.0", |
30 | | - "prettier": "^3.0.3", |
31 | | - "sass": "^1.68.0", |
32 | | - "typescript": "^5.2.2" |
| 21 | + "@types/node": "^20.11.13", |
| 22 | + "@types/react": "^18.2.48", |
| 23 | + "@types/react-dom": "^18.2.18", |
| 24 | + "eslint": "^8.56.0", |
| 25 | + "eslint-config-next": "^14.1.0", |
| 26 | + "eslint-config-prettier": "^9.1.0", |
| 27 | + "husky": "^9.0.7", |
| 28 | + "lint-staged": "^15.2.1", |
| 29 | + "prettier": "^3.2.4", |
| 30 | + "typescript": "^5.3.3" |
33 | 31 | }, |
34 | 32 | "eslintConfig": { |
35 | 33 | "extends": [ |
|
43 | 41 | "singleQuote": true, |
44 | 42 | "tabWidth": 2, |
45 | 43 | "useTabs": false |
| 44 | + }, |
| 45 | + "husky": { |
| 46 | + "hooks": { |
| 47 | + "pre-commit": "lint-staged" |
| 48 | + } |
| 49 | + }, |
| 50 | + "lint-staged": { |
| 51 | + "**/*.{js,ts}": [ |
| 52 | + "eslint \"{src,apps,libs,test}/**/*.ts\" --fix" |
| 53 | + ], |
| 54 | + "**/*.{js,ts,json}": [ |
| 55 | + "prettier --write" |
| 56 | + ] |
46 | 57 | } |
47 | 58 | } |
0 commit comments