diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..a32af40
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,23 @@
+# https://travis-ci.org/nfreear/cookie-notice
+# https://docs.travis-ci.com/user/languages/javascript-with-nodejs/
+
+language: node_js
+
+node_js: 8
+
+git:
+ depth: 8
+
+cache:
+ directories:
+ - node_modules # NPM packages.
+
+# install: npm install
+
+# script: npm test
+
+after_script:
+- ls -al dist/
+- pgrep -lf '(live-server|phantom)'
+
+# End.
diff --git a/README.md b/README.md
index 27ec3c3..85edfda 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,13 @@
-# CookieNotice
-**CookieNoticeJS** is a very simple and small *(→ 2 kB gzip)* vanilla JS script with multi language support for GDPR/DSGVO transparency and
+[![Build status — Travis-CI][travis-icon]][travis]
+[![cookie-notice on Npmjs][npm-icon]][npm]
+[![License][license-icon]][mit]
+[![Total downloads ~ Npmjs][downl-icon]][npm]
+[![Size of Javascript][size-icon]][build]
+
+# CookieNotice
+
+**CookieNoticeJS** is a very simple and small *(→ 2 kB gzip)* vanilla JS script with multi language support for GDPR/DSGVO transparency and
notification purposes that provides an easy way to show a cookie notice on your website.
@@ -38,10 +45,10 @@ npm install cookie-notice
You will get a dismissable banner on the bottom of your pages showing a default cookie audit like the following:
> We use cookies to make sure you can have the best experience on our website. If you continue to use this site we assume that you will be happy with it.
-
-Check my website for a [DEMO](http://codeb.it/). Depending on the visitor browser language one of the preloaded translation will be shown. At the moment **CookieNoticeJS** supports *EN, IT, DE and FR*. If you want to contribute with an extra language do not hesitate to open an issue or a PR.
-**CookieNoticeJS** has been succesfully tested on IE9+, Chrome, Firefox and Safari.
+Check my website for a [DEMO](http://codeb.it/). Depending on the visitor browser language one of the preloaded translations will be shown. At the moment **CookieNoticeJS** supports *EN, IT, DE and FR*. If you want to contribute with an extra language do not hesitate to open an issue or a PR.
+
+**CookieNoticeJS** has been successfully tested on IE9+, Chrome, Firefox and Safari.
## Customize CookieNoticeJS
@@ -51,49 +58,49 @@ For the most of you including the script should be enough but **CookieNoticeJS**
```
@@ -102,4 +109,22 @@ For the most of you including the script should be enough but **CookieNoticeJS**
Alessandro Benoit
#### Contributors
-[Bernhard Behrendt](mailto:bernhard.behrendt@aoe.com) [@AOEpeople](https://github.com/AOEpeople)
\ No newline at end of file
+[Bernhard Behrendt](mailto:bernhard.behrendt@aoe.com) [@AOEpeople](https://github.com/AOEpeople)
+
+### License
+
+License: [MIT][]
+
+
+[MIT]: https://github.com/micc83/cookie-notice-js/blob/master/LICENSE
+ "License: MIT | Copyright © 2018 Alessandro Benoit (micc83)."
+[MIT-0]: https://mit-license.org/#2018
+[travis-icon]: https://travis-ci.org/nfreear/cookie-notice.svg?branch=ndf/travis-ci
+[travis]: https://travis-ci.org/nfreear/cookie-notice "Build status – Travis-CI"
+[npm]: https://npmjs.com/package/cookie-notice "CookieNotice – on NPM"
+[npm-icon]: https://img.shields.io/npm/v/cookie-notice.svg
+[license-icon]: https://img.shields.io/npm/l/cookie-notice.svg
+[downl-icon]: https://img.shields.io/npm/dt/cookie-notice.svg "Count of total downloads – NPM"
+[build]: https://github.com/AOEpeople/cookie-notice/tree/master/dist
+[size-icon]: https://img.shields.io/github/size/AOEpeople/cookie-notice/dist/cookie.notice.min.js.svg
+ "Size of built Javascript, kilo-bytes (kB) – on GitHub"
diff --git a/package.json b/package.json
index 0dbc740..7e60ea8 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,8 @@
"name": "cookie-notice",
"version": "1.1.9",
"description": "Show a widely configurable notice for European cookie law",
- "main": "index.js",
+ "main": "gruntfile.js",
+ "browser": "dist/cookie-notice.js",
"scripts": {
"test": "./node_modules/.bin/grunt test"
},
@@ -17,12 +18,17 @@
"license": "MIT",
"devDependencies": {
"grunt": "^1.0.2",
+ "grunt-cli": "^1.2.0",
"grunt-contrib-connect": "^1.0.2",
"grunt-contrib-qunit": "^2.0.0",
"grunt-contrib-uglify": "^3.3.0",
"grunt-strip-code": "^1.0.6",
"phantomjs-prebuilt": "^2.1.16"
},
+ "peerDependencies": {
+ "jquery": "^3.3.1",
+ "qunit": "^2.6.1"
+ },
"repository": {
"type": "git",
"url": "https://github.com/AOEpeople/cookie-notice-js"
diff --git a/tests/index.html b/tests/index.html
index 33c815e..5145f69 100644
--- a/tests/index.html
+++ b/tests/index.html
@@ -4,17 +4,17 @@