mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
parent
74df4472bc
commit
bcdab5d196
@ -59,6 +59,9 @@ packageJSON.dependencies = dependencies
|
||||
// Update package meta
|
||||
packageJSON.name = 'nuxt-start'
|
||||
packageJSON.description = 'runtime-only build for nuxt'
|
||||
packageJSON.bin = {
|
||||
'nuxt-start': './bin/nuxt-start'
|
||||
}
|
||||
|
||||
// Update package.json
|
||||
writeFileSync(resolve(startDir, 'package.json'), JSON.stringify(packageJSON, null, 2))
|
||||
|
@ -58,8 +58,7 @@
|
||||
"watch": "npm run build:nuxt -- -w",
|
||||
"make-start": "node ./build/start.js",
|
||||
"precommit": "npm run lint",
|
||||
"prepublish": "npm run build && npm run make-start",
|
||||
"postpublish": "cd start && npm publish",
|
||||
"prepare": "npm run build && npm run make-start",
|
||||
"postinstall": "opencollective postinstall || exit 0"
|
||||
},
|
||||
"engines": {
|
||||
|
@ -40,7 +40,7 @@
|
||||
],
|
||||
"homepage": "https://github.com/nuxt/nuxt.js#readme",
|
||||
"bin": {
|
||||
"nuxt": "./bin/nuxt"
|
||||
"nuxt-start": "./bin/nuxt-start"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=4.3.0 <5.0.0 || >=5.10",
|
||||
|
Loading…
Reference in New Issue
Block a user