From 4f7a7dcc57862602c763fa0b66bad7a9127ba3bc Mon Sep 17 00:00:00 2001 From: samsonmking Date: Fri, 21 Aug 2020 18:47:06 -0400 Subject: [PATCH] Add npmignore * Add repository to package.json * Add usage to ereader README --- .npmignore | 6 ++++++ examples/ereader/README.md | 5 ++++- examples/ereader/package.json | 6 +++--- examples/weather-station/package.json | 6 +++--- package.json | 4 ++++ 5 files changed, 20 insertions(+), 7 deletions(-) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..3f128fe --- /dev/null +++ b/.npmignore @@ -0,0 +1,6 @@ +node_modules/ +build/ +*.o +*.swp +images/ +examples/ diff --git a/examples/ereader/README.md b/examples/ereader/README.md index da2aa4c..00f85e9 100644 --- a/examples/ereader/README.md +++ b/examples/ereader/README.md @@ -3,4 +3,7 @@ ``` npm install npm run start -``` \ No newline at end of file +``` + +## Use +Use left and right arrows to change pages diff --git a/examples/ereader/package.json b/examples/ereader/package.json index 75ed66e..bd6a263 100644 --- a/examples/ereader/package.json +++ b/examples/ereader/package.json @@ -7,9 +7,9 @@ "start": "node ereader.js" }, "author": { - "name": "Samson King", - "email": "samson@samsonmking.com", - "url": "https://github.com/samsonmking/epaper.js" + "name": "Samson King", + "email": "samson@samsonmking.com", + "url": "https://github.com/samsonmking/epaper.js" }, "license": "MIT", "dependencies": { diff --git a/examples/weather-station/package.json b/examples/weather-station/package.json index 9fe63af..9889cbc 100644 --- a/examples/weather-station/package.json +++ b/examples/weather-station/package.json @@ -7,9 +7,9 @@ "start": "node weather.js" }, "author": { - "name": "Samson King", - "email": "samson@samsonmking.com", - "url": "https://github.com/samsonmking/epaper.js" + "name": "Samson King", + "email": "samson@samsonmking.com", + "url": "https://github.com/samsonmking/epaper.js" }, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 63cf599..e1da787 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,10 @@ "author": { "name": "Samson King", "email": "samson@samsonmking.com", + "url": "https://github.com/samsonmking" + }, + "repository": { + "type": "git", "url": "https://github.com/samsonmking/epaper.js" }, "license": "MIT",