diff --git a/README.md b/README.md index 630a761..07194ef 100755 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ list of torrent magnets to paste in a torrent client on a distant server. * Get seasonal releases information (from [www.livechart.me](https://www.livechart.me)). * Manage your anime files (watch and delete on click) * Manage watch lists. -* Browse nyaa (si and pantsu). +* Browse nyaa ([si](www.nyaa.si) and [pantsu](www.nyaa.pantsu.cat)). * More features are to come. ## About OS @@ -72,12 +72,6 @@ npm run bstart npm run dev ``` -#### Start only server with hot reloading -_using this with a REST api client is kinda useful_. -``` -npm run dev:server -``` - ##### Lint ``` npm run lint @@ -112,22 +106,22 @@ You can find help to use it on your platform #### For every OS ``` -npm run build npm run buildAll +npm run build npm run dist:all ``` #### For Mac OS only ``` -npm run build && npm run buildMac +npm run build && npm run dist:mac ``` #### For Linux platforms only ``` -npm run build && npm run buildLinux +npm run build && npm run dist:linux ``` #### For Windows platforms ``` -npm run build && npm run buildWin +npm run build && npm run dist:win ``` Distributable will then be in the `dist` folder. @@ -141,9 +135,6 @@ Any contribution is appreciated. 4. Push to the branch: `git push origin my-new-feature` 5. Submit a pull request. -## TODOs -* Implement torrents with WebTorrent module. - ## Thanks This software is being developped with the following technologies, many thanks to * [Electron](https://electron.atom.io) @@ -154,5 +145,4 @@ _It is still in development_. ## License MIT License -Copyright (c) Kylart - +Copyright (c) Kylart \ No newline at end of file diff --git a/package.json b/package.json index ce2ecad..8d69e6c 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,6 @@ "license": "MIT", "scripts": { "dev": "NODE_ENV=development electron main.js", - "dev:server": "node assets/serverStart.js", "start": "NODE_ENV=production electron main.js", "bstart": "npm run build && npm start", "build": "rimraf public && npm run build:client && npm run build:server", @@ -19,14 +18,14 @@ "build:server": "NODE_ENV=production webpack --config webpack/webpack.server.config.js --hide-modules", "cloc": "cloc $(git ls-files | grep -vE \".mkv|mp4|lock\")", "test:server": "nyc ava --verbose --serial test/server.test.js", - "test:front": "NODE_ENV=KawAnime-test nightwatch", + "test:front": "npm run build && NODE_ENV=KawAnime-test nightwatch", "test": "standard --fix && npm test:front && npm test:server", "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", "lint": "standard --fix --plugin vue '**/*.{js,vue}'", - "buildLinux": "build --linux deb AppImage zip tar.gz", - "build:win": "build --win nsis --ia32 x64 appx zip squirrel", - "build:mac": "build --mac dmg zip pkg", - "build:all": "nuxt build && npm run buildMac && npm run buildWin && npm run buildLinux && build --armv7l", + "distLinux": "build --linux deb AppImage", + "dist:win": "build --win nsis --ia32 x64 appx zip squirrel", + "dist:mac": "build --mac dmg zip", + "dist:all": "npm run build && npm run dist:mac && npm run dist:win && npm run dist:linux && build --armv7l", "postinstall": "node nightwatch.conf.js" }, "engines": {