Browse Source

Added npm readme

master
Henning Hall 7 years ago
parent
commit
7949ec1fc5
3 changed files with 7 additions and 1 deletions
  1. +1
    -0
      .npmignore
  2. +3
    -0
      npmREADME.md
  3. +3
    -1
      package.json

+ 1
- 0
.npmignore View File

@ -1,4 +1,5 @@
demo demo
docs docs
example example
githubREADME.md
.gitignore .gitignore

+ 3
- 0
npmREADME.md View File

@ -0,0 +1,3 @@
# React Native Date Picker
A cross platform <a href="https://github.com/henninghall/react-native-date-picker" title="React Native Date Pickers">react native date picker</a> component for android and ios. Including 3 different modes, date, time, and datetime. The date picker is customizable and have mulitple language support.

+ 3
- 1
package.json View File

@ -4,7 +4,9 @@
"description": "A Cross Platform React Native Picker", "description": "A Cross Platform React Native Picker",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"prepublish": "mv README.md githubREADME.md && mv npmREADME.md README.md",
"postpublish": "mv README.md npmREADME.md && mv githubREADME.md README.md"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

Loading…
Cancel
Save