Skip to content

Instantly share code, notes, and snippets.

@Angelmmiguel
Created April 21, 2023 20:31
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 Angelmmiguel/3d18daa667e1ebf6efc0efb105dd9456 to your computer and use it in GitHub Desktop.
Save Angelmmiguel/3d18daa667e1ebf6efc0efb105dd9456 to your computer and use it in GitHub Desktop.
Ejemplo de package.json que lanza jest
{
"name": "practica-final",
"version": "1.0.0",
"description": "Plantilla para la practica final del curso de React de TrainingIT",
"main": "index.js",
"scripts": {
"start": "concurrently npm:client npm:server",
"client": "webpack serve --mode development --config ./client/webpack.config.js",
"server": "nodemon -w server server/index.js",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/TRAININGIT-REACT-II/Practica-Final.git"
},
"author": "Angel M <hola@angel.kiwi>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/TRAININGIT-REACT-II/Practica-Final/issues"
},
"homepage": "https://github.com/TRAININGIT-REACT-II/Practica-Final#readme",
"dependencies": {
"bcrypt": "^5.1.0",
"fastify": "^4.13.0",
"lowdb": "^1.0.0",
"nanoid": "^3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-redux": "^8.0.5",
"react-router-dom": "^5.3.4",
"redux": "^4.2.1"
},
"devDependencies": {
"@babel/core": "^7.14.0",
"@babel/preset-env": "^7.14.0",
"@babel/preset-react": "^7.13.13",
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
"babel-jest": "^26.6.3",
"babel-loader": "^8.2.2",
"concurrently": "^6.0.2",
"css-loader": "^5.2.4",
"enzyme": "^3.11.0",
"html-webpack-plugin": "^5.3.1",
"jest": "^29.5.0",
"nodemon": "^2.0.7",
"style-loader": "^2.0.0",
"webpack": "^5.36.2",
"webpack-cli": "^4.6.0",
"webpack-dev-server": "^3.11.2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment