Template files are created in /templates/{parent}/templatefile.mustache
Feed in the csv file with rows and columns to map and create your files
- Pull the library
- Install
- run your generator
npm i
npm run gen:yourmodule
npm run clean:yourmodule
//TODO
Module | Description | Generate With | Clean With | Sample CSV |
---|---|---|---|---|
psx | used to create react native psx miragejs mock routes | npm run gen:psx | npm run clean:psx | PSX_MOCKGEN_V1.csv |
Name | Description | Module |
---|---|---|
BaseAllFixtures | Creates All Fixtures file for miragejs | psx |
BaseAllModels | Creates models file for miragejs | psx |
BaseAllRequestPlaceholders | Creates All request file for miragejs | psx |
BaseDummyPSX | Test Dummy | psx |
BaseMasterRoutes | Creates All route file | psx |
BaseMockTestCard | Creates mock testing screen | psx |
BaseSingleFixture | Creates unique fixtures | psx |
BaseSingleRequestPlaceholders | creates unique request placeholders | psx |
- [] At times you have to run the generator twice in order to create all of your pages this is due to our recursive directory creating.