add readme to deploy

This commit is contained in:
jhuleatt
2019-07-02 12:04:22 -07:00
parent 60b2440138
commit 4e7a12f96b
2 changed files with 2 additions and 5 deletions

View File

@@ -9,8 +9,7 @@
"test-dev": "jest --verbose --watch",
"test": "jest --no-cache",
"watch": "tsc index.ts --lib DOM,ES2018 --watch --sourceMap --declaration --jsx react",
"docs": "./node_modules/.bin/typedoc --mode modules --json docs/reactfire-metadata.json index.ts && node ./docs/generate-readme.js",
"build": "rm -rf pub && tsc && cp package.pub.json pub/reactfire/package.json"
"build": "rm -rf pub && tsc && cp package.pub.json pub/reactfire/package.json && cp ../README.md pub/reactfire/README.md"
},
"repository": {
"type": "git",

View File

@@ -6,9 +6,7 @@
"types": "index.d.ts",
"scripts": {
"build": "tsc",
"test": "jest",
"watch": "tsc index.ts --lib DOM,ES2018 --watch --sourceMap --declaration --jsx react",
"docs": "./node_modules/.bin/typedoc --mode modules --json docs/reactfire-metadata.json index.ts && node ./docs/generate-readme.js"
"test": "jest"
},
"repository": {
"type": "git",