Skip to content

Commit

Permalink
Update the demo page.
Browse files Browse the repository at this point in the history
  • Loading branch information
RevillWeb committed Jan 17, 2018
1 parent 120d65b commit 1f015e9
Show file tree
Hide file tree
Showing 4 changed files with 311 additions and 83 deletions.
81 changes: 0 additions & 81 deletions demo.html

This file was deleted.

165 changes: 165 additions & 0 deletions index.html

Large diffs are not rendered by default.

142 changes: 142 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "Replace <img /> elements with <img-2> to automatically pre-cache images and improve page performance.",
"main": "index.js",
"scripts": {
"build": "babel src/img-2.js --out-file dist/img-2.js --watch"
"build": "babel src/img-2.js --out-file dist/img-2.js --watch",
"serve": "http-server -p 3232 ."
},
"keywords": [
"pre-cache",
Expand All @@ -14,6 +15,7 @@
"license": "MIT",
"devDependencies": {
"babel-core": "^6.26.0",
"babel-plugin-transform-class-properties": "^6.24.1"
"babel-plugin-transform-class-properties": "^6.24.1",
"http-server": "^0.11.1"
}
}

0 comments on commit 1f015e9

Please sign in to comment.