stop shipping ts with builds

This commit is contained in:
jhuleatt
2019-06-25 13:31:12 -06:00
parent 3f6d524cbd
commit dafc6ea524
6 changed files with 6691 additions and 710 deletions

1
.gitignore vendored
View File

@@ -12,6 +12,7 @@ reactfire/**/*.jsx
reactfire/**/*.js.map
reactfire/**/*.jsx.map
reactfire/**/*.d.ts
reactfire/pub/reactfire/package.json
reactfire/docs/reactfire-metadata.json
sample-complex/.cache/**
sample-complex/src/firebase-key.json

6076
reactfire/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -5,10 +5,11 @@
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"build": "tsc index.ts --lib DOM,ES2018 --sourceMap --declaration --jsx react",
"build-dev": "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"
"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"
},
"repository": {
"type": "git",
@@ -21,11 +22,11 @@
},
"homepage": "https://firebaseopensource.com/projects/firebase/reactfire/",
"dependencies": {
"rxfire": "^3.3.11",
"rxfire": "^3.6.3",
"rxjs": "^6.4.0"
},
"peerDependencies": {
"firebase": "^5.9.4",
"firebase": "^6.0.0",
"react": "^16.8.6"
},
"devDependencies": {
@@ -33,14 +34,13 @@
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@firebase/app": "^0.4.1",
"@firebase/app": "^0.4.8",
"@firebase/app-types": "^0.4.0",
"@types/jest": "^24.0.11",
"babel-jest": "^24.7.1",
"jest": "~24.7.1",
"jest-dom": "^3.1.3",
"react-hooks-testing-library": "^0.4.0",
"typedoc": "^0.14.2",
"typescript": "^3.4.5"
}
}

View File

@@ -0,0 +1,31 @@
{
"name": "reactfire",
"version": "2.0.0",
"description": "Firebase library for React",
"main": "index.js",
"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"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Firebase/reactfire.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/Firebase/reactfire/issues"
},
"homepage": "https://firebaseopensource.com/projects/firebase/reactfire/",
"dependencies": {
"rxfire": "^3.6.3",
"rxjs": "^6.4.0"
},
"peerDependencies": {
"firebase": "^6.0.0",
"react": "^16.8.6"
}
}

View File

@@ -1,6 +1,14 @@
{
"compilerOptions": {
"module": "commonjs",
"jsx": "react"
}
"target": "es5",
"module": "esnext",
"removeComments": true,
"moduleResolution": "node",
"jsx": "react",
"baseUrl": "./src",
"lib": ["es5", "es6", "dom"],
"outDir": "pub/reactfire",
"declaration": true
},
"files": ["index.ts"]
}

1267
yarn.lock

File diff suppressed because it is too large Load Diff