Last active
May 19, 2024 02:00
-
-
Save devhijazi/3e2ad966e5ba8728d58d98a87ddee681 to your computer and use it in GitHub Desktop.
pré configured package.json to next and react projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "projectnamehere", | |
"version": "0.1.0", | |
"private": true, | |
"scripts": { | |
"dev": "next dev", | |
"start": "cross-env NODE_ENV=production next start", | |
"build": "cross-env NODE_ENV=production next build", | |
"prebuild": "cross-env rimraf __nex", | |
"lint": "eslint src --ext js,jsx", | |
"lint:fix": "eslint src --ext js,jsx --fix", | |
"prettier": "prettier --check src/**/*.{js,jsx}", | |
"prettier:fix": "prettier --write src/**/*.{js,jsx}" | |
}, | |
"dependencies": { | |
"next": "9.3.6", | |
"react": "16.13.1", | |
"react-dom": "16.13.1", | |
"styled-components": "^5.1.0" | |
}, | |
"devDependencies": { | |
"@next/bundle-analyzer": "^9.4.0", | |
"@zeit/next-source-maps": "^0.0.3", | |
"babel-plugin-root-import": "^6.5.0", | |
"babel-plugin-styled-components": "^1.10.7", | |
"cross-env": "^7.0.2", | |
"eslint": "^6.8.0", | |
"eslint-config-airbnb": "^18.1.0", | |
"eslint-config-prettier": "^6.10.1", | |
"eslint-import-resolver-babel-plugin-root-import": "^1.1.1", | |
"eslint-plugin-import": "^2.20.2", | |
"eslint-plugin-import-helpers": "^1.0.2", | |
"eslint-plugin-jsx-a11y": "^6.2.3", | |
"eslint-plugin-prettier": "^3.1.3", | |
"eslint-plugin-react": "^7.19.0", | |
"eslint-plugin-react-hooks": "^3.0.0", | |
"prettier": "^2.0.4", | |
"prop-types": "^15.7.2", | |
"imagemin-mozjpeg": "^8.0.0", | |
"imagemin-optipng": "^7.1.0", | |
"next-compose-plugins": "^2.2.0", | |
"next-optimized-images": "^2.6.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment