diff --git a/package.json b/package.json index d73388c..eda96b8 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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", diff --git a/src/cache.service.spec.ts b/src/cache.service.spec.ts index 7cd29ae..2494c0f 100644 --- a/src/cache.service.spec.ts +++ b/src/cache.service.spec.ts @@ -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); @@ -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);