Home

Awesome

PupaFM

screen

douban.fm Music Desktop Player.

Build Status js-standard-style Dependency Status MIT Licensed

中文说明

based on

based on

  1. Framework: Electron
  2. Bundler: Webpack, Babel, electron-builder
  3. Language: ES2015, Sass
  4. Library: React, Redux, React Router, React Hot Loader, Redux Thunk
  5. Lint: ESLint

Release Page

Releases

Development

based on

Redux DevTools

See redux-devtools-dock-monitor for more information.

Install

First, clone the repo via git:

git clone git@github.com: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