-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add deps + command * add directory * setup typescript * remove js files * add types for components * move typings to types folder * refactor * especify files in ts config * add scripts and filter npm files * delete files * add components types * move interfaces * add type definition for components * naming instance
- Loading branch information
Showing
22 changed files
with
590 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules | ||
coverage | ||
yarn.lock | ||
yarn.lock | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { Block, Card, Button, Text, Input } from "./src"; | ||
import * as Utils from "./src/utils"; | ||
import { Block, Button, Card, Input, Text } from "./src"; | ||
import * as theme from "./src/theme"; | ||
import * as Utils from "./src/utils"; | ||
|
||
export { Block, Card, Button, Text, Input, Utils, theme }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,14 +9,21 @@ | |
], | ||
"homepage": "http://expo-ui-kit.com/", | ||
"description": "Expo.io UI Kit for React-Native", | ||
"main": "index.js", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"author": "React-UI-Kit <[email protected]> (https://react-ui-kit.com)", | ||
"license": "MIT", | ||
"scripts": { | ||
"lint": "eslint src", | ||
"test": "jest" | ||
}, | ||
"devDependencies": { | ||
"@types/enzyme": "^3.10.5", | ||
"@types/enzyme-adapter-react-16": "^1.0.6", | ||
"@types/jest": "^25.2.1", | ||
"@types/react": "^16.9.34", | ||
"@types/react-native": "^0.62.2", | ||
"@types/react-test-renderer": "^16.9.2", | ||
"enzyme": "^3.10.0", | ||
"enzyme-adapter-react-16": "^1.14.0", | ||
"eslint": "^6.5.0", | ||
|
@@ -28,9 +35,11 @@ | |
"react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz", | ||
"react-native-testing-library": "^1.13.0", | ||
"react-test-renderer": "^16.13.1", | ||
"ts-jest": "^25.3.1", | ||
"typescript": "^3.8.3" | ||
}, | ||
"eslintConfig": { | ||
"extends": "universe/native" | ||
} | ||
}, | ||
"dependencies": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.