Skip to content

Commit

Permalink
fix: fixing npm publishing behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
enricodeleo committed Mar 25, 2018
1 parent d856909 commit 46ddb7c
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 10 deletions.
28 changes: 28 additions & 0 deletions .gitignore
Expand Up @@ -62,3 +62,31 @@ typings/

# next.js build output
.next

# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -42,6 +42,9 @@ This module reflects **API version v0.3.3** methods. Further details are availab
|saveItem |Create a credit |

## CHANGELOG
#### v0.0.6 - 25/03/2018
Fixed an issue with npm publication.

#### v0.0.5 - 25/03/2018
Transpile es6 to es5 for wider nodejs compatibility (babel targeted to 4.0.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.

11 changes: 3 additions & 8 deletions package.json
@@ -1,19 +1,14 @@
{
"name": "fattura24",
"version": "0.0.5",
"version": "0.0.6",
"description": "Fattura24 nodejs SDK",
"main": "./lib/index.js",
"main": "./lib/fattura24.js",
"scripts": {
"clean": "rimraf lib",
"cover": "cross-env BABEL_ENV=commonjs istanbul cover _mocha -- --require babel-core/register --recursive",
"lint": "eslint src",
"build": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"prepublish": "npm run clean && npm run lint npm run build"
"prepublish": "npm run clean && npm run lint && npm run build"
},
"files": [
"lib",
"src"
],
"keywords": [
"sdk",
"api",
Expand Down
2 changes: 1 addition & 1 deletion src/fattura24.js
Expand Up @@ -29,7 +29,7 @@ import https from 'https';
import querystring from 'querystring';
import { routes } from './constants/routes';

const MODULE_VERSION = '0.0.5';
const MODULE_VERSION = '0.0.6';
const API_VERSION = '0.3';
const F24_HOST = 'www.app.fattura24.com';

Expand Down

0 comments on commit 46ddb7c

Please sign in to comment.