Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .angular-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
},
"defaults": {
"styleExt": "css",
"build": {
"showCircularDependencies": false
},
"component": {
"inlineStyle": true,
"inlineTemplate": true,
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,18 @@
[![Build Status](https://travis-ci.org/reyesoft/ngx-jsonapi.svg?branch=master)](https://travis-ci.org/reyesoft/ngx-jsonapi) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/b097196f7f544412a79a99080a41bbc1)](https://www.codacy.com/app/Swimlane/ngx-charts?utm_source=github.com&utm_medium=referral&utm_content=swimlane/ngx-charts&utm_campaign=Badge_Grade) [![npm version](https://badge.fury.io/js/ngx-jsonapi.png)](https://badge.fury.io/js/ngx-jsonapi)

</div>

This is a JSON API library for Angular 4+. Please use [ts-angular-jsonapi](https://github.com/reyesoft/ts-angular-jsonapi) for AngularJS.

## Online demo

You can test library on this online example 👌 <http://ngx-jsonapi.reyesoft.com/>.

<div align="center">

[![demo app](https://user-images.githubusercontent.com/938894/39630783-c6f55ed4-4f86-11e8-9376-9acb587fe4c4.gif)](http://ngx-jsonapi.reyesoft.com/)

</div>

Data is obtained from [Json Api Playground](http://jsonapiplayground.reyesoft.com/).

## Supported features
Expand Down
7 changes: 6 additions & 1 deletion demo/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
"module": "es2015",
"types": [],
"baseUrl": ".",
"rootDir": "../"
"rootDir": "../",
"paths": {
"ngx-jsonapi": [
"../src"
]
}
},
"exclude": [
"../node_modules",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"coverage:html": "nyc report --reporter=html",
"copy:dist": "ncp dist/ ./node_modules/ngx-jsonapi/",
"start": "yarn run demo:start",
"demo:start": "yarn run build && yarn run copy:dist && yarn run cli serve",
"demo:start:aot": "yarn run build && yarn run copy:dist && yarn run cli serve --aot",
"demo:start": "yarn run cli serve",
"demo:start:aot": "yarn run cli serve -prod",
"demo:test": "jest --watch",
"demo:build": "yarn build && yarn run copy:dist && yarn cli build -prod --base-href \"/\" --output-path \"./demo-dist\"",
"demo:release": "ts-node ./build/demo-release.ts",
Expand Down