Skip to content

Commit

Permalink
package.json is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathChaos committed Aug 7, 2021
1 parent 5b8b8ce commit 88e10f0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 31 deletions.
22 changes: 0 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,6 @@
src="assets/Screenshots/typescript.jpg" />
</p>

## Library Usage

- `npm i`
- Delete example folder
- Delete build folder
- Make your own library into the `lib` folder
- Change package.json
- Change README for your own documentation
- `npm run build`

```
> react-native-typescript-library-starter@0.1.0 build /Users/kuray/Coursion/MyLibraries/ReactNative/react-native-typescript-library-starter
> cd lib && tsc && cp ../package.json ../build/dist/ && Echo Build completed!
Build completed!
```

- Test your build/dist into the new project
- Finally, time to npm publish :)

### Below part is for Documentation ! Remove above Library Usage

# Installation

Add the dependency:
Expand Down
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{
"name": "react-native-typescript-library-starter",
"version": "1.0.5",
"description": "Extremely easy to create a React Native Component Library with both Stateful and Functional Component Examples.",
"name": "react-native-text-input-interactive",
"version": "0.1.0",
"description": "Fully customizable, animated text input for React Native with beautiful and elegant design",
"main": "./build/dist/index.js",
"repository": "git@github.com:WrathChaos/react-native-typescript-library-starter.git",
"repository": "git@github.com:WrathChaos/react-native-text-input-interactive.git",
"author": "FreakyCoder <kurayogun@gmail.com>",
"license": "MIT",
"homepage": "https://www.freakycoder.com",
"bugs": "https://github.com/WrathChaos/react-native-typescript-library-starter/issues",
"bugs": "https://github.com/WrathChaos/react-native-text-input-interactive/issues",
"keywords": [
"text-input",
"text-field",
"interactive",
"animated",
"FreakyCoder",
"freakycoder",
"kuray",
Expand All @@ -26,10 +30,7 @@
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags"
},
"peerDependencies": {
"react": ">= 16.x.x",
"react-native": ">=0.63.x"
},
"peerDependencies": {},
"devDependencies": {
"@types/react": "^16.9.53",
"@types/react-native": "^0.63.25",
Expand Down

0 comments on commit 88e10f0

Please sign in to comment.