Skip to content

Commit

Permalink
Add npmignore
Browse files Browse the repository at this point in the history
* Add repository to package.json
* Add usage to ereader README
  • Loading branch information
samsonmking committed Aug 21, 2020
1 parent 53b89c2 commit 4f7a7dc
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules/
build/
*.o
*.swp
images/
examples/
5 changes: 4 additions & 1 deletion examples/ereader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
```
npm install
npm run start
```
```

## Use
Use left and right arrows to change pages
6 changes: 3 additions & 3 deletions examples/ereader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
6 changes: 3 additions & 3 deletions examples/weather-station/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 4f7a7dc

Please sign in to comment.