Skip to main content

Package.json sample

[[package.json sample]]

{
"name": "my-app",

"homepage": "https://lejencodes.github.io/my-app",

"version": "0.1.0",

"private": true,

"dependencies": {
"@testing-library/jest-dom": "^5.16.5",

"@testing-library/react": "^13.4.0",

"@testing-library/user-event": "^13.5.0",

"react": "^18.2.0",

"react-dom": "^18.2.0",

"react-scripts": "5.0.1",

"web-vitals": "^2.1.4"
},

"scripts": {
"predeploy": "npm run build",

"deploy": "gh-pages -d build -r [email protected]:lejencodes/my-app.git -u 'builder <[email protected]>'",

"start": "react-scripts start",

"build": "react-scripts build",

"test": "react-scripts test",

"eject": "react-scripts eject"
},

"eslintConfig": {
"extends": ["react-app", "react-app/jest"]
},

"browserslist": {
"production": [">0.2%", "not dead", "not op_mini all"],

"development": [
"last 1 chrome version",

"last 1 firefox version",

"last 1 safari version"
]
},

"devDependencies": {
"gh-pages": "^4.0.0"
}
}