`yarn link` (current cli)
`yarn link mcgee-pages` (new project)
yarn add mcgee-pages --dev
yarn mcgee-pages build (run npm scripts build command)
pages.config.js
module.exports = {
build:{
src:'src',
dist:'release',
temp:'.tmp',
public:'public',
paths:{
styles:'assets/styles/*.scss',
scripts:'assets/scripts/*.js',
pages:'*.html',
images:'assets/images/**',
fonts:'assets/fonts/**'
}
},
data:{
...
}
}
yarn bulid
yarn develop
yarn clean
...
This configuration file eliminates the need to add gulpfile.js to your project