@@ -44,37 +44,38 @@ This gives you the power to prioritize our work and support the project contribu
44
44
45
45
## Table of Contents
46
46
- [ Type Definitions & Complementary Libraries] ( #type-definitions--complementary-libraries )
47
- - [ React Types Cheatsheet] ( #react-types-cheatsheet ) 🌟 __ NEW __
47
+ - [ React Types Cheatsheet] ( #react-types-cheatsheet )
48
48
- [ Component Typing Patterns] ( #component-typing-patterns )
49
49
- [ Stateless Components - SFC] ( #stateless-components---sfc )
50
- - [ Stateful Components - Class] ( #stateful-components---class ) 📝 __ UPDATED __
50
+ - [ Stateful Components - Class] ( #stateful-components---class )
51
51
- [ Generic Components] ( #generic-components )
52
- - [ Render Props] ( #render-props ) 🌟 __ NEW __
53
- - [ Higher-Order Components] ( #higher-order-components ) 📝 __ UPDATED __
52
+ - [ Render Props] ( #render-props )
53
+ - [ Higher-Order Components] ( #higher-order-components )
54
54
- [ Redux Connected Components] ( #redux-connected-components )
55
55
- [ Redux] ( #redux )
56
- - [ Action Creators] ( #action-creators ) 📝 __ UPDATED __
57
- - [ Reducers] ( #reducers ) 📝 __ UPDATED __
56
+ - [ Action Creators] ( #action-creators )
57
+ - [ Reducers] ( #reducers )
58
58
- [ State with Type-level Immutability] ( #state-with-type-level-immutability )
59
59
- [ Typing reducer] ( #typing-reducer )
60
60
- [ Testing reducer] ( #testing-reducer )
61
- - [ Store Configuration] ( #store-configuration ) 📝 __ UPDATED __
62
- - [ Async Flow] ( #async-flow ) 📝 __ UPDATED __
61
+ - [ Store Configuration] ( #store-configuration )
62
+ - [ Async Flow] ( #async-flow )
63
63
- [ Selectors] ( #selectors )
64
64
- [ Typing connect] ( #typing-connect ) 🌟 __ NEW__
65
65
- [ Tools] ( #tools )
66
+ - [ Tools Npm Scripts] ( #tools-npm-scripts )
66
67
- [ TSLint] ( #tslint )
67
68
- [ Jest] ( #jest )
68
69
- [ Enzyme] ( #enzyme )
69
- - [ Living Style Guide] ( #living-style-guide ) 🌟 __ NEW __
70
- - [ Common Npm Scripts ] ( #common-npm-scripts )
70
+ - [ Living Style Guide] ( #living-style-guide )
71
+ - [ Recompose ] ( #recompose ) 🌟 __ NEW __
71
72
- [ Recipes] ( #recipes )
72
73
- [ tsconfig.json] ( #tsconfigjson )
73
74
- [ Vendor Types Augmentation] ( #vendor-types-augmentation )
74
75
- [ Default and Named Module Exports] ( #default-and-named-module-exports )
75
76
- [ FAQ] ( #faq )
76
77
- [ Tutorials] ( #tutorials )
77
- - [ Contributors] ( #contributors )
78
+ - [ Contributors] ( #contributors ) 🌟 __ NEW __
78
79
79
80
---
80
81
@@ -1147,6 +1148,23 @@ export const SFCCounterConnectedVerbose =
1147
1148
---
1148
1149
1149
1150
# Tools
1151
+ > Common tools for TypeScript projects
1152
+
1153
+ ## Tools Npm Scripts
1154
+ > Tools related npm scripts shared across projects
1155
+ ` ` `
1156
+ " lint" : " tslint -p ./" ,
1157
+ " tsc" : " tsc -p ./ --noEmit" ,
1158
+ " tsc:watch" : " tsc -p ./ --noEmit -w" ,
1159
+ " pretest" : " npm run lint & npm run tsc" ,
1160
+ " test" : " jest --config jest.config.json" ,
1161
+ " test:watch" : " jest --config jest.config.json --watch" ,
1162
+ " test:update" : " jest --config jest.config.json -u" ,
1163
+ ` ` `
1164
+
1165
+ [⇧ back to top](#table-of-contents)
1166
+
1167
+ ---
1150
1168
1151
1169
## TSLint
1152
1170
@@ -1214,6 +1232,8 @@ export const SFCCounterConnectedVerbose =
1214
1232
1215
1233
[⇧ back to top](#table-of-contents)
1216
1234
1235
+ ---
1236
+
1217
1237
## Jest
1218
1238
1219
1239
> Installation
@@ -1259,9 +1279,10 @@ window.localStorage = {
1259
1279
Object .values = () => [];
1260
1280
` ` `
1261
1281
1262
-
1263
1282
[⇧ back to top](#table-of-contents)
1264
1283
1284
+ ---
1285
+
1265
1286
## Enzyme
1266
1287
1267
1288
> Installation
@@ -1286,16 +1307,15 @@ configure({ adapter: new Adapter() });
1286
1307
1287
1308
[⇧ back to top](#table-of-contents)
1288
1309
1289
- ## Common Npm Scripts
1290
- > Common TS-related npm scripts shared across projects
1291
- ` ` `
1292
- " lint" : " tslint -p ./" ,
1293
- " tsc" : " tsc -p ./ --noEmit" ,
1294
- " tsc:watch" : " tsc -p ./ --noEmit -w" ,
1295
- " pretest" : " npm run lint & npm run tsc" ,
1296
- " test" : " jest --config jest.config.json" ,
1297
- " test:watch" : " jest --config jest.config.json --watch" ,
1298
- " test:update" : " jest --config jest.config.json -u" ,
1310
+ ---
1311
+
1312
+ ## Recompose
1313
+
1314
+ > Installation
1315
+ ` npm i recompose `
1316
+
1317
+ ` ` ` tsx
1318
+ // WIP
1299
1319
` ` `
1300
1320
1301
1321
[⇧ back to top](#table-of-contents)
0 commit comments