PupaFM
douban.fm Music Desktop Player.
中文说明
based on
- Framework: Electron
- Bundler: Webpack, Babel, electron-builder
- Language: ES2015, Sass
- Library: React, Redux, React Router, React Hot Loader, Redux Thunk
- Lint: ESLint
Release Page
Development
Redux DevTools
See redux-devtools-dock-monitor for more information.
Install
First, clone the repo via git:
git clone [email protected]:xwartz/PupaFM.git
And then install dependencies.
$ cd PupaFM && npm i
run
$ npm run hot-server
$ npm run hot-start
or enable watch with pm2 eco.json
$ npm start
$ npm stop
$ npm restart
Package
$ npm run compile
$ npm run pack
or just run package
$ npm run package
Build installer App
By default build for current platform and current arch.
$ npm run builder
Build app for Windows
$ npm run builder:win
Build app for Linux
$ npm run builder:linux
Note
Before runing package
or builder
, you should read electron-builder docs and checkout Code Signing
Contribution
Follow this code style
$ npm install
# install pre-commit lint hook
$ npm run install-hook
License
MIT © xwartz