Skip to content

Commit

Permalink
feat: initialize dimensions-util library
Browse files Browse the repository at this point in the history
  • Loading branch information
kdn0325 committed Mar 9, 2024
1 parent 364f77d commit b5c64ce
Show file tree
Hide file tree
Showing 3 changed files with 18,185 additions and 16 deletions.
6 changes: 3 additions & 3 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
"expo": "~50.0.11",
"expo-status-bar": "~1.11.1",
"react": "18.2.0",
"react-native": "0.73.4",
"react-dom": "18.2.0",
"react-native": "0.73.4",
"react-native-web": "~0.19.6"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"babel-plugin-module-resolver": "^5.0.0",
"@expo/webpack-config": "^18.0.1",
"babel-loader": "^8.1.0"
"babel-loader": "^8.1.0",
"babel-plugin-module-resolver": "^5.0.0"
},
"private": true
}
21 changes: 8 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@
"name": "react-native-dimensions-util",
"version": "0.1.0",
"description": "dimension for react-native",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"types": "lib/typescript/src/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"react-native": "src/index.tsx",
"source": "src/index.tsx",
"files": [
"src",
"lib",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"android",
"ios",
"cpp",
Expand All @@ -20,9 +23,6 @@
"!android/gradlew",
"!android/gradlew.bat",
"!android/local.properties",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__",
"!**/.*"
],
"scripts": {
Expand Down Expand Up @@ -148,12 +148,7 @@
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
"typescript"
]
}
}
Loading

0 comments on commit b5c64ce

Please sign in to comment.