Skip to content

Commit e2eeaa2

Browse files
authored
Merge pull request #160 from GoogleChrome/develop
Release 1.0.0-beta4
2 parents cb22e57 + 4376c10 commit e2eeaa2

26 files changed

+356
-29
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,14 @@ Login to Firebase:
2626

2727
Initialize Firebase:
2828

29-
firebase init
29+
firebase init hosting
30+
31+
Answer questions as follows:
32+
33+
? What do you want to use as your public directory? public
34+
? Configure as a single-page app (rewrite all urls to /index.html)? Yes
35+
? Set up automatic builds and deploys with GitHub? No
36+
? File public/index.html already exists. Overwrite? No
3037

3138
Install the dependencies:
3239

firebase.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
11
{
22
"hosting": {
3-
"public": "public",
4-
"rewrites": [{
3+
"headers": [{
54
"source": "**",
6-
"destination": "/index.html"
5+
"headers": [
6+
{
7+
"key": "Content-Security-Policy",
8+
"value": "script-src 'self'; object-src 'none'; base-uri 'none'"
9+
}
10+
]
711
}],
12+
"public": "public",
813
"ignore": [
914
"firebase.json",
1015
"**/.*",
1116
"**/node_modules/**"
17+
],
18+
"rewrites": [
19+
{
20+
"source": "**",
21+
"destination": "/index.html"
22+
}
1223
]
1324
}
1425
}

package-lock.json

Lines changed: 110 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kino",
3-
"version": "1.0.0-beta3",
3+
"version": "1.0.0-beta4",
44
"description": "A sample offline streaming video PWA built for web.dev/media",
55
"main": "src/index.js",
66
"author": "Google",
@@ -20,6 +20,7 @@
2020
"@babel/eslint-plugin": "^7.13.16",
2121
"@babel/preset-env": "^7.14.4",
2222
"@rollup/plugin-json": "^4.1.0",
23+
"ansi-regex": ">=5.0.1",
2324
"chokidar-cli": "^2.1.0",
2425
"eslint": "^7.27.0",
2526
"eslint-config-airbnb-base": "^14.2.1",
@@ -28,11 +29,14 @@
2829
"eslint-plugin-jest": "^24.3.6",
2930
"eslint-plugin-jsdoc": "^35.0.0",
3031
"front-matter": "^4.0.2",
32+
"highlight.js": "^11.2.0",
3133
"husky": "^6.0.0",
3234
"jest": "^27.0.3",
3335
"marked": "^2.0.6",
3436
"rollup": "^2.50.4",
3537
"rollup-plugin-execute": "^1.1.1",
36-
"rollup-plugin-import-css": "^2.0.1"
38+
"rollup-plugin-import-css": "^2.0.1",
39+
"rollup-plugin-terser": "^7.0.2",
40+
"tmpl": ">=1.0.5"
3741
}
3842
}
3.26 KB
Loading
5.69 KB
Loading
11.2 KB
Loading
13.6 KB
Loading
18.3 KB
Loading
2.58 KB
Loading

0 commit comments

Comments
 (0)