Added yarn lint to scripts (#9558)

no issue

- added `yarn lint` to scripts in `package.json`, which runs the existing `grunt lint` task
This commit is contained in:
Aileen Nowak 2018-04-09 19:43:16 +08:00 committed by GitHub
parent aecca28257
commit 87501fd41f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,8 @@
"start": "node index",
"dev": "DEBUG=ghost:* grunt dev",
"test": "grunt validate --verbose",
"setup": "yarn install && knex-migrator init && grunt symlink && grunt init || true"
"setup": "yarn install && knex-migrator init && grunt symlink && grunt init || true",
"lint": "grunt lint"
},
"engines": {
"node": "^4.5.0 || ^6.9.0 || ^8.9.0",