Skip to content

Commit

Permalink
Add npmignore
Browse files Browse the repository at this point in the history
  • Loading branch information
mquintal committed Dec 1, 2020
1 parent c4d4b9e commit 0424a5f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
11 changes: 11 additions & 0 deletions .npmignore
@@ -0,0 +1,11 @@
node_modules
src
coverage
.git
.tests
.gitignore
.editorconfig
.npmignore
.travis.yml
tsconfig.json
babel.config.js
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -16,7 +16,7 @@ or

```js
import { range } from 'grangejs';
// const { range } = require('rangejs');
// const { range } = require('grangejs');

// Using a for loop
for(const num of range(10)) {
Expand All @@ -35,7 +35,7 @@ while(!result.done) {
}
// outputs: 0, 1, 2

// Gettinh values manually
// Getting values manually
const gen = range(2);

console.log(gen.next().value); // outputs: 0
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "grangejs",
"version": "1.0.0",
"version": "1.0.2",
"description": "Micro-library to create range generators.",
"main": "dist/index.js",
"scripts": {
Expand Down

0 comments on commit 0424a5f

Please sign in to comment.