Skip to content

Instantly share code, notes, and snippets.

@erluxman
Created July 14, 2020 11:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erluxman/f72d20a25cd1b2295daf1d8a9c3a2ac0 to your computer and use it in GitHub Desktop.
Save erluxman/f72d20a25cd1b2295daf1d8a9c3a2ac0 to your computer and use it in GitHub Desktop.
Package json for SO question
{
"name": "erluxman",
"private": true,
"engines": {
"node": "14.x"
},
"description": "Erluxman",
"version": "1.0.0",
"author": "Laxman Bhattarai <erluxman@gmail.com>",
"bugs": {
"url": "https://github.com/erluxman/erluxman.github.io/issues"
},
"dependencies": {
"gatsby": "^2.0.76",
"gatsby-plugin-catch-links": "^2.0.9",
"gatsby-plugin-ebook": "^1.0.2",
"gatsby-plugin-feed": "^2.0.8",
"gatsby-plugin-google-analytics": "^2.0.5",
"gatsby-plugin-i18n": "^0.4.2",
"gatsby-plugin-manifest": "^2.0.5",
"gatsby-plugin-offline": "^2.0.5",
"gatsby-plugin-react-helmet": "^3.0.0",
"gatsby-plugin-sharp": "^2.0.16",
"gatsby-plugin-typography": "^2.2.0",
"gatsby-remark-autolink-headers": "2.0.12",
"gatsby-remark-copy-linked-files": "^2.0.5",
"gatsby-remark-external-links": "^0.0.4",
"gatsby-remark-images": "^2.0.6",
"gatsby-remark-prismjs": "^3.0.0",
"gatsby-remark-responsive-iframe": "^2.0.5",
"gatsby-remark-smartypants": "^2.0.5",
"gatsby-source-filesystem": "^2.0.12",
"gatsby-transformer-remark": "^2.1.17",
"gatsby-transformer-sharp": "^2.1.9",
"husky": "^1.3.1",
"lint-staged": "^8.1.0",
"lodash": "^4.17.11",
"prismjs": "^1.15.0",
"react": "^16.8.2",
"react-dom": "^16.8.2",
"react-helmet": "^5.2.0",
"react-typography": "^0.16.13",
"typography": "^0.16.17",
"typography-theme-wordpress-2016": "^0.15.10"
},
"devDependencies": {
"eslint": "^4.19.1",
"eslint-plugin-react": "^7.11.1",
"gh-pages": "^2.2.0",
"glob": "^7.1.3",
"prettier": "^1.14.2"
},
"homepage": "https://erluxman.com",
"license": "MIT",
"scripts": {
"dev": "gatsby develop",
"lint": "./node_modules/.bin/eslint --ext .js,.jsx --ignore-pattern public .",
"format": "prettier --write '{gatsby-*.js,src/**/*.{js,jsx,json,css}}'",
"develop": "gatsby develop",
"start": "npm run develop",
"build": "rm -rf public && rm -rf .cache && gatsby build",
"now-build": "gatsby build",
"deploy": "gatsby build --prefix-paths && gh-pages -b master -d public",
"dry": "yarn build && cp now.json public/ && cd public && now",
"js-to-jsx": "node src/utils/js-to-jsx"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{gatsby-*.js,src/**/*.{js,jsx,json,css}}": [
"yarn format",
"git add"
],
"src/pages/**/*.md": [
"yarn run js-to-jsx",
"git add"
]
},
"resolutions": {
"**/sharp": "^0.23"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment