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