Skip to content

Remove examples, and restructure repo #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 8, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 0 additions & 9 deletions bin/publish-gh-pages

This file was deleted.

3 changes: 0 additions & 3 deletions example/borders.css

This file was deleted.

8 changes: 0 additions & 8 deletions example/box1.css

This file was deleted.

14 changes: 0 additions & 14 deletions example/box2.css

This file was deleted.

1 change: 0 additions & 1 deletion example/dist/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions example/export-css.js

This file was deleted.

11 changes: 0 additions & 11 deletions example/index.html

This file was deleted.

24 changes: 0 additions & 24 deletions example/index.js

This file was deleted.

File renamed without changes.
12 changes: 2 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,13 @@
"name": "css-modulesify",
"version": "0.1.2",
"description": "A browserify transform to load CSS Modules",
"main": "lib/index.js",
"main": "index.js",
"dependencies": {
"css-modules-loader-core": "0.0.5",
"through": "^2.3.7"
},
"devDependencies": {
"browserify": "^10.2.3",
"gh-pages": "^0.3.0",
"hyperscript": "^1.4.6",
"insert-css": "^0.2.0"
},
"devDependencies": {},
"scripts": {
"build-example": "browserify -t ./lib -o example/dist/index.js example/index.js",
"export-css": "browserify -t ./lib example/export-css.js | node",
"publish-gh-pages": "npm run build-example && ./bin/publish-gh-pages",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "joshwnj",
Expand Down