mirror of
https://github.com/strapi/strapi.git
synced 2025-11-16 18:19:34 +00:00
add cross env (#9845)
This commit is contained in:
parent
3a298d3350
commit
b7bd30b918
@ -45,11 +45,12 @@ async function initPackageJson(rootPath, projectName) {
|
|||||||
scripts: {
|
scripts: {
|
||||||
'develop:backend': `${packageManager} backend develop`,
|
'develop:backend': `${packageManager} backend develop`,
|
||||||
'develop:frontend': `wait-on http://localhost:1337/admin && ${packageManager} frontend develop`,
|
'develop:frontend': `wait-on http://localhost:1337/admin && ${packageManager} frontend develop`,
|
||||||
develop: 'FORCE_COLOR=1 npm-run-all -l -p develop:*',
|
develop: 'cross-env FORCE_COLOR=1 npm-run-all -l -p develop:*',
|
||||||
},
|
},
|
||||||
devDependencies: {
|
devDependencies: {
|
||||||
'npm-run-all': '4.1.5',
|
'npm-run-all': '4.1.5',
|
||||||
'wait-on': '5.2.1',
|
'wait-on': '5.2.1',
|
||||||
|
'cross-env': '7.0.3',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user