Add harmony flag to start applications using npm

This commit is contained in:
Pierre Burgy 2016-12-02 12:59:27 +01:00
parent 7deed37245
commit 9939765967

View File

@ -36,7 +36,7 @@ module.exports = scope => {
},
'main': './server.js',
'scripts': {
'start': 'node server.js',
'start': 'node --harmony-async-await server.js',
'strapi': 'node_modules/strapi/bin/strapi.js' // Allow to use `npm run strapi` CLI
},
'author': {