Skip to content

Commit

Permalink
Package script publish fixes and lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nodonisko committed May 6, 2017
1 parent 599a819 commit 1f76e3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ionic-cache",
"version": "2.0.0",
"version": "2.0.1",
"description": "Ionic cache service - cache request, data, promises etc.",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand All @@ -12,7 +12,8 @@
"test": "karma start karma.conf.js --single-run",
"test:watch": "karma start karma.conf.js",
"build": "rm -rf dist aot && ngc",
"lint": "tslint \"src/**/*.ts\""
"lint": "tslint \"src/**/*.ts\"",
"prepublish": "npm run lint && npm run build"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions src/cache.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ describe('Observable Caching', () => {

let mockData: any = {
hello: 'Hello world"s ',
world: "It's beautiful day"
world: "It's beautiful day" // tslint:disable-line
};

let observable = Observable.of(mockData);
Expand Down Expand Up @@ -176,7 +176,7 @@ describe('Observable caching errors', () => {

let mockData: any = {
hello: 'Hello world"s ',
world: "It's beautiful day"
world: "It's beautiful day" // tslint:disable-line
};

let observableError = Observable.throw(mockData);
Expand Down

0 comments on commit 1f76e3c

Please sign in to comment.