bufferapp/ui

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@bufferapp/ui-template",
  "version": "8.5.0-beta.a864afad",
  "private": true,
  "description": "Shared UI components for buffer apps",
  "keywords": [
    "components",
    "react",
    "react-component",
    "UI"
  ],
  "homepage": "https://bufferapp.github.io/ui",
  "bugs": {
    "url": "https://github.com/bufferapp/ui/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/bufferapp/ui.git"
  },
  "license": "MIT",
  "author": {
    "name": "Ivana Zuber",
    "email": "ivanas.zuber@gmail.com",
    "url": "https://github.com/ivanaszuber"
  },
  "main": "./dist/index.js",
  "types": "./types/index.d.ts",
  "files": [
    "dist",
    "types"
  ],
  "scripts": {
    "prebuild:lib": "rimraf dist && yarn build:typescript",
    "prebuild:typescript": "node -p \"'export const LIB_VERSION = ' + JSON.stringify(require('./package.json').version)\" > src/documentation/version.ts && eslint --fix src/documentation/version.ts",
    "build:typescript": "rm -Rf built && tsc -p ./tsconfig.json && cp -Rf ./src/documentation/markdown ./built/documentation && cp -Rf ./src/index.css ./built",
    "build:lib": "concurrently 'yarn run build:commonjs' 'yarn run build:copy-files'",
    "build:commonjs": "cross-env NODE_ENV=production babel ./built/components --out-dir ./dist --ignore index.js",
    "build:copy-files": "node scripts/copyBuildFiles.js",
    "deploy:docs": "gh-pages -d build",
    "predeploy:docs": "yarn gen:docs && yarn build:typescript && yarn build:docs",
    "build:docs": "node scripts/build.js",
    "lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
    "pkg:clean": "rushx pkg:sort && rushx pkg:depcheck",
    "pkg:depcheck": "depcheck",
    "pkg:sort": "sort-package-json",
    "publish": "./scripts/publish.sh",
    "publish:beta": "./scripts/publishBeta.sh",
    "prestart": "yarn gen:docs && yarn build:typescript",
    "start": "concurrently 'yarn run start:docs' 'yarn run gen:docs-watch'",
    "start:docs": "node scripts/start.js",
    "gen:docs": "node scripts/generateComponentData.js",
    "gen:docs-watch": "yarn gen:docs -- --watch",
    "test": "jest",
    "test-update": "jest --no-coverage -u",
    "test-watch": "jest --no-coverage --watch",
    "component:new": "node ./scripts/newComponent.js",
    "gen:icons": "node ./scripts/generateIconComponents.js && eslint src/components/Icon/Icons/** --fix"
  },
  "babel": {
    "env": {
      "production": {
        "plugins": [
          [
            "babel-plugin-styled-components",
            {
              "pure": true,
              "namespace": "bufferapp-ui",
              "minify": true
            }
          ]
        ]
      }
    },
    "plugins": [
      "@babel/plugin-transform-modules-commonjs",
      "@babel/plugin-proposal-class-properties",
      "@babel/plugin-proposal-export-default-from"
    ],
    "presets": [
      "@babel/preset-env",
      "@babel/react"
    ]
  },
  "browserslist": [
    ">0.2%",
    "not dead",
    "not ie <= 11",
    "not op_mini all"
  ],
  "dependencies": {
    "@reach/tooltip": "0.13.0",
    "immutability-helper": "^2.9.0",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-is": "^17.0.2",
    "styled-components": "^5.3.0"
  },
  "devDependencies": {
    "@babel/cli": "7.1.5",
    "@babel/core": "7.1.6",
    "@babel/plugin-proposal-class-properties": "^7.12.13",
    "@babel/plugin-proposal-export-default-from": "7.2.0",
    "@babel/plugin-transform-modules-commonjs": "7.1.0",
    "@babel/preset-env": "^7.14.5",
    "@babel/preset-react": "^7.16.7",
    "@balajmarius/svg2jsx": "^2.0.0",
    "@types/jest": "27.5.2",
    "@types/node": "20.2.5",
    "@types/prop-types": "15.7.5",
    "@types/react": "^17.0.5",
    "@types/react-dom": "^17.0.3",
    "@types/react-router-dom": "^5.3.3",
    "@types/styled-components": "^5.1.25",
    "@types/webpack-env": "1.18.0",
    "@typescript-eslint/eslint-plugin": "^5.26.0",
    "@typescript-eslint/parser": "^5.26.0",
    "@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
    "async": "^3.2.2",
    "babel-core": "7.0.0-bridge.0",
    "babel-jest": "^25.1.0",
    "babel-loader": "^8.2.2",
    "babel-plugin-module-resolver": "3.1.1",
    "babel-plugin-named-asset-import": "0.2.3",
    "babel-plugin-styled-components": "^1.12.0",
    "babel-preset-react-app": "6.1.0",
    "bfj": "6.1.1",
    "case-sensitive-paths-webpack-plugin": "2.1.2",
    "chalk": "~4.1.0",
    "chokidar": "3.5.3",
    "concurrently": "~7.4.0",
    "cross-env": "5.2.0",
    "css-loader": "^5.2.4",
    "depcheck": "1.4.3",
    "dotenv": "10.0.0",
    "dotenv-expand": "4.2.0",
    "enzyme": "3.11.0",
    "eslint": "8.42.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-config-standard": "17.0.0",
    "eslint-loader": "2.1.1",
    "eslint-plugin-import": "^2.26.0",
    "eslint-plugin-jest": "27.2.1",
    "eslint-plugin-jsx-a11y": "~6.7.1",
    "eslint-plugin-n": "15.1.0",
    "eslint-plugin-node": "11.1.0",
    "eslint-plugin-promise": "6.0.0",
    "eslint-plugin-react": "^7.28.0",
    "eslint-plugin-react-hooks": "~4.6.0",
    "figma-api": "1.3.1",
    "file-loader": "2.0.0",
    "fork-ts-checker-webpack-plugin-alt": "0.4.14",
    "fs-extra": "7.0.0",
    "gh-pages": "2.0.1",
    "highlight.js": "10.4.1",
    "html-webpack-plugin": "4.0.0-alpha.2",
    "identity-obj-proxy": "^3.0.0",
    "inquirer": "7.3.3",
    "jest": "~27.4.2",
    "jest-auto-snapshots": "=3.0.1",
    "jest-environment-jsdom": "^27.5.1",
    "jest-styled-components": "^7.0.5",
    "markdown-to-jsx": "^6.11.4",
    "mini-css-extract-plugin": "^1.3.7",
    "node-fetch": "2.6.0",
    "optimize-css-assets-webpack-plugin": "5.0.1",
    "ora": "3.0.0",
    "pnp-webpack-plugin": "1.1.0",
    "postcss-flexbugs-fixes": "4.1.0",
    "postcss-loader": "3.0.0",
    "postcss-preset-env": "6.0.6",
    "postcss-safe-parser": "4.0.1",
    "prettier": "2.8.8",
    "prop-types": ">= 15.7.2",
    "raw-loader": "0.5.1",
    "react-app-polyfill": "0.1.3",
    "react-clipboard.js": "2.0.2",
    "react-dev-utils": "6.1.1",
    "react-docgen": "2.14.0",
    "react-hot-loader": "^4.13.0",
    "react-router-dom": "4.3.1",
    "react-test-renderer": "^17.0.2",
    "resolve": "1.8.1",
    "rimraf": "2.6.2",
    "sass-loader": "7.1.0",
    "sort-package-json": "2.4.1",
    "style-loader": "^2.0.0",
    "svgo": "1.1.1",
    "terser-webpack-plugin": "^4.1.0",
    "ts-jest": "27.1.5",
    "ts-loader": "8.4.0",
    "ts-migrate": "^0.1.35",
    "typescript": "4.9.5",
    "url-loader": "1.1.1",
    "webpack": "^4.41.5",
    "webpack-bundle-analyzer": "^4.6.1",
    "webpack-dev-server": "^3.11.0",
    "webpack-manifest-plugin": "2.0.4",
    "workbox-webpack-plugin": "3.6.3"
  },
  "engines": {
    "node": ">=14.0.0"
  },
  "publishConfig": {
    "access": "public"
  }
}