Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
plantain-00 committed Nov 15, 2017
1 parent 75a452e commit 7f4c8c6
Show file tree
Hide file tree
Showing 7 changed files with 100 additions and 91 deletions.
2 changes: 1 addition & 1 deletion online/file-size.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"indexBundleCss": "4.45 kB 1.28 kB",
"indexBundleJs": "24.6 kB 6.58 kB",
"vendorBundleJs": "1.97 MB 533 kB",
"vendorBundleJs": "1.97 MB 534 kB",
"onlineIndexHtml": "5.48 kB 1.82 kB"
}

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions online/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
<div id="prerender-container">
<div id="container"><div class="app"><textarea class="source"></textarea><div class="result"><button>generate</button><div class="options"><select><option value="protobuf">protobuf</option></select></div><pre class="protobuf"></pre><!----></div></div></div>
</div>
<script src="./vendor.bundle-d8564fab56be4b6599ea17247e7707f2.js" crossOrigin="anonymous" integrity="sha256-K4csJbh4LjT+/SrAykbOg0SNNZfXhTlU62QDOFGjfOI="></script>
<script src="./index.bundle-17edb54528a13a235dbb949fa2b588e2.js" crossOrigin="anonymous" integrity="sha256-WhDdW8WdjBgkB4tZKsmHWR+0dNpgehFkFwkaQGmGGuc="></script>
<script src="./vendor.bundle-10e85c8759a91f6932f0b874a620c3c6.js" crossOrigin="anonymous" integrity="sha256-6uwHVSNudY3AAMG2tyqfOfrVBwWDjUYHq/PcnLLekYA="></script>
<script src="./index.bundle-c388a0da7a9966051e29d7678271eebc.js" crossOrigin="anonymous" integrity="sha256-Zt6wnG+itS+Rvb5ujlX7odVcU3tUe68f/YOp3AZ0+0c="></script>

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"homepage": "https:/plantain-00/types-as-schema#readme",
"devDependencies": {
"@types/chokidar": "1.7.3",
"@types/jasmine": "2.6.2",
"@types/jasmine": "2.8.1",
"@types/minimist": "1.2.0",
"@types/node": "8.0.47",
"@types/puppeteer": "0.12.1",
"@types/node": "8.0.52",
"@types/puppeteer": "0.13.0",
"autoprefixer": "7.1.6",
"clean-css-cli": "4.1.10",
"clean-release": "1.3.5",
Expand All @@ -37,9 +37,9 @@
"http-server": "0.10.0",
"jasmine": "2.8.0",
"less": "2.7.3",
"no-unused-export": "1.4.0",
"no-unused-export": "1.4.2",
"postcss-cli": "4.1.1",
"puppeteer": "0.12.0",
"puppeteer": "0.13.0",
"rev-static": "3.4.1",
"rimraf": "2.6.2",
"standard": "10.0.3",
Expand All @@ -48,7 +48,7 @@
"tslint": "5.8.0",
"types-as-schema": "1.6.0",
"vue": "2.5.3",
"vue-class-component": "6.0.0",
"vue-class-component": "6.1.0",
"watch-then-execute": "1.1.1",
"webpack": "3.8.1"
},
Expand Down
6 changes: 3 additions & 3 deletions screenshots/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ import * as puppeteer from "puppeteer";
await page.emulate({ viewport: { width: 1440, height: 900 }, userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36" });
await page.goto(`http://localhost:8000/online`);
await page.waitFor(2000);
await page.screenshot({ path: `screenshots/initial.png`, fullPage: true });
await page.screenshot({ path: `screenshots/initial.png` });

await page.click("button");
await page.waitFor(2000);
await page.screenshot({ path: `screenshots/protobuf.png`, fullPage: true });
await page.screenshot({ path: `screenshots/protobuf.png` });

await (page as any).select("select", "cases.json");
await page.waitFor(2000);
await page.screenshot({ path: `screenshots/json.png`, fullPage: true });
await page.screenshot({ path: `screenshots/json.png` });

browser.close();
})();
Loading

0 comments on commit 7f4c8c6

Please sign in to comment.