Skip to content

Commit

Permalink
Removed docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mbj36 committed Mar 13, 2018
1 parent 9c2712f commit bcdec94
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 253 deletions.
1 change: 0 additions & 1 deletion .npmignore

This file was deleted.

152 changes: 0 additions & 152 deletions docs/_default.scss

This file was deleted.

1 change: 0 additions & 1 deletion docs/docs.scss

This file was deleted.

9 changes: 0 additions & 9 deletions docs/index.html

This file was deleted.

25 changes: 0 additions & 25 deletions docs/index.jsx

This file was deleted.

5 changes: 0 additions & 5 deletions docs/snippets/html.md

This file was deleted.

3 changes: 0 additions & 3 deletions docs/snippets/html.txt

This file was deleted.

36 changes: 0 additions & 36 deletions gulpfile.js

This file was deleted.

6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "React component for syntax highlighting",
"main": "index.js",
"scripts": {
"start": "gulp server",
"prepublish": "babel ./src --out-dir ./lib --plugins=transform-class-properties,transform-react-jsx --presets=env",
"prepublish":
"babel ./src --out-dir ./lib --plugins=transform-class-properties,transform-react-jsx --presets=env",
"test": "karma start --single-run",
"dev-test": "karma start"
},
Expand Down Expand Up @@ -41,8 +41,6 @@
"es5-shim": "^4.5.9",
"eslint": "^3.19.0",
"eslint-plugin-react": "^6.10.3",
"gulp": "^3.9.1",
"gulp-ruby-sass": "^2.1.1",
"html-loader": "^0.4.5",
"jasmine-core": "^2.5.2",
"jsx-loader": "^0.13.2",
Expand Down
30 changes: 13 additions & 17 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,36 +1,32 @@
var webpack = require('webpack');
var path = require('path');
var autoprefixer = require('autoprefixer');
var webpack = require('webpack')
var path = require('path')
var autoprefixer = require('autoprefixer')

module.exports = {
devtool: '#inline-source-map',
entry: {
'docs.js': './docs/index'
},
entry: './src/index',
output: {
path: path.join(__dirname, 'build'),
filename: '[name]',
filename: '[name]'
},
module: {
loaders: [
{test: /\.(js|jsx)$/, loaders: ['babel']},
{ test: /\.(js|jsx)$/, loaders: ['babel'] },
// {
// test: /\.scss$/,
// loader: "style!css!postcss!sass?outputStyle=expanded&includePaths[]=" +
// loader: "style!css!postcss!sass?outputStyle=expanded&includePaths[]=" +
// (path.resolve(__dirname, './node_modules')) + "&includePaths[]=" + (path.resolve(__dirname, './bower_components'))
// },
{ test: /\.md$/, loader: 'raw!markdown' },
],
{ test: /\.md$/, loader: 'raw!markdown' }
]
},
postcss: [ autoprefixer({ browsers: ['last 2 version'] }) ],
resolve : {
alias: {

},
postcss: [autoprefixer({ browsers: ['last 2 version'] })],
resolve: {
alias: {},
extensions: ['', '.js', '.jsx']
},
plugins: [
new webpack.HotModuleReplacementPlugin(),
new webpack.IgnorePlugin(/vertx/)
]
};
}

0 comments on commit bcdec94

Please sign in to comment.