You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
316 B
15 lines
316 B
module.exports = (usingDefaults) => {
|
|
const scripts = {
|
|
build: 'webpack',
|
|
};
|
|
if (usingDefaults) {
|
|
scripts.start = 'webpack-dev-server';
|
|
}
|
|
|
|
return {
|
|
version: '1.0.0',
|
|
description: 'My webpack project',
|
|
name: 'my-webpack-project',
|
|
scripts,
|
|
};
|
|
};
|
|
|