Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/edx/frontend-build
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Butterworth committed Sep 24, 2019
2 parents cebd00b + c201be7 commit 2772342
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
frontend-build
==============

|Build Status| |Codecov| |license|
|Build Status| |npm_version| |Codecov| |license|

The purpose of this package is to
provide a common sense foundation and setup for frontend projects including:
Expand Down Expand Up @@ -108,3 +108,4 @@ you will need to run it every time you make changes to this project.
:target: https://codecov.io/gh/edx/frontend-base
.. |license| image:: https://img.shields.io/npm/l/@edx/frontend-base.svg
:target: https://github.com/edx/frontend-base/blob/master/LICENSE
.. |npm_version| image:: https://img.shields.io/npm/v/@edx/frontend-component-header.svg
1 change: 0 additions & 1 deletion lib/getProjectConfigFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const { PROJECT_ROOT } = require('./paths');
module.exports = (commandName) => {
const {
globSearchPattern,
suggestedName,
configFile,
} = presets[commandName];
const globOptions = {
Expand Down
5 changes: 0 additions & 5 deletions lib/presets.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,22 @@ const getConfigFilepath = filename =>
module.exports = {
eslint: {
globSearchPattern: '.eslintrc*',
suggestedName: '.eslintrc.js',
configFile: getConfigFilepath('.eslintrc.js'),
},
jest: {
globSearchPattern: 'jest.config.js',
suggestedName: 'jest.config.js',
configFile: getConfigFilepath('jest.config.js'),
},
babel: {
globSearchPattern: 'babel.config.js',
suggestedName: 'babel.config.js',
configFile: getConfigFilepath('babel.config.js'),
},
'webpack-prod': {
globSearchPattern: 'webpack.prod.config.js',
suggestedName: 'webpack.prod.config.js',
configFile: getConfigFilepath('webpack.prod.config.js'),
},
'webpack-dev': {
globSearchPattern: 'webpack.dev.config.js',
suggestedName: 'webpack.dev.config.js',
configFile: getConfigFilepath('webpack.dev.config.js'),
},
};

0 comments on commit 2772342

Please sign in to comment.