add cross env (#9845)

This commit is contained in:
markkaylor 2021-03-26 15:41:13 +01:00 committed by GitHub
parent 3a298d3350
commit b7bd30b918
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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',
},
},
{