3 Star 6 Fork 4

Gitee 极速下载 / tomatox

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/yanjiaxuan/TOMATOX
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

TOMATOX

TOMATOX

A Online video player with TypeScript, React, and Electron.

  • 🎞 全网在线VIP视频解析
  • 🎨 贯彻精致简洁的设计风格
  • 👑 PC全平台支持(Windows, Linux, MacOS)
  • ✨ 新功能陆续上线中...

About Project

React Webpack TypeScript Electron

Electron application boilerplate based on React and Webpack for rapid application development using TypeScript.

Screenshot

image image image image image image image image image

Install

Clone the repository with Git:

git clone --depth=1 git@github.com:yanjiaxuan/TOMATOX.git <your-project-name>

Setting npm registry and electron mirror address

npm config set registry https://mirrors.huaweicloud.com/repository/npm/
npm config set disturl https://mirrors.huaweicloud.com/nodejs/
npm config set electron_mirror https://mirrors.huaweicloud.com/electron/

And then install the dependencies:

cd <your-project-name>
npm install

Usage

Both processes have to be started simultaneously in different console tabs:

npm run start-renderer-dev
npm run start-main-dev

This will start the application with hot-reload so you can instantly start developing your application.

You can also run do the following to start both in a single process:

npm run start-dev

Packaging

We use Electron builder to build and package the application. By default you can run the following to package for your current platform:

npm run dist

This will create a installer for your platform in the releases folder.

You can make builds for specific platforms (or multiple platforms) by using the options found here. E.g. building for all platforms (Windows, Mac, Linux):

npm run dist -- -mwl

Husky and Prettier

This project comes with both Husky and Prettier setup to ensure a consistent code style.

To change the code style, you can change the configuration in .prettierrc.

In case you want to get rid of this, you can removing the following from package.json:

  1. Remove precommit from the scripts section
  2. Remove the lint-staged section
  3. Remove lint-staged, prettier, eslint-config-prettier, and husky from the devDependencies

Also remove all mentions of Prettier from the extends section in .eslintrc.json.

版权声明

本人发布的所有资源或软件均来自网络,与本人没有任何关系,只能作为私下交流、学习、研究之用,版权归原作者及原软件公司所有。

本人发布的所有资源或软件请在下载后24小时内自行删除。如果您喜欢这个资源或软件,请联系原作者或原软件公司购买正版。与本人无关!

本人仅仅提供一个私下交流、学习、研究的环境,将不对任何资源或软件负法律责任!

任何涉及商业盈利性目的的单位或个人,均不得使用本人发布的资源或软件,否则产生的一切后果将由使用者自己承担!

License

MIT © yanjiaxuan

空文件

简介

TOMATOX 是一个高颜值的在线视频播放软件,PC 端全平台支持,目前功能已基本开发完毕,欢迎下载体验,软件截图: 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
TypeScript
1
https://gitee.com/mirrors/tomatox.git
git@gitee.com:mirrors/tomatox.git
mirrors
tomatox
tomatox
main

搜索帮助