diff --git a/.circleci/config.yml b/.circleci/config.yml index a8b2259c7..18cc125ac 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: diff --git a/packages/react-renderer-demo/package.firebase.json b/packages/react-renderer-demo/package.firebase.json new file mode 100644 index 000000000..7d109cec3 --- /dev/null +++ b/packages/react-renderer-demo/package.firebase.json @@ -0,0 +1,41 @@ +{ + "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": { + "@actions/github": "^5.0.0", + "@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" + } +}