Skip to content

Instantly share code, notes, and snippets.

Created January 10, 2020 18:49
What would you like to do?
package.json script section for Gatsby.js
"scripts": {
"build": "gatsby build",
"develop": "gatsby develop",
"format": "prettier --write \"**/*.{js,jsx,json,md}\"",
"start": "npm run develop",
"serve": "gatsby serve",
"test": "npm run type-check && echo \"Write tests! -> \"",
"type-check": "tsc",
"lint": "eslint --ignore-path .gitignore 'src/**/*.{js,jsx,ts,tsx}'",
"lint:fix": "npm run lint --fix"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment