douban.fm Music Desktop Player.
- Framework: Electron
- Bundler: Webpack, Babel, electron-builder
- Language: ES2015, Sass
- Library: React, Redux, React Router, React Hot Loader, Redux Thunk
- Lint: ESLint
See redux-devtools-dock-monitor for more information.
First, clone the repo via git:
git clone [email protected]:xwartz/PupaFM.git
And then install dependencies.
$ cd PupaFM && npm i
$ npm run hot-server
$ npm run hot-start
or enable watch with pm2 eco.json
$ npm start
$ npm stop
$ npm restart
$ npm run compile
$ npm run pack
or just run package
$ npm run package
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
Before runing package
or builder
, you should read electron-builder docs and checkout Code Signing
Follow this code style
$ npm install
# install pre-commit lint hook
$ npm run install-hook
MIT © xwartz