Skip to content
Snippets Groups Projects
package.json 1.81 KiB
Newer Older
Fabien Amarger's avatar
Fabien Amarger committed
{
  "homepage": ".",
  "name": "{{ cookiecutter.project_slug }}",
  "description": "{{ cookiecutter.description }} ",
  "license": "{{ cookiecutter.license }}",
  "author": "{{ cookiecutter.author }}",
  "dependencies": {
    "@cubicweb/client": "^1.5.0",
    "dotenv": "^16.0.1",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-icons": "^4.4.0",
    "react-router-dom": "^6.3.0"
  },
  "devDependencies": {
    "@types/node": "^18.7.6",
    "@types/react": "^18.0.17",
    "@types/react-dom": "^18.0.6",
    "@types/react-router-dom": "^5.3.3",
    "@typescript-eslint/eslint-plugin": "^5.33.1",
    "@typescript-eslint/parser": "^5.33.1",
    "copy-webpack-plugin": "^11.0.0",
    "css-loader": "^6.7.1",
    "eslint": "^8.22.0",
    "eslint-config-react-app": "^7.0.1",
Fabien Amarger's avatar
Fabien Amarger committed
    "eslint-plugin-import": "^2.26.0",
    "eslint-plugin-jsx-a11y": "^6.6.1",
    "eslint-plugin-react": "^7.30.1",
    "eslint-plugin-react-hooks": "^4.6.0",
    "eslint-webpack-plugin": "^3.2.0",
    "file-loader": "^6.2.0",
    "html-webpack-plugin": "^5.5.0",
    "mini-css-extract-plugin": "^2.6.1",
    "react-dev-utils": "^12.0.1",
    "style-loader": "^3.3.1",
    "ts-loader": "^9.3.1",
    "typescript": "^4.7.4",
    "webpack": "^5.74.0",
    "webpack-cli": "^4.10.0",
    "webpack-dev-server": "^4.10.0",
    "webpack-manifest-plugin": "^5.0.0"
  },
  "scripts": {
    "start": "webpack serve --config webpack/webpack.config.js --mode development",
    "build": "webpack --config webpack/webpack.config.js --mode production",
    "lint": "eslint ."
Fabien Amarger's avatar
Fabien Amarger committed
  },
  "eslintConfig": {
    "extends": [
      "react-app"
    ]
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}