pawelnvk/react-dropout

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "react-dropout",
  "version": "1.0.0",
  "description": "Easy way of managing navigation in react based apps.",
  "main": "dist/Dropout.js",
  "repository": "git@github.com:pawelnvk/react-dropout.git",
  "author": "Paweł Nowak<pawelnvk@gmail.com>",
  "license": "MIT",
  "type": "module",
  "files": [
    "dist",
    "src"
  ],
  "keywords": [
    "responsive",
    "respo",
    "navigation",
    "nav",
    "smart",
    "greedy",
    "react"
  ],
  "homepage": "https://github.com/pawelnvk/react-dropout#readme",
  "bugs": {
    "url": "https://github.com/pawelnvk/react-dropout/issues"
  },
  "devDependencies": {
    "@babel/core": "^7.19.6",
    "@babel/eslint-parser": "^7.19.1",
    "@babel/plugin-transform-runtime": "^7.19.6",
    "@babel/preset-env": "^7.19.4",
    "@babel/preset-react": "^7.18.6",
    "@babel/standalone": "^7.20.0",
    "@playwright/test": "^1.27.1",
    "@rollup/plugin-babel": "^6.0.2",
    "@rollup/plugin-commonjs": "^23.0.2",
    "@rollup/plugin-eslint": "^9.0.1",
    "@rollup/plugin-node-resolve": "^15.0.1",
    "eslint": "^8.26.0",
    "eslint-config-airbnb": "^19.0.4",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-import": "^2.26.0",
    "eslint-plugin-jsx-a11y": "^6.6.1",
    "eslint-plugin-prettier": "^4.2.1",
    "eslint-plugin-react": "^7.31.10",
    "eslint-plugin-react-hooks": "^4.6.0",
    "husky": "^1.1.2",
    "jest": "^29.2.2",
    "jest-environment-jsdom": "^29.2.2",
    "lint-staged": "^13.0.3",
    "prettier": "^2.7.1",
    "prop-types": "^15.8.1",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "rollup": "^3.2.3",
    "rollup-plugin-livereload": "^2.0.5",
    "rollup-plugin-serve": "^2.0.1"
  },
  "peerDependencies": {
    "react": "17 <"
  },
  "scripts": {
    "build": "ENVIRONMENT=production rollup -c",
    "clean": "rimraf dist",
    "lint": "yarn eslint src",
    "prepublishOnly": "yarn clean && yarn lint && yarn test:unit:ci && yarn test:e2e && yarn build",
    "start": "ENVIRONMENT=development rollup -c --watch",
    "start:test": "ENVIRONMENT=testing rollup -c --watch",
    "test:unit": "jest --env=jsdom --watch",
    "test:unit:ci": "jest --env=jsdom --coverage",
    "test:e2e": "playwright test"
  },
  "lint-staged": {
    "*.js": [
      "eslint --fix",
      "git add"
    ]
  },
  "jest": {
    "collectCoverageFrom": [
      "src/**/*.js"
    ],
    "testMatch": [
      "**/?(*.)+(test).[jt]s?(x)"
    ]
  }
}