Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

v5.1.0

Latest
Compare
Choose a tag to compare
@alansouzati alansouzati released this 28 Jul 18:35
· 13 commits to master since this release
  • Welcome eslint 4.3.0

  • Welcome Webpack 3.4.1

  • Updated dependencies

  • Now it is possible to run grommet check with 3 optional arguments:

    • grommet check -t: only runs test
    • grommet check -j: only runs js lint
    • grommet check -s: only runs sass lint
    • grommet check -j -s: only runs js lint and sass lint
  "scripts": {
    "dev": "cross-env NODE_ENV=development grommet pack",
    "dist": "cross-env NODE_ENV=production grommet pack",
    "lint": "grommet check -j",
    "lint:fix": "grommet check -j -- --fix",
    "sass-lint": "grommet check -s",
    "start": "npm run dev",
    "test": "cross-env NODE_ENV=test grommet check",
    "test:watch": "grommet check -t -- --watch",
    "test:update": "grommet check -t -- --update",
  },

You can notice that all arguments for eslint, sasslint, and jest are now passed through. For example:

grommet check -t -- --watch will run jest in watch mode.