{
    "name": "@eyeseetea/d2-ui-components",
    "description": "Components for DHIS2 apps",
    "license": "GPL-3.0",
    "author": "EyeSeeTea team",
    "repository": {
        "type": "git",
        "url": "git+https://github.com/eyeseetea/d2-ui-components.git"
    },
    "version": "2.12.0",
    "main": "index.js",
    "types": "index.d.ts",
    "peerDependencies": {
        "@material-ui/core": "4",
        "@material-ui/icons": "4",
        "d2": "31",
        "react": ">=16",
        "react-dom": ">=16"
    },
    "devDependencies": {
        "@babel/cli": "7.12.10",
        "@babel/core": "7.12.10",
        "@babel/plugin-proposal-class-properties": "7.12.1",
        "@babel/plugin-proposal-nullish-coalescing-operator": "7.12.1",
        "@babel/plugin-proposal-object-rest-spread": "7.12.1",
        "@babel/plugin-proposal-optional-chaining": "7.12.7",
        "@babel/preset-env": "7.12.11",
        "@babel/preset-react": "7.12.10",
        "@babel/preset-typescript": "7.12.7",
        "@dhis2/d2-i18n-extract": "1.0.8",
        "@dhis2/d2-i18n-generate": "1.2.0",
        "@material-ui/core": "4.12.3",
        "@material-ui/icons": "4.9.1",
        "@material-ui/styles": "4.11.4",
        "@types/classnames": "2.2.11",
        "@types/enzyme": "3.10.8",
        "@types/jest": "26.0.20",
        "@types/lodash": "4.14.168",
        "@types/material-ui": "0.21.8",
        "@types/react": "17.0.43",
        "@types/react-dom": "17.0.14",
        "@types/react-linkify": "1.0.0",
        "@typescript-eslint/eslint-plugin": "4.14.0",
        "@typescript-eslint/parser": "4.14.0",
        "babel-core": "7.0.0-bridge.0",
        "babel-eslint": "10",
        "babel-jest": "26.6.3",
        "chokidar": "3.3.0",
        "concurrently": "5.3.0",
        "enzyme": "3.8.0",
        "enzyme-adapter-react-16": "1.9.1",
        "enzyme-to-json": "3.3.5",
        "eslint": "7.18.0",
        "eslint-config-prettier": "7.2.0",
        "eslint-config-react-app": "6.0.0",
        "eslint-plugin-cypress": "2.11.2",
        "eslint-plugin-flowtype": "5.2.0",
        "eslint-plugin-import": "2.22.1",
        "eslint-plugin-jsx-a11y": "6.4.1",
        "eslint-plugin-prettier": "3.3.1",
        "eslint-plugin-react": "7.22.0",
        "eslint-plugin-react-hooks": "4.2.0",
        "jest": "24",
        "loglevel": "1.6.1",
        "prettier": "2.2.1",
        "prop-types": "15.6.0",
        "ts-jest": "24.1.0",
        "typescript": "4.0.2"
    },
    "dependencies": {
        "@date-io/core": "1.3.6",
        "@date-io/moment": "1.0.2",
        "@dhis2/d2-i18n": "1.1.3",
        "@dhis2/d2-ui-core": "7.4.3",
        "@dhis2/ui": "6.15.2",
        "@material-ui/pickers": "3.2.10",
        "classnames": "2.2.6",
        "downshift": "5.4.2",
        "lodash": "4.17.21",
        "moment": "2.29.4",
        "nano-memoize": "1.2.1",
        "react-linkify": "1.0.0-alpha",
        "throttle-debounce": "2.1.0"
    },
    "scripts": {
        "build-base": "mkdir -p build && cp README.md LICENSE build/ && yarn build-css && 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-css": "cd src && rsync -a --relative **/*.css ../build/",
        "build": "yarn localize && 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 d2-ui-components -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,jsx,json,css,ts,tsx} --write",
        "test": "jest",
        "prerelease": "yarn build",
        "release": "bash scripts/publish.sh"
    }
}
