{
    "name": "feedback-component-test",
    "description": "Feedback component for React apps",
    "version": "0.1.3-beta.4",
    "license": "GPL-3.0",
    "author": "EyeSeeTea team",
    "repository": {
        "type": "git",
        "url": "git+https://github.com/eyeseetea/feedback-component.git"
    },
    "peerDependencies": {
        "@material-ui/core": "4.12.4",
        "@material-ui/icons": "4",
        "@types/react": "17",
        "@types/react-dom": "17",
        "react": "17",
        "react-dom": "17"
    },
    "devDependencies": {
        "@babel/cli": "7.17.6",
        "@babel/core": "7.17.9",
        "@babel/plugin-proposal-class-properties": "7.16.7",
        "@babel/plugin-proposal-nullish-coalescing-operator": "7.16.7",
        "@babel/plugin-proposal-object-rest-spread": "7.17.3",
        "@babel/plugin-proposal-optional-chaining": "7.16.7",
        "@babel/preset-env": "7.16.11",
        "@babel/preset-react": "7.16.7",
        "@babel/preset-typescript": "7.16.7",
        "@dhis2/d2-i18n-extract": "1.0.8",
        "@dhis2/d2-i18n-generate": "1.2.0",
        "@material-ui/core": "4.12.4",
        "@material-ui/icons": "4.11.3",
        "@types/axios-mock-adapter": "1.10.0",
        "@types/classnames": "2.3.1",
        "@types/enzyme": "3.10.12",
        "@types/jest": "26.0.24",
        "@types/lodash": "4.14.181",
        "@types/material-ui": "0.21.12",
        "@types/md5": "2.3.2",
        "@types/node": "16.4.10",
        "@types/react": "17.0.43",
        "@types/react-dom": "17.0.14",
        "@types/react-linkify": "1.0.1",
        "@types/react-router-dom": "5.3.3",
        "@types/styled-components": "5.1.24",
        "@typescript-eslint/eslint-plugin": "5.20.0",
        "@typescript-eslint/parser": "5.20.0",
        "babel-core": "7.0.0-bridge.0",
        "babel-eslint": "10",
        "babel-jest": "27.5.1",
        "chokidar": "3.5.3",
        "concurrently": "7.1.0",
        "enzyme": "3.11.0",
        "enzyme-adapter-react-16": "1.15.6",
        "enzyme-to-json": "3.6.2",
        "eslint": "8.13.0",
        "eslint-config-prettier": "8.5.0",
        "eslint-config-react-app": "7.0.1",
        "eslint-plugin-cypress": "2.12.1",
        "eslint-plugin-flowtype": "8.0.3",
        "eslint-plugin-import": "2.26.0",
        "eslint-plugin-jsx-a11y": "6.5.1",
        "eslint-plugin-prettier": "4.0.0",
        "eslint-plugin-react": "7.29.4",
        "eslint-plugin-react-hooks": "4.4.0",
        "jest": "27.5.1",
        "loglevel": "1.8.0",
        "prettier": "2.6.2",
        "prop-types": "15.8.1",
        "ts-jest": "27.1.4",
        "typescript": "4.6.3"
    },
    "dependencies": {
        "@dhis2/d2-i18n": "1.1.0",
        "axios": "^0.27.2",
        "fluture": "^14.0.0"
    },
    "scripts": {
        "build-base": "mkdir -p build && cp README.md LICENSE build/ && yarn localize && yarn build-locales && cp package.json build/ && yarn build-babel && yarn build-tsc",
        "build-tsc": "tsc --outDir build",
        "build-babel": "babel src/ --out-dir build --extensions \".js,.jsx,.ts,.tsx\"",
        "build-locales": "mkdir -p build/locales && cp -a src/locales/* build/locales",
        "build": "yarn code-quality && yarn build-base",
        "build-watch": "yarn build-base && concurrently 'yarn build-babel --watch' 'yarn build-tsc --watch'",
        "code-quality": "yarn lint && yarn prettify && echo disabled yarn test",
        "extract-pot": "d2-i18n-extract -p src/ -o i18n/",
        "lint": "eslint src src/ --ext .js,.jsx,.ts,.tsx",
        "localize": "yarn extract-pot && yarn update-po && yarn localize-update",
        "localize-update": "d2-i18n-generate -l -n feedback-component -p ./i18n/ -o ./src/locales/",
        "update-po": "for pofile in i18n/*.po; do msgmerge --backup=off -U $pofile i18n/en.pot; done",
        "prettify": "prettier src/*.ts src/**/*.{js,json,ts,tsx} --write",
        "test": "jest",
        "prerelease": "yarn build",
        "release": "bash scripts/publish.sh"
    }
}
