|
1 | 1 | { |
2 | 2 | "name": "react-native-force-graph", |
3 | | - "version": "0.0.1", |
| 3 | + "description": "React Native library for creating dynamic force-directed graphs", |
| 4 | + "version": "0.0.1-development", |
| 5 | + "author": { |
| 6 | + "name": "Mateusz Łopaciński", |
| 7 | + "email": "lop.mateusz.2001@gmail.com" |
| 8 | + }, |
4 | 9 | "dependencies": { |
5 | 10 | "@fortawesome/fontawesome-svg-core": "^6.4.0", |
6 | | - "@fortawesome/free-regular-svg-icons": "^6.4.0", |
7 | 11 | "@fortawesome/free-solid-svg-icons": "^6.4.0", |
8 | 12 | "@fortawesome/react-native-fontawesome": "^0.3.0", |
9 | | - "@shopify/react-native-skia": "^0.1.193", |
10 | | - "nativewind": "^2.0.11", |
11 | | - "postcss": "^8.4.24", |
12 | | - "potpack": "^2.0.0", |
13 | | - "react": "^18.2.0", |
14 | | - "react-native": "^0.71.8", |
15 | | - "react-native-gesture-handler": "^2.10.2", |
16 | | - "react-native-reanimated": "^3.2.0", |
17 | | - "react-native-svg": "^13.9.0" |
| 13 | + "potpack": "^2.0.0" |
18 | 14 | }, |
19 | 15 | "devDependencies": { |
20 | 16 | "@babel/core": "^7.22.1", |
| 17 | + "@babel/plugin-proposal-class-properties": "^7.18.6", |
| 18 | + "@babel/plugin-proposal-private-methods": "^7.18.6", |
21 | 19 | "@babel/preset-env": "^7.22.4", |
22 | 20 | "@babel/runtime": "^7.22.3", |
23 | 21 | "@react-native-community/eslint-config": "^3.2.0", |
| 22 | + "@shopify/react-native-skia": "^0.1.193", |
24 | 23 | "@tsconfig/react-native": "^3.0.2", |
25 | 24 | "@types/jest": "^29.5.2", |
26 | 25 | "@types/react": "^18.2.7", |
27 | 26 | "@types/react-test-renderer": "^18.0.0", |
28 | 27 | "babel-jest": "^29.5.0", |
29 | 28 | "babel-plugin-module-resolver": "^5.0.0", |
| 29 | + "babel-plugin-react-require": "^4.0.0", |
30 | 30 | "eslint": "^8.41.0", |
31 | 31 | "eslint-import-resolver-typescript": "^3.5.5", |
32 | 32 | "eslint-plugin-import": "^2.27.5", |
|
38 | 38 | "husky": "^8.0.3", |
39 | 39 | "jest": "^29.5.0", |
40 | 40 | "lint-staged": "^13.2.2", |
| 41 | + "merge-dirs": "^0.2.1", |
41 | 42 | "metro-react-native-babel-preset": "^0.76.5", |
42 | 43 | "prettier": "^2.8.8", |
| 44 | + "react": "^18.2.0", |
| 45 | + "react-native": "^0.71.8", |
| 46 | + "react-native-builder-bob": "^0.20.4", |
| 47 | + "react-native-gesture-handler": "^2.10.2", |
| 48 | + "react-native-reanimated": "^3.2.0", |
| 49 | + "react-native-svg": "^13.9.0", |
43 | 50 | "react-test-renderer": "^18.2.0", |
44 | 51 | "syncpack": "^10.1.0", |
45 | 52 | "tailwindcss": "^3.3.2", |
| 53 | + "tsc-alias": "^1.8.6", |
46 | 54 | "typescript": "^5.1.0" |
47 | 55 | }, |
| 56 | + "files": [ |
| 57 | + "dist" |
| 58 | + ], |
48 | 59 | "jest": { |
49 | | - "preset": "react-native" |
| 60 | + "preset": "react-native", |
| 61 | + "modulePathIgnorePatterns": [ |
| 62 | + "<rootDir>/dist/" |
| 63 | + ] |
50 | 64 | }, |
51 | 65 | "lint-staged": { |
52 | 66 | "*.{js,jsx,ts,tsx}": [ |
53 | 67 | "eslint --fix", |
54 | | - "prettier --write --ignore-unknown" |
| 68 | + "prettier --write --ignore-unknown", |
| 69 | + "yarn format:deps" |
55 | 70 | ] |
56 | 71 | }, |
57 | | - "private": true, |
| 72 | + "main": "dist/commonjs/index.js", |
| 73 | + "module": "dist/module/index.js", |
| 74 | + "peerDependencies": { |
| 75 | + "@shopify/react-native-skia": ">=0.1.193", |
| 76 | + "react": ">=18.0.0", |
| 77 | + "react-native": ">=0.71.8", |
| 78 | + "react-native-gesture-handler": ">=2.0.0", |
| 79 | + "react-native-reanimated": ">=3.0.0", |
| 80 | + "react-native-svg": ">=13.0.0" |
| 81 | + }, |
| 82 | + "publishConfig": { |
| 83 | + "access": "public" |
| 84 | + }, |
| 85 | + "repository": "MatiPl01/react-native-force-graph", |
58 | 86 | "scripts": { |
59 | 87 | "android": "react-native run-android", |
60 | | - "build:android": "cd android && ./gradlew assembleRelease", |
| 88 | + "build": "yarn clean && bob build && yarn declarations:emit", |
| 89 | + "clean": "rm -rf dist && rm -rf react-native-force-graph*.tgz", |
| 90 | + "declarations:emit": "tsc && tsc-alias", |
61 | 91 | "format:code": "prettier --write .", |
62 | 92 | "format:deps": "syncpack format", |
63 | 93 | "ios": "react-native run-ios", |
64 | 94 | "lint": "eslint .", |
65 | 95 | "lint:fix": "eslint --fix .", |
| 96 | + "prepack": "yarn build", |
66 | 97 | "prepare": "husky install", |
67 | 98 | "start": "react-native start", |
68 | 99 | "test": "jest" |
69 | | - } |
| 100 | + }, |
| 101 | + "types": "dist/types/index.d.ts" |
70 | 102 | } |
0 commit comments