1 | # react-scripts
|
2 |
|
3 | Functions for creating and editing React components.
|
4 |
|
5 | We recommend running these from [@creuna/cli](https://github.com/Creuna-Oslo/cli).
|
6 |
|
7 | If you want to use these functions from Node.js, this is the right module for you.
|
8 |
|
9 | ## API
|
10 |
|
11 | This module exports one object containing all the functions.
|
12 |
|
13 | ```javascript
|
14 | {
|
15 | newComponent, // Create new component
|
16 | newPage, // Create new mockup page
|
17 | rename, // Rename component
|
18 | toStateful, // Convert component to stateful
|
19 | toStateless; // Convert component to stateless
|
20 | }
|
21 | ``` |
\ | No newline at end of file |