Use NPM to run Grunt
This commit is contained in:
parent
3b974da08f
commit
fa91edb0dd
|
@ -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
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue