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 git@github.com:xwartz/PupaFM.gitAnd then install dependencies.
$ cd PupaFM && npm i$ npm run hot-server
$ npm run hot-startor enable watch with pm2 eco.json
$ npm start
$ npm stop
$ npm restart$ npm run compile
$ npm run packor just run package
$ npm run packageBy default build for current platform and current arch.
$ npm run builderBuild app for Windows
$ npm run builder:winBuild app for Linux
$ npm run builder:linuxBefore 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-hookMIT © xwartz