Skip to content

Commit

Permalink
Create firebase specific package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyperkid123 committed Sep 9, 2022
1 parent 6f12a5b commit 59a2001
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- run:
name: Deploy demo
command: |
yarn --cwd packages/react-renderer-demo/ deploy --token=$FIREBASE_TOKEN
mv packages/react-renderer-demo/package.firebase.json packages/react-renderer-demo/package.json && yarn --cwd packages/react-renderer-demo/ deploy --token=$FIREBASE_TOKEN
- save_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
paths:
Expand Down
40 changes: 40 additions & 0 deletions packages/react-renderer-demo/package.firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"name": "@data-driven-forms/react-renderer-demo",
"version": "3.18.8",
"main": "firebaseFunctions.js",
"description": "Documentation page for Data Driven Forms.",
"homepage": "https://data-driven-forms.org/",
"bugs": "https://github.com/data-driven-forms/react-forms/issues",
"repository": {
"type": "git",
"url": "https://github.com/data-driven-forms/react-forms",
"directory": "packages/react-renderer-demo"
},
"engines": {
"node": "16"
},
"private": true,
"scripts": {
"serve": "cross-env NODE_ENV=production firebase emulators:start --only functions,hosting",
"shell": "npm run build && firebase functions:shell",
"deploy": "yarn firebase deploy --only functions,hosting",
"logs": "firebase functions:log",
"lint": "eslint ./src"
},
"dependencies": {
"@next/bundle-analyzer": "12.3.0",
"@next/mdx": "12.3.0",
"@rvsia/next-offline": "^5.0.5",
"clsx": "^1.1.1",
"firebase-admin": "^10.0.1",
"firebase-functions": "^3.16.0",
"next": "12.3.0"
},
"devDependencies": {
"cpx": "^1.5.0",
"cross-env": "^7.0.3",
"firebase-functions-test": "^0.3.3",
"firebase-tools": "^10.1.0",
"rimraf": "^3.0.2"
}
}

0 comments on commit 59a2001

Please sign in to comment.