diff --git a/.npmignore b/.npmignore new file mode 100644 index 00000000..e69de29b diff --git a/package.json b/package.json index a237ba25..4876fa12 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { - "name": "ngx-jsonapi-demo", - "description": "Demo app for JSON API library for Angular", + "name": "ngx-jsonapi", + "version": "2.1.15", + "description": "JSON API library for Angular", "scripts": { "build": "ts-node ./build/index.ts", "postbuild": "rimraf **/dist/**/*.ngsummary.json", @@ -33,7 +34,8 @@ "prettier-md:show": "prettier --parser markdown --single-quote es5 --tab-width 4 --print-width 140 --single-quote true --prose-wrap never \"**/*.md\"", "prettier-scss": "yarn prettier-scss:show --write", "prettier-scss:show": "prettier --parser scss --single-quote es5 --tab-width 4 --print-width 140 --single-quote true \"**/*.scss\"", - "precommit": "lint-staged" + "precommit": "lint-staged", + "prepare": "npm run build" }, "lint-staged": { "*.ts": [ diff --git a/src/public_api.ts b/src/public_api.ts index 9b79b1d3..64b9f71c 100644 --- a/src/public_api.ts +++ b/src/public_api.ts @@ -8,7 +8,3 @@ export { Resource } from './resource'; export { DocumentResource } from './document-resource'; export { DocumentCollection } from './document-collection'; export { Service } from './service'; -export { Author, AuthorsService } from './tests/factories/authors.service'; -export { Book, BooksService } from './tests/factories/books.service'; -export { Photo, PhotosService } from './tests/factories/photos.service'; -export { TestFactory } from './tests/factories/test-factory';