diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..621038f --- /dev/null +++ b/.npmignore @@ -0,0 +1,58 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Typescript v1 declaration files +typings/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env diff --git a/CHANGELOG.md b/CHANGELOG.md index 31c7fa2..2c6b150 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,13 +5,19 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [0.0.2] - 2017-08-30 +### Fixed +- NPM prepare script now builds typescript files before publishing. + + ## [0.0.1] - 2017-08-30 ### Added -- Complete Account implementation -- Complete Amount implementation -- Complete Attachment implementation -- Complete Merchant implementation -- Complete Transaction implementation -- Several helper functions +- Complete Account implementation. +- Complete Amount implementation. +- Complete Attachment implementation. +- Complete Merchant implementation. +- Complete Transaction implementation. +- Several helper functions. +[0.0.2]: https://github.com/robjtede/monzolib/compare/v0.0.1...v0.0.2 [0.0.1]: https://github.com/robjtede/monzolib/compare/b4bb9c...v0.0.1 diff --git a/package-lock.json b/package-lock.json index 1ec14a7..6116e2d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "monzolib", - "version": "0.0.1", + "version": "0.0.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 1adcae1..3bc571c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "monzolib", - "version": "0.0.1", + "version": "0.0.2", "description": "Fully Featured JS/Node Monzo Library", "main": "./dist/index.js", "types": "./dist/index.d.js", @@ -18,7 +18,7 @@ "test": "npm run build && ava", "test:w": "npm run test -- --watch", "precommit": "lint-staged && npm test", - "publish": "copyfiles" + "prepare": "npm run build" }, "bugs": { "url": "https://github.com/robjtede/monzolib/issues"