Skip to content

Commit bcdec94

Browse files
committedMar 13, 2018
Removed docs
1 parent 9c2712f commit bcdec94

10 files changed

+15
-253
lines changed
 

‎.npmignore

-1
This file was deleted.

‎docs/_default.scss

-152
This file was deleted.

‎docs/docs.scss

-1
This file was deleted.

‎docs/index.html

-9
This file was deleted.

‎docs/index.jsx

-25
This file was deleted.

‎docs/snippets/html.md

-5
This file was deleted.

‎docs/snippets/html.txt

-3
This file was deleted.

‎gulpfile.js

-36
This file was deleted.

‎package.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "React component for syntax highlighting",
55
"main": "index.js",
66
"scripts": {
7-
"start": "gulp server",
8-
"prepublish": "babel ./src --out-dir ./lib --plugins=transform-class-properties,transform-react-jsx --presets=env",
7+
"prepublish":
8+
"babel ./src --out-dir ./lib --plugins=transform-class-properties,transform-react-jsx --presets=env",
99
"test": "karma start --single-run",
1010
"dev-test": "karma start"
1111
},
@@ -41,8 +41,6 @@
4141
"es5-shim": "^4.5.9",
4242
"eslint": "^3.19.0",
4343
"eslint-plugin-react": "^6.10.3",
44-
"gulp": "^3.9.1",
45-
"gulp-ruby-sass": "^2.1.1",
4644
"html-loader": "^0.4.5",
4745
"jasmine-core": "^2.5.2",
4846
"jsx-loader": "^0.13.2",

‎webpack.config.js

+13-17
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,32 @@
1-
var webpack = require('webpack');
2-
var path = require('path');
3-
var autoprefixer = require('autoprefixer');
1+
var webpack = require('webpack')
2+
var path = require('path')
3+
var autoprefixer = require('autoprefixer')
44

55
module.exports = {
66
devtool: '#inline-source-map',
7-
entry: {
8-
'docs.js': './docs/index'
9-
},
7+
entry: './src/index',
108
output: {
119
path: path.join(__dirname, 'build'),
12-
filename: '[name]',
10+
filename: '[name]'
1311
},
1412
module: {
1513
loaders: [
16-
{test: /\.(js|jsx)$/, loaders: ['babel']},
14+
{ test: /\.(js|jsx)$/, loaders: ['babel'] },
1715
// {
1816
// test: /\.scss$/,
19-
// loader: "style!css!postcss!sass?outputStyle=expanded&includePaths[]=" +
17+
// loader: "style!css!postcss!sass?outputStyle=expanded&includePaths[]=" +
2018
// (path.resolve(__dirname, './node_modules')) + "&includePaths[]=" + (path.resolve(__dirname, './bower_components'))
2119
// },
22-
{ test: /\.md$/, loader: 'raw!markdown' },
23-
],
20+
{ test: /\.md$/, loader: 'raw!markdown' }
21+
]
2422
},
25-
postcss: [ autoprefixer({ browsers: ['last 2 version'] }) ],
26-
resolve : {
27-
alias: {
28-
29-
},
23+
postcss: [autoprefixer({ browsers: ['last 2 version'] })],
24+
resolve: {
25+
alias: {},
3026
extensions: ['', '.js', '.jsx']
3127
},
3228
plugins: [
3329
new webpack.HotModuleReplacementPlugin(),
3430
new webpack.IgnorePlugin(/vertx/)
3531
]
36-
};
32+
}

0 commit comments

Comments
 (0)
Please sign in to comment.