Merge pull request #665 from mrkishi/node-stable

Switch to node stable
This commit is contained in:
Rich Harris
2019-05-09 08:42:07 -04:00
committed by GitHub
6 changed files with 1055 additions and 469 deletions

View File

@@ -3,7 +3,7 @@ sudo: false
language: node_js language: node_js
node_js: node_js:
- "11" - "stable"
env: env:
global: global:

1457
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -18,50 +18,50 @@
"test": "test" "test": "test"
}, },
"dependencies": { "dependencies": {
"html-minifier": "^3.5.21", "html-minifier": "^4.0.0",
"http-link-header": "^1.0.2", "http-link-header": "^1.0.2",
"shimport": "^1.0.0", "shimport": "^1.0.0",
"sourcemap-codec": "^1.4.4", "sourcemap-codec": "^1.4.4",
"string-hash": "^1.1.3" "string-hash": "^1.1.3"
}, },
"devDependencies": { "devDependencies": {
"@types/mocha": "^5.2.5", "@types/mocha": "^5.2.6",
"@types/node": "^10.12.21", "@types/node": "^10.14.6",
"@types/puppeteer": "^1.11.3", "@types/puppeteer": "^1.12.4",
"agadoo": "^1.0.1", "agadoo": "^1.0.1",
"cheap-watch": "^1.0.2", "cheap-watch": "^1.0.2",
"cookie": "^0.3.1", "cookie": "^0.3.1",
"devalue": "^1.1.0", "devalue": "^1.1.0",
"eslint": "^5.12.1", "eslint": "^5.16.0",
"eslint-plugin-import": "^2.16.0", "eslint-plugin-import": "^2.17.2",
"kleur": "^3.0.1", "kleur": "^3.0.3",
"mocha": "^5.2.0", "mocha": "^6.1.4",
"node-fetch": "^2.3.0", "node-fetch": "^2.5.0",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"polka": "^0.5.1", "polka": "^0.5.2",
"port-authority": "^1.0.5", "port-authority": "^1.0.5",
"pretty-bytes": "^5.1.0", "pretty-bytes": "^5.2.0",
"puppeteer": "^1.12.0", "puppeteer": "^1.15.0",
"require-relative": "^0.8.7", "require-relative": "^0.8.7",
"rollup": "^1.1.2", "rollup": "^1.11.3",
"rollup-plugin-commonjs": "^9.2.0", "rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-json": "^3.1.0", "rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^4.0.0", "rollup-plugin-node-resolve": "^4.2.3",
"rollup-plugin-replace": "^2.1.0", "rollup-plugin-replace": "^2.2.0",
"rollup-plugin-string": "^2.0.2", "rollup-plugin-string": "^3.0.0",
"rollup-plugin-sucrase": "^2.1.0", "rollup-plugin-sucrase": "^2.1.0",
"rollup-plugin-svelte": "^5.0.3", "rollup-plugin-svelte": "^5.0.3",
"sade": "^1.4.2", "sade": "^1.4.2",
"sirv": "^0.2.2", "sirv": "^0.4.0",
"sucrase": "^3.9.5", "sucrase": "^3.10.1",
"svelte": "^3.0.0-beta.11", "svelte": "^3.2.0",
"svelte-loader": "^2.13.3", "svelte-loader": "^2.13.3",
"webpack": "^4.29.0", "webpack": "^4.30.0",
"webpack-format-messages": "^2.0.5", "webpack-format-messages": "^2.0.5",
"yootils": "0.0.15" "yootils": "0.0.15"
}, },
"peerDependencies": { "peerDependencies": {
"svelte": "^3.0.0" "svelte": "^3.2.0"
}, },
"scripts": { "scripts": {
"test": "mocha --opts mocha.opts", "test": "mocha --opts mocha.opts",

View File

@@ -1,5 +1,5 @@
import sucrase from 'rollup-plugin-sucrase'; import sucrase from 'rollup-plugin-sucrase';
import string from 'rollup-plugin-string'; import { string } from 'rollup-plugin-string';
import json from 'rollup-plugin-json'; import json from 'rollup-plugin-json';
import resolve from 'rollup-plugin-node-resolve'; import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs'; import commonjs from 'rollup-plugin-commonjs';

View File

@@ -1,3 +1,7 @@
<script>
export let error;
</script>
<h1>{error ? error.message : 'No error here'}</h1> <h1>{error ? error.message : 'No error here'}</h1>
<a href="enhance-your-calm">Enhance your calm</a> <a href="enhance-your-calm">Enhance your calm</a>

View File

@@ -1,3 +1,8 @@
<script>
export let status;
export let error;
</script>
<h1>{status}</h1> <h1>{status}</h1>
<p>{error.message}</p> <p>{error.message}</p>