Skip to content

Commit

Permalink
Add some more useful npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Feb 20, 2019
1 parent 8e89e6f commit 4c400e4
Show file tree
Hide file tree
Showing 2 changed files with 150 additions and 2 deletions.
141 changes: 141 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,22 @@
"grunt-contrib-copy": "1.0.0",
"grunt-shell": "2.1.0",
"grunt-wp-deploy": "1.2.1",
"npm-run-all": "^4.1.5",
"timeago.js": "3.0.2",
"webpack": "4.29.5",
"webpack-cli": "3.2.3"
},
"main": "blocks/index.js",
"scripts": {
"build": "grunt build && grunt create-build-zip",
"build": "npm-run-all build:*",
"build:prepare": "grunt build",
"build:zip": "grunt create-build-zip",
"deploy": "grunt deploy",
"dev": "cross-env BABEL_ENV=default webpack --watch",
"lint": "eslint ."
"lint": "npm-run-all --parallel lint:*",
"lint:js": "eslint .",
"lint:php": "vendor/bin/phpcs",
"test": "npm-run-all --parallel test:*",
"test:php": "phpunit"
}
}

0 comments on commit 4c400e4

Please sign in to comment.