json-mapper-object
Version:
For single page application, data sources are obtained from API server. Instead of directly using api data, we definitely require an adapter layer to transform data as needed. Furthermore, the adapter inverse the the data dependency from API server(AP
54 lines (53 loc) • 1.97 kB
JSON
{
"name": "json-mapper-object",
"version": "0.1.3",
"description": "For single page application, data sources are obtained from API server. Instead of directly using api data, we \r definitely require an adapter layer to transform data as needed. Furthermore, \r the adapter inverse the the data dependency from API server(API Server is considered uncontrollable and \r highly unreliable as data structure may be edit by backend coder for some specific purposes)to our adapter \r which becomes reliable. Thus, this library is created as the adapter make use of es7 reflect decorator.",
"main": "lib/index.js",
"author": "duanguang",
"license": "MIT",
"scripts": {
"build": "rimraf lib && babel src --out-dir lib && bash build.sh",
"test": "cross-env NODE_ENV=test nyc mocha --no-timeouts",
"debug": "mocha --require babel-register --no-timeouts ./test/*.test.js",
"prepublish": "rimraf lib && babel src --out-dir lib && bash build.sh"
},
"peerDependencies": {
"lodash":">4.17.0"
},
"devDependencies": {
"babel-cli": "^6.14.0",
"babel-core": "^6.9.1",
"babel-eslint": "^6.1.0",
"babel-loader": "^6.2.4",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-istanbul": "^2.0.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.14.0",
"cross-env": "^2.0.1",
"eslint": "^2.13.1",
"expect": "^1.20.2",
"jsdom": "^9.5.0",
"mocha": "^3.0.2",
"nyc": "^8.1.0",
"rimraf": "^2.5.4"
},
"dependencies": {
"invariant": "^2.2.1",
"warning": "^3.0.0",
"reflect-metadata": "^0.1.3"
},
"keywords": [
"json-mapper",
"jsonMapper",
"mapper-json",
"typescript-json",
"json-adapter",
"json-transformer",
"api-mapper",
"api-adapter"
]
}