edx-pattern-library
Advanced tools
Comparing version 0.16.1 to 0.16.2
{ | ||
"name": "edx-pattern-library", | ||
"version": "0.16.1", | ||
"version": "0.16.2", | ||
"author": "edX Pattern Library Team <pattern-library@edx.org>", | ||
@@ -56,2 +56,3 @@ "license": "Apache-2.0", | ||
"gulp-rename": "*", | ||
"gulp-shell": "^0.5.2", | ||
"gulp-uglify": "*", | ||
@@ -63,2 +64,3 @@ "gulp-util": "*", | ||
"node-sass": "~3.7.0", | ||
"pretty-hrtime": "^1.0.2", | ||
"require-dir": "*", | ||
@@ -78,4 +80,4 @@ "run-sequence": "*", | ||
"development": "gulp build-development", | ||
"lint": "gulp lint" | ||
"lint": "eslint ." | ||
} | ||
} |
@@ -1,39 +0,51 @@ | ||
(function() { | ||
'use strict'; | ||
/* eslint "strict": ["error", "global"] */ | ||
var path = require('path'), | ||
Webpack = require('webpack'), | ||
outputRoot = process.env.OUTPUT_ROOT !== undefined ? process.env.OUTPUT_ROOT : 'pldoc/public/', | ||
siteRoot = process.env.SITE_ROOT !== undefined ? process.env.SITE_ROOT : '/', | ||
publicJavaScriptRoot = 'public/'; | ||
'use strict'; | ||
module.exports = { | ||
output: { | ||
path: path.resolve(__dirname, outputRoot), | ||
publicPath: siteRoot + publicJavaScriptRoot | ||
}, | ||
module: { | ||
loaders: [ | ||
{ test: /.woff([\?]?.*)$/, loader: "url-loader?limit=10000&mimetype=application/font-woff&name=[path][name].[ext]" }, | ||
{ test: /.ttf([\?]?.*)$/, loader: "url-loader?limit=10000&mimetype=application/octet-stream&name=[path][name].[ext]" }, | ||
{ test: /.eot([\?]?.*)$/, loader: "file-loader?name=[path][name].[ext]" }, | ||
{ test: /.svg([\?]?.*)$/, loader: "url-loader?limit=10000&mimetype=image/svg+xml&name=[path][name].[ext]" } | ||
] | ||
}, | ||
modulesDirectories: ['node_modules'], | ||
resolve: { | ||
alias: { | ||
'edx-pattern-library': path.resolve(__dirname, 'pattern-library'), | ||
'edx-ui-toolkit': path.resolve(__dirname, 'node_modules/edx-ui-toolkit/src') | ||
var path = require('path'), | ||
Webpack = require('webpack'), | ||
outputRoot = process.env.OUTPUT_ROOT !== undefined ? process.env.OUTPUT_ROOT : 'pldoc/public/', | ||
siteRoot = process.env.SITE_ROOT !== undefined ? process.env.SITE_ROOT : '/', | ||
publicJavaScriptRoot = 'public/'; | ||
module.exports = { | ||
output: { | ||
path: path.resolve(__dirname, outputRoot), | ||
publicPath: siteRoot + publicJavaScriptRoot | ||
}, | ||
module: { | ||
loaders: [ | ||
{ | ||
test: /.woff([\?]?.*)$/, | ||
loader: 'url-loader?limit=10000&mimetype=application/font-woff&name=[path][name].[ext]' | ||
}, | ||
{ | ||
test: /.ttf([\?]?.*)$/, | ||
loader: 'url-loader?limit=10000&mimetype=application/octet-stream&name=[path][name].[ext]' | ||
}, | ||
{ | ||
test: /.eot([\?]?.*)$/, | ||
loader: 'file-loader?name=[path][name].[ext]' | ||
}, | ||
{ | ||
test: /.svg([\?]?.*)$/, | ||
loader: 'url-loader?limit=10000&mimetype=image/svg+xml&name=[path][name].[ext]' | ||
} | ||
}, | ||
plugins: [ | ||
new Webpack.ProvidePlugin({ | ||
$: 'jquery' | ||
}), | ||
new Webpack.IgnorePlugin(/^(config.js)$/) | ||
], | ||
debug: true, | ||
devtool: 'inline-source-map' | ||
}; | ||
})(); | ||
] | ||
}, | ||
modulesDirectories: ['node_modules'], | ||
resolve: { | ||
alias: { | ||
'edx-pattern-library': path.resolve(__dirname, 'pattern-library'), | ||
'edx-ui-toolkit': path.resolve(__dirname, 'node_modules/edx-ui-toolkit/src') | ||
} | ||
}, | ||
plugins: [ | ||
new Webpack.ProvidePlugin({ | ||
$: 'jquery' | ||
}), | ||
new Webpack.IgnorePlugin(/^(config.js)$/) | ||
], | ||
debug: true, | ||
devtool: 'inline-source-map' | ||
}; |
@@ -1,29 +0,29 @@ | ||
(function() { | ||
'use strict'; | ||
/* eslint "strict": ["error", "global"] */ | ||
var path = require('path'), | ||
ExtractTextPlugin = require('extract-text-webpack-plugin'); | ||
'use strict'; | ||
module.exports = { | ||
modulesDirectories: ['node_modules'], | ||
module: { | ||
loaders: [ | ||
{ | ||
test: /\.scss$/, | ||
loader: ExtractTextPlugin.extract('style', 'css!sass') | ||
} | ||
] | ||
}, | ||
plugins: [ | ||
new ExtractTextPlugin('[name]') | ||
], | ||
sassLoader: { | ||
includePaths: [ | ||
path.resolve(__dirname, './node_modules'), | ||
path.resolve(__dirname, './node_modules/edx-pattern-library/node_modules') | ||
] | ||
}, | ||
debug: true, | ||
devtool: 'inline-source-map' | ||
}; | ||
})(); | ||
var path = require('path'), | ||
ExtractTextPlugin = require('extract-text-webpack-plugin'); | ||
module.exports = { | ||
modulesDirectories: ['node_modules'], | ||
module: { | ||
loaders: [ | ||
{ | ||
test: /\.scss$/, | ||
loader: ExtractTextPlugin.extract('style', 'css!sass') | ||
} | ||
] | ||
}, | ||
plugins: [ | ||
new ExtractTextPlugin('[name]') | ||
], | ||
sassLoader: { | ||
includePaths: [ | ||
path.resolve(__dirname, './node_modules'), | ||
path.resolve(__dirname, './node_modules/edx-pattern-library/node_modules') | ||
] | ||
}, | ||
debug: true, | ||
devtool: 'inline-source-map' | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
171
1182737
38
68