Last active
February 19, 2018 12:38
-
-
Save JulienHe/149365ee238c0a6535ddb2823f5e1cd6 to your computer and use it in GitHub Desktop.
Package.json - Next-routes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "test", | |
"version": "2.0.0", | |
"main": "index.js", | |
"license": "MIT", | |
"dependencies": { | |
"babel-plugin-module-resolver": "^3.1.0", | |
"babel-runtime": "^6.26.0", | |
"firebase-admin": "^5.7.0", | |
"firebase-functions": "^0.8.0", | |
"next": "^5.0.0", | |
"next-routes": "^1.3.0", | |
"react": "^16.2.0", | |
"react-dom": "^16.2.0" | |
}, | |
"devDependencies": { | |
"@babel/cli": "^7.0.0-beta.37", | |
"@babel/core": "^7.0.0-beta.37", | |
"@babel/preset-env": "^7.0.0-beta.37", | |
"cpx": "^1.5.0", | |
"firebase-tools": "^3.16.0", | |
"prettier": "^1.10.2", | |
"rimraf": "^2.6.2" | |
}, | |
"scripts": { | |
"fblogin": "yarn firebase login", | |
"dev": "next src/app", | |
"deploy-app": "yarn firebase deploy --only hosting,functions:app", | |
"deploy-functions": "yarn firebase deploy --only functions:greetings", | |
"deploy-all": "yarn firebase deploy", | |
"clean": "rimraf \"dist/functions\" && rimraf \"dist/public\"", | |
"build-public": "cpx \"src/public/**/*.*\" \"dist/public\" -C", | |
"build-funcs": "babel \"src/functions\" --out-dir \"dist/functions\"", | |
"build-app": "next build \"src/app\"", | |
"copy-routes": "cpx \"src/routes.js\" \"dist/functions\" -C", | |
"copy-deps": "cpx \"*{package.json,yarn.lock}\" \"dist/functions\"", | |
"install-deps": "cd \"dist/functions\" && yarn" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment