Skip to content

Commit

Permalink
Move public directory for development in examples/with-firebas… (#11085)
Browse files Browse the repository at this point in the history
  • Loading branch information
petamoriken authored Mar 17, 2020
1 parent 22e3b93 commit bfab990
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/with-firebase-hosting-and-docker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"serve": "cd dist/functions && firebase serve -p 3000 --debug -o 0.0.0.0",
"deploy": "cd dist/functions && firebase deploy",
"clean": "rimraf dist && mkdir -p dist/functions",
"build-public": "cpx \"src/public/**/*.*\" \"dist/public\" -C",
"build-public": "cpx \"src/app/public/**/*.*\" \"dist/public\" -C",
"build-funcs": "babel \"src/functions\" --out-dir \"dist/functions\"",
"build-app": "next build \"src/app\"",
"copy-deps": "cpx \"*{package.json,package-lock.json,yarn.lock,serviceAccountKey.json}\" \"dist/functions\" -C",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-firebase-hosting-and-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"deploy": "firebase deploy",
"clean": "rimraf \"dist/functions\" && rimraf \"dist/public\"",
"build-app": "next build \"src/app\"",
"build-public": "cpx \"src/public/**/*.*\" \"dist/public\" -C",
"build-public": "cpx \"src/app/public/**/*.*\" \"dist/public\" -C",
"build-functions": "tsc --project src/functions",
"lint-app": "tslint --project src/app",
"typecheck-app": "tsc --project src/app",
Expand Down
2 changes: 1 addition & 1 deletion examples/with-firebase-hosting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"predeploy": "npm run build-public && npm run build-funcs && npm run build-app && npm run copy-deps",
"deploy": "NODE_ENV=production firebase deploy",
"clean": "rimraf \"dist/functions/**\" && rimraf \"dist/public\"",
"build-public": "cpx \"src/public/**/*.*\" \"dist/public\" -C",
"build-public": "cpx \"src/app/public/**/*.*\" \"dist/public\" -C",
"build-funcs": "babel \"src/functions\" --out-dir \"dist/functions\"",
"build-app": "next build \"src/app/\"",
"copy-deps": "cpx \"*{package.json,package-lock.json,yarn.lock}\" \"dist/functions\" -C",
Expand Down

0 comments on commit bfab990

Please sign in to comment.