Use NPM to run Grunt

This commit is contained in:
Claudio Sanches 2019-07-08 14:29:17 -03:00
parent 3b974da08f
commit fa91edb0dd
2 changed files with 2 additions and 1 deletions

View File

@ -47,6 +47,6 @@ output 2 "Done"
if ( $updating ); then
# Update POT file
output 3 "Updating POT file..."
grunt makepot
npm run makepot
output 2 "Done"
fi

View File

@ -16,6 +16,7 @@
"test": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha \"tests/e2e-tests\" --require babel-register --recursive",
"test:grep": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha \"tests/e2e-tests\" --require babel-register --grep ",
"test:single": "cross-env NODE_CONFIG_DIR='./tests/e2e-tests/config' BABEL_ENV=commonjs mocha --require babel-register",
"makepot": "grunt makepot",
"git:update-hooks": "rm -r .git/hooks && mkdir -p .git/hooks && node ./node_modules/husky/husky.js install"
},
"devDependencies": {