This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
-
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 testgrommet check -j
: only runs js lintgrommet check -s
: only runs sass lintgrommet 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.