mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 19:04:38 +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: {
|
||||
'develop:backend': `${packageManager} backend 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: {
|
||||
'npm-run-all': '4.1.5',
|
||||
'wait-on': '5.2.1',
|
||||
'cross-env': '7.0.3',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user