Skip to content

Commit

Permalink
Change project structure to be less confusing - fixed #28
Browse files Browse the repository at this point in the history
  • Loading branch information
jtollerene committed Nov 11, 2014
1 parent 8d8c942 commit 4acff5d
Show file tree
Hide file tree
Showing 87 changed files with 13 additions and 19 deletions.
8 changes: 4 additions & 4 deletions docs/gulp/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var dest = './build',
src = './src'
dist = './dist';
mui = '../src';

module.exports = {
browserSync: {
Expand All @@ -17,7 +17,7 @@ module.exports = {
src: src + '/less/main.less',
watch: [
src + '/less/**',
dist + '/less/**'
mui + '/less/**'
],
dest: dest
},
Expand All @@ -26,11 +26,11 @@ module.exports = {
dest: dest
},
fonts: {
src: dist + 'less/material-design-fonticons/fonts/**',
src: mui + 'less/material-design-fonticons/fonts/**',
dest: dest + '/fonts/mdfonticon'
},
muiFonts: {
src: dist + '/less/material-ui-icons/fonts/**',
src: mui + '/less/material-ui-icons/fonts/**',
dest: dest + '/fonts'
},
browserify: {
Expand Down
11 changes: 3 additions & 8 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,17 @@
"description": "Documentation site for material-ui",
"private": true,
"browser": {
"mui": "./dist/index.js",
"hljs": "./src/app/vendor/highlight-js/highlight.pack.js",
"mui": "../src/index.js",
"react": "react/addons"
},
"browserify": {
"transform": [
"reactify",
"browserify-shim"
"reactify"
]
},
"browserify-shim": {
"hljs": "hljs"
},
"devDependencies": {
"browser-sync": "^1.6.5",
"browserify": "^6.2.0",
"browserify-shim": "^3.8.0",
"gulp": "^3.8.10",
"gulp-less": "^1.3.6",
"gulp-notify": "^2.0.1",
Expand All @@ -34,6 +28,7 @@
"watchify": "^2.1.1"
},
"dependencies": {
"highlight.js": "^8.3.0",
"jquery": "^2.1.1",
"react": "^0.12.0",
"react-router": "^0.10.2"
Expand Down
4 changes: 2 additions & 2 deletions docs/src/app/components/code-example/code-block.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

var React = require('react'),
hljs = require('hljs');
hljs = require('highlight.js');

var CodeBlock = React.createClass({

Expand All @@ -25,4 +25,4 @@ var CodeBlock = React.createClass({

});

module.exports = CodeBlock;
module.exports = CodeBlock;
4 changes: 2 additions & 2 deletions docs/src/less/main.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* material-ui */
@import "../../dist/less/scaffolding.less";
@import "../../dist/less/components.less";
@import "../../../src/less/scaffolding.less";
@import "../../../src/less/components.less";

/* hightlight.js for syntax highlighting */
//@import (less) "monokai_sublime.css";
Expand Down
1 change: 0 additions & 1 deletion index.js

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "material-ui",
"author": "Call-em-all Engineering Team",
"version": "0.2.1",
"version": "0.2.2",
"description": "Material Design UI components built with React",
"main": "index.js",
"main": "./src/index",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4acff5d

Please sign in to comment.