File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,16 @@ Clone the repository:
2525git clone --depth 1 git@github.com:alioguzhan/react-typescript-library.git
2626```
2727
28+ Rename the cloned folder to your library/component name:
29+
30+ ```
31+ mv react-typescript-library my-react-lib
32+ ```
33+
2834Install the deps:
2935
3036``` bash
37+ cd my-react-lib
3138yarn install
3239```
3340
Original file line number Diff line number Diff line change 11import { render } from '@testing-library/react' ;
2- import React from 'react' ;
32import Main from '../index' ;
43
54describe ( 'My Component' , ( ) => {
Original file line number Diff line number Diff line change 11{
22 "out" : " docs" ,
3- "inputFiles " : " ./src" ,
4- "mode " : " modules " ,
3+ "entryPoints " : [ " ./src" ] ,
4+ "exclude " : " **/**/*+(.spec|.test).** " ,
55 "theme" : " default" ,
6- "excludeNotExported" : true ,
76 "includeVersion" : true ,
87 "categorizeByGroup" : true
98}
You can’t perform that action at this time.
0 commit comments