mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-17 11:15:14 +00:00
e7cc2757c3
Co-authored-by: Alexander Lichter <manniL@gmx.net>
24 lines
406 B
JavaScript
24 lines
406 B
JavaScript
export default {
|
|
build: true,
|
|
hooks: {
|
|
async 'build:done' (pkg) {
|
|
const mono = pkg.load('../..')
|
|
const nuxt = pkg.load('../nuxt')
|
|
|
|
await pkg.copyFilesFrom(mono, [
|
|
'LICENSE'
|
|
])
|
|
|
|
pkg.copyFieldsFrom(nuxt, [
|
|
'license',
|
|
'repository',
|
|
'contributors',
|
|
'keywords',
|
|
'engines'
|
|
])
|
|
|
|
await pkg.writePackage()
|
|
}
|
|
}
|
|
}
|