diff --git a/README.md b/README.md index b46795b..02804e6 100644 --- a/README.md +++ b/README.md @@ -32,14 +32,12 @@ To add the css to the html page there are 2 easy options: ## Example -Take a look at the [example](./example/index.js) for more details, or [inspect the source](https://css-modules.github.io/css-modulesify/). - +An example implementaion can be found [here](https://github.com/css-modules/browserify-demo). ## Licence MIT - ## With thanks - Tobias Koppers diff --git a/bin/publish-gh-pages b/bin/publish-gh-pages deleted file mode 100755 index 5e4182d..0000000 --- a/bin/publish-gh-pages +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env node - -var ghpages = require('gh-pages'); -var path = require('path'); - -ghpages.publish(path.join(__dirname, '..', 'example'), function (err) { - if (err) { throw err; } - console.log('ok'); -}); diff --git a/example/borders.css b/example/borders.css deleted file mode 100644 index 7d4480e..0000000 --- a/example/borders.css +++ /dev/null @@ -1,3 +0,0 @@ -.dottyBorder { - border: 1px dotted #000; -} diff --git a/example/box1.css b/example/box1.css deleted file mode 100644 index 3322f2b..0000000 --- a/example/box1.css +++ /dev/null @@ -1,8 +0,0 @@ -.box { - extends: dottyBorder from "./borders.css"; - padding: 10px; -} - -.text { - font-style: italic; -} diff --git a/example/box2.css b/example/box2.css deleted file mode 100644 index 6e2116c..0000000 --- a/example/box2.css +++ /dev/null @@ -1,14 +0,0 @@ -.box { - padding: 10px; - background: #555; - transition: all 1s; -} - -.box:hover { - background: #933; -} - -.text { - color: #fff; - font-weight: bold; -} diff --git a/example/dist/.gitignore b/example/dist/.gitignore deleted file mode 100644 index 72e8ffc..0000000 --- a/example/dist/.gitignore +++ /dev/null @@ -1 +0,0 @@ -* diff --git a/example/export-css.js b/example/export-css.js deleted file mode 100644 index deda444..0000000 --- a/example/export-css.js +++ /dev/null @@ -1,4 +0,0 @@ -console.log([ - require('./box1.css'), - require('./box2.css') -].join('\n')); diff --git a/example/index.html b/example/index.html deleted file mode 100644 index bdb4b39..0000000 --- a/example/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - -
-