-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
37 lines (37 loc) · 1.44 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"name": "nextjs-typescript-firebase-hosting",
"version": "1.0.0",
"author": "Tony Polinelli",
"license": "MIT",
"description": "Next.js / Typescript / Firebase, hosted on cloud functions",
"repository": "https://github.com/tonypee/nextjs-typescript-firebase-hosted.git",
"scripts": {
"install": "mkdir -p dist dist/public dist/pages dist/static",
"predeploy": "yarn build && cd dist && yarn",
"serve": "firebase serve",
"deploy": "firebase deploy",
"dev": "concurrently 'yarn watch-static' 'tsc --watch' 'next ./dist'",
"build": "yarn clean && tsc && next build ./dist && cp package.json dist/package.json && yarn create-public",
"start": "next start ./dist",
"clean": "rm -rf dist/ && yarn install",
"reset": "rm -rf node_modules dist && yarn",
"watch-static": "watch-run -i -p 'src/static/**' 'rm -rf dist/static && mkdir dist/static && cp src/static/* dist/static'",
"create-public": "mkdir dist/public/static && cp src/static/* dist/public/static && echo \"not used\" > dist/public/__placeholder.html"
},
"dependencies": {
"babel-runtime": "^6.26.0",
"firebase-admin": "^5.0.1",
"firebase-functions": "^0.7.3",
"next": "beta",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"watch-run": "^1.2.5"
},
"devDependencies": {
"@types/node": "^8.0.53",
"@types/react": "^16.0.25",
"@types/react-dom": "^16.0.3",
"concurrently": "^3.5.1",
"typescript": "2.6.1"
}
}