Skip to content

Instantly share code, notes, and snippets.

@JoeM-RP

JoeM-RP/package.json Secret

Created Jan 10, 2020
Embed
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! -> https://gatsby.dev/unit-testing \"",
"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
You can’t perform that action at this time.