]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/help.sh
Server: add npm run check to check CORS, bittorrent tracker...
[github/Chocobozzz/PeerTube.git] / scripts / help.sh
index 3ed9f15cc71784aafaf3b47c7f816c891a4245c3..fdccabbf016bc22ad3efed49f734670d11f05107 100755 (executable)
@@ -2,23 +2,19 @@
 
 printf "############# PeerTube help #############\n\n"
 printf "npm run ...\n"
-printf "  build                -> Build the application\n"
-printf "  build:client         -> Build the client (css, js files)\n"
-printf "  build:client:sass    -> Build the sass files\n"
-printf "  build:client:tsc     -> Build the javascript files\n"
+printf "  build                -> Build the application for production (alias of build:client:prod)\n"
+printf "  build:client:dev     -> Build the client for development\n"
+printf "  build:client:prod    -> Build the client for production\n"
 printf "  clean                -> Clean the application\n"
-printf "  clean:client         -> Clean the client (css, js files)\n"
-printf "  clean:client:sass    -> Clean the sass build files\n"
-printf "  clean:client:tsc     -> Clean the javascript files\n"
+printf "  clean:client         -> Clean the client build files (dist directory)\n"
 printf "  clean:server:test    -> Clean certificates, logs, uploads and database of the test instances\n"
 printf "  watch:client         -> Watch the client files\n"
-printf "  watch:client:sass    -> Watch the sass client files\n"
-printf "  watch:client:tsc     -> Watch the typescript files\n"
-printf "  danger:clean:server  -> /!\ Clean certificates, logs, uploads and database\n"
+printf "  danger:clean:dev     -> /!\ Clean certificates, logs, uploads, thumbnails, torrents and database specified in the development environment\n"
+printf "  danger:clean:prod    -> /!\ Clean certificates, logs, uploads, thumbnails, torrents and database specified by the production environment\n"
 printf "  danger:clean:modules -> /!\ Clean node and typescript modules\n"
 printf "  play                 -> Run 3 fresh nodes so that you can test the communication between them\n"
 printf "  dev                  -> Watch, run the livereload and run the server so that you can develop the application\n"
-printf "  livereload           -> Run the livereload on the client\n"
 printf "  start                -> Run the server\n"
+printf "  check                -> Check the server (according to NODE_ENV)\n"
 printf "  test                 -> Run the tests\n"
 printf "  help                 -> Print this help\n"