|
15 | 15 | "scripts": { |
16 | 16 | "app": "node create-app.js", |
17 | 17 | "app:install": "npm i --no-save $(npm pack . | tail -1) --prefix app", |
18 | | - "build": "esbuild index.tsx --outdir=dist --bundle --minify --format=esm --sourcemap --external:react-native --external:react && tsc", |
| 18 | + "build": "esbuild index.tsx --outdir=dist --bundle --format=esm --sourcemap --external:react-native --external:react && tsc", |
19 | 19 | "watch": "npm-run-all --parallel build:watch copy", |
20 | 20 | "copy": "cpx 'dist/**/*' app/node_modules/<%= name %>/dist --watch", |
21 | 21 | "build:watch": "esbuild index.tsx --watch --outdir=dist --bundle --format=esm --sourcemap --external:react-native --external:react", |
|
29 | 29 | "react-native": "^0.71.3" |
30 | 30 | }, |
31 | 31 | "devDependencies": { |
32 | | - "@react-native/eslint-config": "^0.72.2", |
33 | | - "@types/jest": "^29.5.2", |
34 | | - "@types/react": "^18.2.13", |
35 | | - "@types/react-native": "^0.72.2", |
36 | | - "@types/react-test-renderer": "^18.0.0", |
37 | | - "@typescript-eslint/eslint-plugin": "^5.60.0", |
38 | | - "@typescript-eslint/parser": "^5.60.0", |
39 | | - "babel-jest": "^29.5.0", |
| 32 | + "@react-native-community/eslint-config": "^3.2.0", |
| 33 | + "@types/jest": "^29.5.10", |
| 34 | + "@types/react": "^18.2.41", |
| 35 | + "@types/react-native": "^0.72.7", |
| 36 | + "@types/react-test-renderer": "^18.0.7", |
| 37 | + "babel-jest": "^29.7.0", |
40 | 38 | "cpx": "^1.5.0", |
41 | | - "esbuild": "^0.18.5", |
42 | | - "eslint": "^8.43.0", |
| 39 | + "esbuild": "^0.19.8", |
| 40 | + "eslint": "^8.55.0", |
43 | 41 | "eslint-plugin-flowtype": "^8.0.3", |
44 | | - "jest": "^29.5.0", |
45 | | - "metro-react-native-babel-preset": "^0.76.6", |
| 42 | + "eslint-plugin-prettier": "^5.0.1", |
| 43 | + "jest": "^29.7.0", |
| 44 | + "metro-react-native-babel-preset": "^0.77.0", |
46 | 45 | "npm-run-all": "^4.1.5", |
47 | | - "prettier": "^2.8.8", |
| 46 | + "prettier": "^3.1.0", |
48 | 47 | "react": "^18.2.0", |
49 | | - "react-native": "^0.71.11", |
| 48 | + "react-native": "^0.72.7", |
50 | 49 | "react-test-renderer": "^18.2.0", |
51 | | - "typescript": "^5.1.3" |
| 50 | + "typescript": "^5.3.2" |
52 | 51 | }, |
53 | 52 | "files": [ |
54 | 53 | "dist" |
55 | 54 | ], |
56 | 55 | "eslintConfig": { |
57 | 56 | "root": true, |
58 | | - "extends": "@react-native", |
| 57 | + "extends": "@react-native-community", |
59 | 58 | "rules": { |
60 | 59 | "semi": 0 |
61 | 60 | }, |
62 | 61 | "ignorePatterns": [ |
63 | 62 | "dist", |
64 | 63 | "app" |
65 | | - ], |
66 | | - "parser": "@typescript-eslint/parser", |
67 | | - "plugins": [ |
68 | | - "@typescript-eslint" |
69 | | - ], |
70 | | - "overrides": [ |
71 | | - { |
72 | | - "files": [ |
73 | | - "*.ts", |
74 | | - "*.tsx" |
75 | | - ] |
76 | | - } |
77 | 64 | ] |
78 | 65 | }, |
79 | 66 | "prettier": { |
|
0 commit comments