{"_id":"@api-platform/generate-crud","_rev":"5-928a755b8107b619cf80de577586bc73","name":"@api-platform/generate-crud","description":"Generate a CRUD application built with React, Redux and React Router from an Hydra-enabled API","dist-tags":{"latest":"0.1.7"},"versions":{"0.1.7":{"name":"@api-platform/generate-crud","version":"0.1.7","description":"Generate a CRUD application built with React, Redux and React Router from an Hydra-enabled API","files":["*.md","docs/*.md","lib","src","templates"],"main":"lib/index","repository":{"type":"git","url":"git+https://github.com/api-platform/generate-crud.git"},"homepage":"https://github.com/api-platform/generate-crud","bugs":{"url":"https://github.com/api-platform/generate-crud/issues"},"author":{"name":"Kévin Dunglas"},"license":"MIT","devDependencies":{"babel-cli":"^6.24.0","babel-core":"^6.24.0","babel-eslint":"^7.2.0","babel-jest":"^19.0.0","babel-plugin-transform-flow-strip-types":"^6.22.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015":"^6.24.0","babel-preset-stage-0":"^6.22.0","eslint":"^3.18.0","eslint-plugin-import":"^2.2.0","jest":"^19.0.2","tmp":"^0.0.31"},"dependencies":{"api-doc-parser":"^0.2","babel-runtime":"^6.23.0","chalk":"^2.1.0","commander":"^2.9.0","handlebars":"^4.0.6","isomorphic-fetch":"^2.2.1","mkdirp":"^0.5.1"},"scripts":{"test":"jest","lint":"eslint src","build":"babel src -d lib --ignore '*.test.js'","watch":"babel --watch src -d lib --ignore '*.test.js'","test-gen":"rm -rf ./tmp && npm run build && ./lib/index.js  https://demo.api-platform.com ./tmp"},"bin":{"api-platform-generate-crud":"./lib/index.js"},"gitHead":"0262e981aecb7010f6a43a9dd6bb69fbb327566f","_id":"@api-platform/generate-crud@0.1.7","_shasum":"13cc7737dd29f79a37b48014f5354ac8acfe1ee8","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"soyuka","email":"soyuka@gmail.com"},"dist":{"shasum":"13cc7737dd29f79a37b48014f5354ac8acfe1ee8","tarball":"https://registry.npmjs.org/@api-platform/generate-crud/-/generate-crud-0.1.7.tgz","integrity":"sha512-4gV1U71pcOVagppD5WoDsRdMrFXip2nsI06m4T2ZZXEZkaMX70e24xOqj1iCf8IFj1lBFghXmHcyL6CuO+GnQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSvg00wnzlClOn8jmS/8PigFUGxeZhxgunPhHBtTiICwIgPK3SnZFlZ9OlmfnNPN/QemQv4rkSWLouct/pgdaZ52I="}]},"maintainers":[{"name":"soyuka","email":"soyuka@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/generate-crud-0.1.7.tgz_1505488013099_0.8913295750971884"},"deprecated":"this package has been deprecated in favor of @api-platform/client-generator"}},"readme":"# API Platform CRUD Generator\n\n[![Build Status](https://travis-ci.org/api-platform/generate-crud.svg?branch=master)](https://travis-ci.org/api-platform/generate-crud)\n[![npm version](https://badge.fury.io/js/api-platform-generate-crud.svg)](https://badge.fury.io/js/@api-platform/generate-crud)\n[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://opensource.org/licenses/mit-license.php)\n\n[![NPM](https://nodei.co/npm/@api-platform/generate-crud.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/@api-platform/generate-crud/)\n\nA generator to scaffold a React/Redux app with Create-Retrieve-Update-Delete features for any API exposing a Hydra documentation.\nWorks especially well with APIs built with the [API Platform](https://api-platform.com) framework.\n\n## Installation\n\n```\nnpm install -g @api-platform/generate-crud\n```\n\n## Usage\n\n```\napi-platform-generate-crud https://demo.api-platform.com/ output/ --resource Book\n```\n\n## Features\n\n* Generate high-quality ES6 components and files built with [React](https://facebook.github.io/react/), [Redux](http://redux.js.org), [React Router](https://reacttraining.com/react-router/) and [Redux Form](http://redux-form.com/) including:\n  * A list view\n  * A creation form\n  * An edition form\n  * A deletion button\n* Use the Hydra API documentation to generate the code\n* Generate the suitable HTML5 input type (`number`, `date`...) according to the type of the API property\n* Display of the server-side validation errors under the related input (if using API Platform Core)\n* Client-side validation (`required` attributes)\n* The generated HTML is compatible with [Bootstrap](https://getbootstrap.com/) and include mandatory classes\n* The generated HTML code is accessible to people with disabilities ([ARIA](https://www.w3.org/WAI/intro/aria) support)\n* The Redux and the React Router configuration is also generated\n\n## Documentation\n\nThe documentation of API Platform CRUD Generator can be browsed [on the docs repository](https://github.com/api-platform/docs/blob/master/index.md#api-platform-crud-generator-scaffold-a-reactredux-app-with-crud-features).\n\n## Credits\n\nCreated by [Kévin Dunglas](https://dunglas.fr). Sponsored by [Les-Tilleuls.coop](https://les-tilleuls.coop).\nCommercial support available upon request.\n","maintainers":[{"email":"teohhanhui@gmail.com","name":"teohhanhui"},{"email":"baptiste.meyer@gmail.com","name":"meyerbaptiste"},{"email":"psynowiec@gmail.com","name":"mysiar"},{"email":"hamza.simperfit@gmail.com","name":"simperfit"},{"email":"soyuka@gmail.com","name":"soyuka"},{"email":"dunglas@gmail.com","name":"dunglas"}],"time":{"modified":"2022-06-12T14:43:38.642Z","created":"2017-09-15T15:06:54.164Z","0.1.7":"2017-09-15T15:06:54.164Z"},"homepage":"https://github.com/api-platform/generate-crud","repository":{"type":"git","url":"git+https://github.com/api-platform/generate-crud.git"},"author":{"name":"Kévin Dunglas"},"bugs":{"url":"https://github.com/api-platform/generate-crud/issues"},"license":"MIT","readmeFilename":"README.md"}