Skip to content

Instantly share code, notes, and snippets.

@janhesters
Created September 26, 2020 12:32
Show Gist options
  • Save janhesters/4e3eb3901c0f304f14567a5f484a6cfb to your computer and use it in GitHub Desktop.
Save janhesters/4e3eb3901c0f304f14567a5f484a6cfb to your computer and use it in GitHub Desktop.
Package.json scripts.
"format": "echo 'Linting ...' && npm run -s lint --fix && echo 'Lint complete.'",
"lint": "eslint --ignore-path .gitignore .",
"test": "NODE_ENV=test riteway -r @babel/register 'src/**/*.test.js'",
"watch": "watch 'clear && npm run -s test | tap-nirvana && npm run -s format' src"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment