-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpackage.json
More file actions
1002 lines (1002 loc) · 23.8 KB
/
Copy pathpackage.json
File metadata and controls
1002 lines (1002 loc) · 23.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"publisher": "ylw",
"name": "touchfish",
"displayName": "TouchFish",
"description": "b站,bilibili,it之家,小红书,chiphell,v2ex,虎扑步行街,nga,知乎,微博,Linux.do,X,Twitter,微信读书,weread,摸鱼聚合插件,沉浸式主题,qq音乐,qqmusic,网易云音乐,网易云,netease,播客,xiaoyuzhou,小宇宙,抖音,douyin",
"version": "17.14.3",
"icon": "logo.png",
"engines": {
"vscode": "^1.80.0"
},
"activationEvents": [
"onView:touchfish"
],
"license": "SEE LICENSE IN LICENSE.txt",
"keywords": [
"ithome",
"it之家",
"chiphell",
"v2ex",
"hupu",
"weibo",
"zhihu",
"虎扑步行街",
"nga",
"linux.do",
"linuxdo",
"沉浸式主题",
"纯色主题",
"摸鱼",
"微博",
"知乎",
"小红书",
"xiaohongshu",
"xhs",
"bilibili",
"b站",
"qqmusic",
"qq音乐",
"xiaoyuzhou",
"小宇宙",
"播客",
"x",
"twitter",
"weread",
"微信读书",
"netease",
"网易云",
"网易云音乐",
"douyin",
"抖音"
],
"categories": [
"Other"
],
"main": "./dist/extension.js",
"contributes": {
"themes": [
{
"label": "ylw-dark-theme",
"uiTheme": "vs-dark",
"path": "./themes/ylw-dark-color-theme.json"
}
],
"configuration": {
"title": "touchfish",
"properties": {
"touchfish.showImg": {
"type": "boolean",
"default": true,
"description": "是否显示图片"
},
"touchfish.weiboCookie": {
"type": "string",
"description": "微博cookie"
},
"touchfish.showNewsNumber": {
"type": "number",
"default": 10,
"description": "每个新闻页显示多少条新闻"
},
"touchfish.showNewsWordNumber": {
"type": [
"null",
"number"
],
"default": null,
"description": "每条新闻显示多少字数"
},
"touchfish.v2exTab": {
"type": "string",
"default": "all",
"description": "v2ex默认tab",
"enum": [
"all",
"tech",
"creative",
"play",
"apple",
"jobs",
"deals",
"city",
"qna",
"hot",
"r2"
],
"enumDescriptions": [
"全部",
"技术",
"创意",
"好玩",
"Apple",
"酷工作",
"交易",
"城市",
"问与答",
"最热",
"R2"
]
},
"touchfish.hupuTab": {
"type": "string",
"default": "all-gambia",
"description": "虎扑默认tab",
"enum": [
"all-gambia",
"topic-daily",
"stock",
"history",
"fit",
"love",
"school",
"workplace"
],
"enumDescriptions": [
"步行街热帖",
"步行街主干道",
"股票区",
"历史区",
"健身区",
"恋爱区",
"校园区",
"职场区"
]
},
"touchfish.ngaTab": {
"type": "string",
"default": "-7",
"description": "NGA默认tab",
"enum": [
"-7",
"-7955747",
"-343809",
"-81981",
"524",
"843",
"706",
"-576177",
"-39223361",
"436",
"472",
"-202020"
],
"enumDescriptions": [
"网事杂谈",
"晴风村",
"寂寞的车",
"生命之杯",
"漩涡书院",
"国际新闻",
"股票大时代",
"音乐影视",
"娱乐吃瓜",
"消费电子",
"Cosplay",
"程序员职业交流"
]
},
"touchfish.ngaCookie": {
"type": "string",
"description": "NGA cookie"
},
"touchfish.zhihuCookie": {
"type": "string",
"description": "知乎 cookie"
},
"touchfish.zhihuAutoHideBtn": {
"type": "boolean",
"default": false,
"description": "向下滚动时自动隐藏悬浮按钮,向上滚动时显示"
},
"touchfish.xhsCookie": {
"type": "string",
"description": "小红书 cookie"
},
"touchfish.douyinCookie": {
"type": "string",
"description": "抖音 cookie"
},
"touchfish.linuxDoCookie": {
"type": "string",
"description": "Linux.do cookie,访问 RSS 源需要"
},
"touchfish.linuxDoTab": {
"type": "string",
"default": "latest",
"description": "Linux.do 默认 tab",
"enum": [
"latest",
"hot",
"top"
],
"enumDescriptions": [
"最新",
"热门",
"排行榜"
]
},
"touchfish.fontSize": {
"type": "number",
"default": 14,
"description": "全局字体大小"
},
"touchfish.bilibiliCookie": {
"type": "string",
"description": "B站 cookie"
},
"touchfish.qqmusicCredential": {
"type": "string",
"description": "QQ Music credential"
},
"touchfish.qqmusicShowStatusBar": {
"type": "boolean",
"default": true,
"description": "是否在状态栏显示QQ音乐播放信息"
},
"touchfish.qqmusicStatusBarShowLyric": {
"type": "boolean",
"default": true,
"description": "QQ音乐状态栏显示歌词(关闭则显示歌名)"
},
"touchfish.xiaoyuzhouAccessToken": {
"type": "string",
"description": "小宇宙 Access Token (x-jike-access-token)"
},
"touchfish.xiaoyuzhouRefreshToken": {
"type": "string",
"description": "小宇宙 Refresh Token (x-jike-refresh-token)"
},
"touchfish.xiaoyuzhouUserInfo": {
"type": "string",
"default": "",
"description": "缓存的小宇宙用户信息 (JSON)"
},
"touchfish.xiaoyuzhouDeviceId": {
"type": "string",
"default": "",
"description": "小宇宙设备 ID"
},
"touchfish.xiaoyuzhouStatusBarShowLyric": {
"type": "boolean",
"default": true,
"description": "是否在状态栏显示小宇宙播客字幕(关闭则显示标题名)"
},
"touchfish.enableWeibo": {
"type": "boolean",
"default": true,
"description": "启用微博模块"
},
"touchfish.enableZhihu": {
"type": "boolean",
"default": true,
"description": "启用知乎模块"
},
"touchfish.enableBilibili": {
"type": "boolean",
"default": true,
"description": "启用B站模块"
},
"touchfish.enableXhs": {
"type": "boolean",
"default": true,
"description": "启用小红书模块"
},
"touchfish.enableQqmusic": {
"type": "boolean",
"default": true,
"description": "启用QQ音乐模块"
},
"touchfish.enableXiaoyuzhou": {
"type": "boolean",
"default": true,
"description": "启用小宇宙模块"
},
"touchfish.enableIthome": {
"type": "boolean",
"default": true,
"description": "启用IT之家模块"
},
"touchfish.enableChiphell": {
"type": "boolean",
"default": true,
"description": "启用ChipHell模块"
},
"touchfish.enableV2ex": {
"type": "boolean",
"default": true,
"description": "启用V2ex模块"
},
"touchfish.enableHupu": {
"type": "boolean",
"default": true,
"description": "启用虎扑模块"
},
"touchfish.enableNga": {
"type": "boolean",
"default": true,
"description": "启用NGA模块"
},
"touchfish.enableLinuxdo": {
"type": "boolean",
"default": true,
"description": "启用LinuxDo模块"
},
"touchfish.enableX": {
"type": "boolean",
"default": true,
"description": "启用X模块"
},
"touchfish.xCookie": {
"type": "string",
"description": "X Cookie"
},
"touchfish.xAuthorization": {
"type": "string",
"description": "X Authorization"
},
"touchfish.enableWeread": {
"type": "boolean",
"default": true,
"description": "启用微信读书模块"
},
"touchfish.wereadCookie": {
"type": "string",
"description": "微信读书 Cookie"
},
"touchfish.neteaseCredential": {
"type": "string",
"description": "网易云音乐登录 Cookie 凭据 (直接连接官方 API,可在侧边栏点击齿轮直接设置)"
},
"touchfish.neteaseShowStatusBar": {
"type": "boolean",
"default": true,
"description": "是否在状态栏显示网易云音乐播放信息"
},
"touchfish.neteaseStatusBarShowLyric": {
"type": "boolean",
"default": true,
"description": "网易云音乐状态栏显示歌词(关闭则显示歌名)"
},
"touchfish.enableNetease": {
"type": "boolean",
"default": true,
"description": "启用网易云音乐模块"
},
"touchfish.enableDouyin": {
"type": "boolean",
"default": true,
"description": "启用抖音模块"
},
"touchfish.neteaseQuality": {
"type": "number",
"default": 128,
"description": "网易云音乐默认音质 (128 标准音质, 320 极高音质, 999 无损音质)",
"enum": [
128,
320,
999
],
"enumDescriptions": [
"标准音质",
"极高音质",
"无损音质"
]
},
"touchfish.qqmusicQuality": {
"type": "number",
"default": 128,
"description": "QQ音乐默认音质 (128 标准音质, 320 极高音质, 999 无损音质)",
"enum": [
128,
320,
999
],
"enumDescriptions": [
"标准音质",
"极高音质",
"无损音质"
]
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "touchfish",
"title": "TouchFish",
"icon": "assets/training.svg"
},
{
"id": "weibo",
"title": "TouchFish-Weibo",
"icon": "assets/weibo.svg",
"when": "config.touchfish.enableWeibo"
},
{
"id": "zhihu",
"title": "TouchFish-Zhihu",
"icon": "assets/zhihu.svg",
"when": "config.touchfish.enableZhihu"
},
{
"id": "bilibili",
"title": "TouchFish-Bilibili",
"icon": "assets/bilibili.svg",
"when": "config.touchfish.enableBilibili"
},
{
"id": "xhs",
"title": "TouchFish-Xhs",
"icon": "assets/xhs.svg",
"when": "config.touchfish.enableXhs"
},
{
"id": "qqmusic",
"title": "TouchFish-QQMusic",
"icon": "assets/qqmusic.svg",
"when": "config.touchfish.enableQqmusic"
},
{
"id": "xiaoyuzhou",
"title": "TouchFish-Xiaoyuzhou",
"icon": "assets/xiaoyuzhou.svg",
"when": "config.touchfish.enableXiaoyuzhou"
},
{
"id": "x",
"title": "TouchFish-X",
"icon": "assets/x.svg",
"when": "config.touchfish.enableX"
},
{
"id": "weread",
"title": "TouchFish-Weread",
"icon": "assets/weread.svg",
"when": "config.touchfish.enableWeread"
},
{
"id": "netease",
"title": "TouchFish-Netease",
"icon": "assets/netease.svg",
"when": "config.touchfish.enableNetease"
},
{
"id": "douyin",
"title": "TouchFish-Douyin",
"icon": "assets/douyin.svg",
"when": "config.touchfish.enableDouyin"
}
]
},
"views": {
"weibo": [
{
"icon": "assets/weibo.svg",
"type": "webview",
"name": "微博",
"id": "weibo",
"when": "config.touchfish.enableWeibo"
}
],
"zhihu": [
{
"icon": "assets/zhihu.svg",
"type": "webview",
"name": "知乎",
"id": "zhihu",
"when": "config.touchfish.enableZhihu"
}
],
"xhs": [
{
"icon": "assets/xhs.svg",
"type": "webview",
"name": "小红书",
"id": "xhs",
"when": "config.touchfish.enableXhs"
}
],
"bilibili": [
{
"icon": "assets/bilibili.svg",
"type": "webview",
"name": "B站",
"id": "bilibili",
"when": "config.touchfish.enableBilibili"
}
],
"qqmusic": [
{
"icon": "assets/qqmusic.svg",
"type": "webview",
"name": "QQ音乐",
"id": "qqmusic",
"when": "config.touchfish.enableQqmusic"
}
],
"touchfish": [
{
"name": "IT之家",
"id": "view.ithomeList",
"icon": "assets/training.svg",
"when": "config.touchfish.enableIthome"
},
{
"name": "chipHell",
"id": "view.chiphellList",
"icon": "assets/training.svg",
"when": "config.touchfish.enableChiphell"
},
{
"id": "view.v2exList",
"name": "v2ex",
"icon": "assets/training.svg",
"when": "config.touchfish.enableV2ex"
},
{
"id": "view.hupuList",
"name": "虎扑步行街",
"icon": "assets/training.svg",
"when": "config.touchfish.enableHupu"
},
{
"id": "view.ngaList",
"name": "nga精英玩家俱乐部",
"icon": "assets/training.svg",
"when": "config.touchfish.enableNga"
},
{
"id": "view.linuxdoList",
"name": "Linux.do",
"icon": "assets/training.svg",
"when": "config.touchfish.enableLinuxdo"
},
{
"id": "view.setting",
"name": "设置",
"visibility": "hidden",
"icon": "assets/training.svg"
}
],
"xiaoyuzhou": [
{
"icon": "assets/xiaoyuzhou.svg",
"type": "webview",
"name": "小宇宙",
"id": "xiaoyuzhou",
"when": "config.touchfish.enableXiaoyuzhou"
}
],
"x": [
{
"icon": "assets/x.svg",
"type": "webview",
"name": "X",
"id": "x",
"when": "config.touchfish.enableX"
}
],
"weread": [
{
"icon": "assets/weread.svg",
"type": "webview",
"name": "微信读书",
"id": "weread",
"when": "config.touchfish.enableWeread"
}
],
"netease": [
{
"icon": "assets/netease.svg",
"type": "webview",
"name": "网易云音乐",
"id": "netease",
"when": "config.touchfish.enableNetease"
}
],
"douyin": [
{
"icon": "assets/douyin.svg",
"type": "webview",
"name": "抖音",
"id": "douyin",
"when": "config.touchfish.enableDouyin"
}
]
},
"viewsWelcome": [
{
"view": "view.setting",
"contents": "[🛠打开配置页](command:touchfish.openConfigPage) 停止内卷,享受摸鱼!欢迎使用摸鱼小工具!😘😘😘😘😘😘😘😘"
}
],
"commands": [
{
"command": "itHome.refresh",
"title": "刷新",
"icon": "$(refresh)"
},
{
"command": "chiphell.refresh",
"title": "刷新",
"icon": "$(refresh)"
},
{
"command": "v2ex.refresh",
"title": "刷新",
"icon": "$(refresh)"
},
{
"command": "v2ex.changeTab",
"title": "切换tab",
"icon": "$(pencil)"
},
{
"command": "hupu.refresh",
"title": "刷新",
"icon": "$(refresh)"
},
{
"command": "hupu.changeTab",
"title": "切换tab",
"icon": "$(pencil)"
},
{
"command": "nga.refresh",
"title": "刷新",
"icon": "$(refresh)"
},
{
"command": "nga.changeTab",
"title": "切换tab",
"icon": "$(pencil)"
},
{
"command": "linuxdo.refresh",
"title": "刷新",
"icon": "$(refresh)"
},
{
"command": "touchfish.setLinuxDoToken",
"title": "设置 Linux.do Cookie",
"icon": "$(settings-gear)"
},
{
"command": "touchfish.switchLinuxDoTab",
"title": "切换 Linux.do Tab",
"icon": "$(pencil)"
},
{
"command": "touchfish.setZhihuToken",
"title": "设置知乎Token",
"icon": "$(settings-gear)"
},
{
"command": "touchfish.setWeiboToken",
"title": "设置微博Token",
"icon": "$(settings-gear)"
},
{
"command": "touchfish.setNgaToken",
"title": "设置NGA-Token",
"icon": "$(settings-gear)"
},
{
"command": "touchfish.setXhsToken",
"title": "设置小红书Cookie",
"icon": "$(settings-gear)"
},
{
"command": "touchfish.loginXhsQrCode",
"title": "小红书扫码登录",
"icon": "$(device-camera)"
},
{
"command": "touchfish.setBilibiliToken",
"title": "设置B站Cookie",
"icon": "$(settings-gear)"
},
{
"command": "touchfish.setDouyinCookie",
"title": "设置抖音Cookie",
"icon": "$(settings-gear)"
},
{
"command": "touchfish.openQQMusic",
"title": "打开 QQ音乐",
"icon": "$(play-circle)"
},
{
"command": "touchfish.qqmusic.playPause",
"title": "播放/暂停",
"icon": "$(play)"
},
{
"command": "touchfish.qqmusic.nextSong",
"title": "下一首",
"icon": "$(chevron-right)"
},
{
"command": "touchfish.openXiaoyuzhou",
"title": "打开小宇宙",
"icon": "$(radio-tower)"
},
{
"command": "touchfish.setXiaoyuzhouToken",
"title": "设置小宇宙凭据",
"icon": "$(settings-gear)"
},
{
"command": "touchfish.music.openActive",
"title": "打开当前播放器",
"icon": "$(play-circle)"
},
{
"command": "touchfish.music.playPause",
"title": "播放/暂停",
"icon": "$(play)"
},
{
"command": "touchfish.music.next",
"title": "下一首/集",
"icon": "$(chevron-right)"
},
{
"command": "touchfish.xiaoyuzhou.playPause",
"title": "播放/暂停",
"icon": "$(play)"
},
{
"command": "touchfish.xiaoyuzhou.nextEpisode",
"title": "下一集",
"icon": "$(chevron-right)"
},
{
"command": "touchfish.setXToken",
"title": "设置X凭据",
"icon": "$(settings-gear)"
},
{
"command": "touchfish.loginWereadQrCode",
"title": "微信读书扫码登录",
"icon": "$(account)"
},
{
"command": "touchfish.setWereadCookie",
"title": "设置微信读书Cookie",
"icon": "$(settings-gear)"
},
{
"command": "touchfish.openNetease",
"title": "打开 网易云音乐",
"icon": "$(play-circle)"
},
{
"command": "touchfish.netease.playPause",
"title": "播放/暂停",
"icon": "$(play)"
},
{
"command": "touchfish.netease.nextSong",
"title": "下一首",
"icon": "$(chevron-right)"
},
{
"command": "touchfish.setNeteaseCookie",
"title": "设置网易云 Cookie",
"icon": "$(settings-gear)"
}
],
"keybindings": [
{
"command": "touchfish.qqmusic.playPause",
"key": "alt+p",
"mac": "alt+p"
},
{
"command": "touchfish.qqmusic.nextSong",
"key": "alt+n",
"mac": "alt+n"
},
{
"command": "touchfish.netease.playPause",
"key": "alt+shift+p",
"mac": "alt+shift+p"
},
{
"command": "touchfish.netease.nextSong",
"key": "alt+shift+n",
"mac": "alt+shift+n"
}
],
"menus": {
"view/title": [
{
"command": "itHome.refresh",
"when": "view == view.ithomeList",
"group": "navigation"
},
{
"command": "chiphell.refresh",
"when": "view == view.chiphellList",
"group": "navigation"
},
{
"command": "v2ex.refresh",
"when": "view == view.v2exList",
"group": "navigation"
},
{
"command": "v2ex.changeTab",
"when": "view == view.v2exList",
"group": "navigation"
},
{
"command": "hupu.refresh",
"when": "view == view.hupuList",
"group": "navigation"
},
{
"command": "hupu.changeTab",
"when": "view == view.hupuList",
"group": "navigation"
},
{
"command": "nga.refresh",
"when": "view == view.ngaList",
"group": "navigation"
},
{
"command": "nga.changeTab",
"when": "view == view.ngaList",
"group": "navigation"
},
{
"command": "touchfish.setZhihuToken",
"when": "view == zhihu",
"group": "navigation"
},
{
"command": "touchfish.setWeiboToken",
"when": "view == weibo",
"group": "navigation"
},
{
"command": "touchfish.setNgaToken",
"when": "view == view.ngaList",
"group": "navigation"
},
{
"command": "linuxdo.refresh",
"when": "view == view.linuxdoList",
"group": "navigation"
},
{
"command": "touchfish.switchLinuxDoTab",
"when": "view == view.linuxdoList",
"group": "navigation"
},
{
"command": "touchfish.setLinuxDoToken",
"when": "view == view.linuxdoList",
"group": "navigation"
},
{
"command": "touchfish.setXhsToken",
"when": "view == xhs",
"group": "navigation"
},
{
"command": "touchfish.loginXhsQrCode",
"when": "view == xhs",
"group": "navigation"
},
{
"command": "touchfish.loginXhsPhone",
"when": "view == xhs",
"group": "navigation"
},
{
"command": "touchfish.setBilibiliToken",
"when": "view == bilibili",
"group": "navigation"
},
{
"command": "touchfish.setXiaoyuzhouToken",
"when": "view == xiaoyuzhou",
"group": "navigation"
},
{
"command": "touchfish.setXToken",
"when": "view == x",
"group": "navigation"
},
{
"command": "touchfish.loginWereadQrCode",
"when": "view == weread",
"group": "navigation@1"
},
{
"command": "touchfish.setWereadCookie",
"when": "view == weread",
"group": "navigation@2"
},
{
"command": "touchfish.setNeteaseCookie",
"when": "view == netease",
"group": "navigation"
},
{
"command": "touchfish.setDouyinCookie",
"when": "view == douyin",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "pnpm package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "pnpm compile-tests && pnpm compile && pnpm lint",
"lint": "eslint src --ext ts",
"test": "mocha \"out/src/test/**/*.test.js\"",
"build": "vsce package --no-dependencies",
"changelog": "standard-version",
"publish": "vsce publish --no-dependencies && ovsx publish --no-dependencies",
"unpublish": "vsce unpublish && ovsx unpublish",
"build-webviews": "pnpm --filter zhihu build && pnpm --filter weibo build && pnpm --filter xhs build && pnpm --filter bilibili build && pnpm --filter qqmusic build && pnpm --filter netease build && pnpm --filter xiaoyuzhou build && pnpm --filter x build && pnpm --filter weread build && pnpm --filter douyin build",
"xhs:test": "node ./tools/xhs/test-xhs.js",
"xhs:test:live": "node ./tools/xhs/test-xhs.js",
"build-publish": "pnpm build-webviews && pnpm package && pnpm changelog && pnpm run publish",
"dev": "concurrently -n ZHIHU,WEIBO,X,XHS,BILIBILI,QQMUSIC,NETEASE,XIAOYUZHOU,WEREAD,DOUYIN -c magenta,cyan,yellow,blue,green,red,red,white,blue,black \"pnpm --filter zhihu dev\" \"pnpm --filter weibo dev\" \"pnpm --filter xhs dev\" \"pnpm --filter bilibili dev\" \"pnpm --filter qqmusic dev\" \"pnpm --filter netease dev\" \"pnpm --filter xiaoyuzhou dev\" \"pnpm --filter x dev\" \"pnpm --filter weread dev\" \"pnpm --filter douyin dev\"",
"build-xhs": "pnpm --filter xhs build",
"sync-ext": "node -e \"const fs=require('fs'); const path=require('path'); const target=path.join(process.env.USERPROFILE, '.vscode/extensions/ylw.touchfish-17.12.1'); if(fs.existsSync(target)){ fs.copyFileSync('dist/extension.js', path.join(target, 'dist/extension.js')); fs.cpSync('xhs/dist', path.join(target, 'xhs/dist'), {recursive: true}); console.log('Synced to installed extension!'); }\"",
"update-x-ids": "node tools/update_x_ids.js"
},
"devDependencies": {
"@eslint/js": "9.30.1",
"@types/axios": "^0.14.4",
"@types/crypto-js": "^4.2.2",
"@types/mocha": "^10.0.9",
"@types/node": "24.0.13",
"@types/vscode": "1.80.0",
"@types/ws": "8.18.1",
"@typescript-eslint/eslint-plugin": "8.36.0",
"@typescript-eslint/parser": "8.36.0",
"@vscode/test-electron": "2.5.2",
"concurrently": "^9.0.1",
"copy-webpack-plugin": "^13.0.0",
"eslint": "9.30.1",
"globals": "16.3.0",
"mocha": "11.7.1",
"playwright": "^1.59.1",
"standard-version": "^9.5.0",
"ts-loader": "9.5.2",
"typescript": "5.8.3",
"typescript-eslint": "^8.15.0",
"webpack": "5.100.0",
"webpack-cli": "6.0.1"
},
"dependencies": {
"axios": "1.10.0",
"bufferutil": "^4.0.9",
"cheerio": "1.1.0",
"crypto-js": "^4.2.0",
"iconv-lite": "^0.7.2",
"utf-8-validate": "^6.0.5",
"ws": "8.18.3",
"x-client-transaction-id": "^0.2.3",
"xbogus": "^1.0.2"
},
"optionalDependencies": {
"canvas": "^3.2.0"
},
"repository": {
"type": "git",
"url": "https://github.com/ylw1997/touchFish.git"