Skip to content

Commit

Permalink
Merge pull request #3 from marxjmoura/bump-v0.1.0-beta.1
Browse files Browse the repository at this point in the history
Bump to version 0.1.0-beta.1
  • Loading branch information
marxjmoura authored Dec 9, 2018
2 parents d6bd233 + dba5abb commit 3260b5c
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
**/*
!dist/**/*
!src/lib/**/*
!src/inout.js
!index.js
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ document.getElementById('file').onchange = function (e) {
};
```

If you are programming ES6:

```js
import io from 'inoutjs'
```

### File info

#### `fullName()` get file name including extension
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import './src/inout'
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
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "inoutjs",
"title": "InOut.js",
"version": "0.1.0",
"version": "0.1.0-beta.1",
"homepage": "https://github.com/marxjmoura/inoutjs",
"author": "Marx JMoura",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions src/tests/unit/read-line.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import io from 'inout'
import fixture from '../fixtures'
import io from '@/inout'
import fixture from '@/tests/fixtures'

describe('readLine()', () => {
let file
Expand Down
4 changes: 3 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ module.exports = {
mode: process.env.NODE_ENV.match(/production/) ? 'production' : 'development',
entry: path.resolve(__dirname, './src/inout.js'),
resolve: {
modules: [path.resolve(__dirname, 'src')]
alias: {
'@': path.resolve(__dirname, 'src')
}
},
module: {
rules: [
Expand Down

0 comments on commit 3260b5c

Please sign in to comment.