mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
cbfdcce32d
* Update typescript examples to use 1.0.1 of next-typescript * Add .babelrc modifications to upgraded typescript examples
39 lines
1.3 KiB
JSON
39 lines
1.3 KiB
JSON
{
|
|
"name": "with-firebase-hosting",
|
|
"version": "1.0.0",
|
|
"description": "Host Next.js SSR app on Firebase Cloud Functions with Firebase Hosting redirects.",
|
|
"scripts": {
|
|
"dev": "next src/app",
|
|
"serve": "NODE_ENV=production firebase serve --only functions,hosting",
|
|
"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-functions": "tsc --project src/functions",
|
|
"lint-app": "tslint --project src/app",
|
|
"typecheck-app": "tsc --project src/app",
|
|
"lint-functions": "tslint --project src/functions",
|
|
"copy-deps": "cpx \"*{package.json,package-lock.json,yarn.lock}\" \"dist/functions\"",
|
|
"install-deps": "cd \"dist/functions\" && npm i"
|
|
},
|
|
"dependencies": {
|
|
"@zeit/next-typescript": "1.0.1",
|
|
"firebase-admin": "~5.12.1",
|
|
"firebase-functions": "^1.0.1",
|
|
"next": "^6.0.3",
|
|
"react": "^16.3.2",
|
|
"react-dom": "^16.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/next": "^2.4.10",
|
|
"@types/react": "^16.3.14",
|
|
"cpx": "1.5.0",
|
|
"firebase-tools": "3.18.4",
|
|
"prettier": "1.12.1",
|
|
"rimraf": "2.6.2",
|
|
"tslint": "^5.8.0",
|
|
"tslint-react": "3.6.0",
|
|
"typescript": "^2.5.3"
|
|
}
|
|
}
|