@sveltejs/amp
Advanced tools
Comparing version 1.0.0-next.1 to 1.0.0-next.2
// https://amp.dev/documentation/guides-and-tutorials/learn/spec/amp-boilerplate/ | ||
const boilerplate = ` | ||
<link rel="preload" as="script" href="https://cdn.ampproject.org/v0.js" /> | ||
<script async src="https://cdn.ampproject.org/v0.js"></script> | ||
<style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> | ||
<link rel="preload" as="script" href="https://cdn.ampproject.org/v0.js"> | ||
<script async src="https://cdn.ampproject.org/v0.js"></script> | ||
`; | ||
@@ -7,0 +7,0 @@ |
{ | ||
"name": "@sveltejs/amp", | ||
"version": "1.0.0-next.1", | ||
"version": "1.0.0-next.2", | ||
"repository": { | ||
@@ -25,6 +25,5 @@ "type": "git", | ||
"scripts": { | ||
"lint": "eslint --ignore-path .gitignore \"**/*.{ts,js,svelte}\" && npm run check-format", | ||
"format": "npm run check-format -- --write", | ||
"check-format": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore" | ||
"lint": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore", | ||
"format": "npm run lint -- --write" | ||
} | ||
} |
3491