File tree Expand file tree Collapse file tree 4 files changed +27
-26
lines changed Expand file tree Collapse file tree 4 files changed +27
-26
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
"name" : " react-native-hooks" ,
3
3
"version" : " 0.9.0" ,
4
4
"description" : " " ,
5
- "main" : " index.js" ,
5
+ "main" : " lib/index.js" ,
6
+ "types" : " lib/index.d.ts" ,
6
7
"scripts" : {
8
+ "prepare" :" yarn build" ,
7
9
"build" : " yarn tsc" ,
8
10
"release" : " release-it" ,
9
11
"test" : " echo \" Error: no test specified\" && exit 1" ,
26
28
"typescript" : " ^3.6.4"
27
29
},
28
30
"files" : [
29
- " index.js" ,
30
31
" lib"
31
32
]
32
33
}
Original file line number Diff line number Diff line change
1
+ import useDimensions from './useDimensions'
2
+ import useAppState from './useAppState'
3
+ import useBackHandler from './useBackHandler'
4
+ import useCameraRoll from './useCameraRoll'
5
+ import useClipboard from './useClipboard'
6
+ import useAccessibilityInfo from './useAccessibilityInfo'
7
+ import useKeyboard from './useKeyboard'
8
+ import useInteractionManager from './useInteractionManager'
9
+ import useDeviceOrientation from './useDeviceOrientation'
10
+ import useLayout from './useLayout'
11
+
12
+ export {
13
+ useDimensions ,
14
+ useAppState ,
15
+ useBackHandler ,
16
+ useCameraRoll ,
17
+ useClipboard ,
18
+ useAccessibilityInfo ,
19
+ useKeyboard ,
20
+ useInteractionManager ,
21
+ useDeviceOrientation ,
22
+ useLayout
23
+ }
Original file line number Diff line number Diff line change 13
13
"sourceMap" : true , /* Generates corresponding '.map' file. */
14
14
// "outFile": "./", /* Concatenate and emit output to single file. */
15
15
"outDir" : " ./lib" , /* Redirect output structure to the directory. */
16
- // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
16
+ "rootDir" : " ./src " , /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
17
17
// "composite": true, /* Enable project compilation */
18
18
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
19
19
// "removeComments": true, /* Do not emit comments to output. */
You can’t perform that action at this time.
0 commit comments