From fb7ed50753401c7ca70639f4847f259311736ef8 Mon Sep 17 00:00:00 2001 From: Romain Date: Sun, 13 Nov 2016 13:35:10 +1100 Subject: [PATCH] Prepare for npm publish (ignore tests, cleanup license...) --- .npmignore | 6 ++---- LICENSE.md | 2 -- THEMES.md | 35 ----------------------------------- scripts/cibuild | 2 +- 4 files changed, 3 insertions(+), 42 deletions(-) delete mode 100644 THEMES.md diff --git a/.npmignore b/.npmignore index c62e57a..0e5b47f 100644 --- a/.npmignore +++ b/.npmignore @@ -1,4 +1,2 @@ -.gitignore -.gitmodules -.npmignore -screenshot.jpg +test +scripts diff --git a/LICENSE.md b/LICENSE.md index 1f6b0ce..d13cc4b 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,7 +1,5 @@ The MIT License (MIT) -Copyright (c) 2014 Romain Prieto - Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights diff --git a/THEMES.md b/THEMES.md deleted file mode 100644 index 95e2311..0000000 --- a/THEMES.md +++ /dev/null @@ -1,35 +0,0 @@ - -# Themes - -Here are the themes available for Thumbsup. -Please submit a pull-request to submit new themes. - -Themes can be configured/tweaked by overriding [LESS](http://lesscss.org/) variables, -using the `--css` option. - -```bash -thumbsup --theme default --css custom.less -``` - -```less -@text-color: #cef9b6; -``` - -## Default - -![default theme](screenshot.jpg) - -Configuration variables - -| Variable | Description | -|-------------|-------------| -| @body-background | Page background color | -| @header-background | Header background color | -| @header-foreground | Header title color | -| @nav-background | Sidebar navigation background color | -| @nav-highlight | Sidebar hover effect color | -| @album-background | Album cover background color | -| @text-color | Main text color | -| @text-light | Lighter text color | -| @borders | General border color | -| @mobile-trigger | Width below which is switches to mobile mode | diff --git a/scripts/cibuild b/scripts/cibuild index 690c21c..4fda9bb 100755 --- a/scripts/cibuild +++ b/scripts/cibuild @@ -9,7 +9,7 @@ PATH=$(pwd)/node-modules/.bin:$PATH echo "--- Check all dependencies in package.json" require-lint --src bin/thumbsup.js --ignore-extra lightgallery -echo "--- Verify lightgallery dependenciy is built in" +echo "--- Verify lightgallery dependency is built in" grep \"lightgallery\" package.json 1>/dev/null echo "--- Run unit tests"