|
1 | 1 | { |
2 | 2 | "name": "react-native-skia-responsive-text", |
3 | | - "private": true, |
4 | 3 | "version": "1.0.0", |
5 | | - "main": "index.js", |
6 | | - "repository": "[email protected]:MatiPl01/react-native-skia-responsive-text.git", |
7 | 4 | "author": "Mateusz Łopaciński <[email protected]>", |
8 | | - "license": "MIT", |
9 | | - "publishConfig": { |
10 | | - "access": "public" |
11 | | - }, |
12 | 5 | "devDependencies": { |
13 | 6 | "eslint": "^8.52.0", |
14 | 7 | "eslint-config-react-native-matipl01": "^1.0.2", |
| 8 | + "husky": "^8.0.0", |
15 | 9 | "jest": "^29.7.0", |
| 10 | + "lint-staged": "^15.0.2", |
16 | 11 | "prettier": "^3.0.3", |
17 | 12 | "react": "^18.2.0", |
18 | 13 | "react-native": "^0.72.5", |
| 14 | + "syncpack": "^11.2.1", |
19 | 15 | "typescript": "^5.2.2" |
20 | 16 | }, |
| 17 | + "license": "MIT", |
| 18 | + "lint-staged": { |
| 19 | + "*.{js,jsx,ts,tsx}": [ |
| 20 | + "yarn lint:fix", |
| 21 | + "bash -c tsc --noEmit", |
| 22 | + "yarn format:code" |
| 23 | + ], |
| 24 | + "package.json": [ |
| 25 | + "syncpack format" |
| 26 | + ] |
| 27 | + }, |
| 28 | + "main": "index.js", |
| 29 | + "private": true, |
| 30 | + "publishConfig": { |
| 31 | + "access": "public" |
| 32 | + }, |
| 33 | + "repository": "[email protected]:MatiPl01/react-native-skia-responsive-text.git", |
21 | 34 | "resolutions": { |
22 | 35 | "react": "^18.2.0", |
23 | 36 | "react-native": "^0.72.5" |
24 | 37 | }, |
25 | 38 | "scripts": { |
26 | 39 | "example": "yarn workspace example start", |
27 | 40 | "example:android": "yarn workspace example android", |
28 | | - "example:ios": "yarn workspace example ios" |
| 41 | + "example:ios": "yarn workspace example ios", |
| 42 | + "format:code": "prettier --write . --ignore-unknown", |
| 43 | + "format:deps": "syncpack format", |
| 44 | + "lint": "eslint .", |
| 45 | + "lint:fix": "eslint --fix .", |
| 46 | + "prepare": "husky install", |
| 47 | + "typecheck": "tsc -p tsconfig.json --noEmit", |
| 48 | + "typecheck:all": "yarn typecheck && yarn typecheck:example", |
| 49 | + "typecheck:example": "yarn workspace example typecheck" |
29 | 50 | }, |
30 | 51 | "workspaces": [ |
31 | 52 | "example" |
|
0 commit comments