apjames93/mui-storyblok

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "mui-storyblok",
  "version": "2.0.8",
  "description": "use react and mui to build pages with storyblok",
  "author": "apjames93",
  "license": "MIT",
  "main": "dist/index.js",
  "module": "dist/index.js",
  "repository": {
    "type": "git",
    "url": "apjames93/mui-storyblok"
  },
  "files": [
    "dist"
  ],
  "eslintConfig": {
    "extends": "airbnb",
    "parser": "babel-eslint",
    "plugins": [
      "import"
    ],
    "settings": {
      "import/resolver": {
        "node": {
          "extensions": [
            ".js",
            ".jsx"
          ],
          "paths": [
            "src"
          ]
        }
      }
    },
    "env": {
      "jest": true
    },
    "globals": {
      "document": false,
      "window": true
    },
    "rules": {
      "react/destructuring-assignment": [
        0,
        {
          "extensions": [
            ".jsx"
          ]
        }
      ],
      "import/no-named-as-default": [
        0
      ],
      "import/no-extraneous-dependencies": [
        0,
        {
          "devDependencies": true
        }
      ],
      "react/prefer-stateless-function": [
        0,
        {
          "ignorePureComponents": true
        }
      ],
      "react/jsx-filename-extension": [
        1,
        {
          "extensions": [
            ".js",
            ".jsx"
          ]
        }
      ],
      "react/jsx-tag-spacing": [
        1
      ],
      "jsx-a11y/label-has-for": [
        1
      ],
      "react/jsx-boolean-value": [
        0
      ],
      "react/no-array-index-key": [
        0
      ]
    },
    "ignorePatterns": [
      "storyblok/*.js"
    ]
  },
  "jest": {
    "collectCoverageFrom": [
      "src/**/*.{js,jsx}",
      "!storyblok/*.{js,jsx}",
      "!src/setupTests.js",
      "!src/index.js",
      "!src/styleguide/*"
    ],
    "coverageReporters": [
      "lcov",
      "text"
    ]
  },
  "devDependencies": {
    "@babel/cli": "^7.0.0",
    "@babel/core": "^7.0.0",
    "@babel/plugin-syntax-class-properties": "^7.10.1",
    "@babel/plugin-transform-runtime": "^7.10.1",
    "@babel/polyfill": "^7.10.1",
    "@babel/preset-env": "^7.10.2",
    "@babel/preset-react": "^7.10.1",
    "@babel/runtime": "^7.10.2",
    "@material-ui/core": "^4.11.0",
    "@material-ui/icons": "^3.0.2",
    "@testing-library/react-hooks": "^3.2.1",
    "babel-plugin-webpack-alias": "^2.1.2",
    "babel-polyfill": "^6.26.0",
    "eslint-config-airbnb": "^17.1.0",
    "material-ui-audio-player": "^1.1.9",
    "node-sass": "^4.13.1",
    "prop-types": "^15.5.4",
    "react": "^16.13.1",
    "react-dom": "^16.13.1",
    "react-hot-loader": "3.0.0-beta.5",
    "react-scripts": "3.4.1",
    "react-styleguidist": "^11.0.4",
    "react-test-renderer": "^16.3.2",
    "rff-wrapper": "^1.0.13",
    "storyblok": "^3.2.0",
    "storyblok-js-client": "^1.0.21"
  },
  "peerDependencies": {
    "react-hot-loader": "3.0.0-beta.5",
    "@material-ui/core": "^4.11.0",
    "@material-ui/icons": "^3.0.2",
    "node-sass": "^4.13.1",
    "storyblok-js-client": "^1.0.21",
    "prop-types": "^15.5.4",
    "react": "^16.13.1",
    "react-dom": "^16.13.1",
    "react-scripts": "3.4.1",
    "rff-wrapper": "^1.0.13",
    "material-ui-audio-player": "^1.1.9",
    "storyblok": "^3.2.0"
  },
  "scripts": {
    "start": "react-scripts start",
    "build-examples": "react-scripts build",
    "test": "react-scripts test --env=jsdom",
    "eject": "react-scripts eject",
    "build-storyblok-schema": "cp -a ./storyblok/ dist/storyblok",
    "build-cli-utils": "babel cliUtils --out-dir dist/cliUtils",
    "delete-test-from-dist": "del dist/**/**/*.test.js && del dist/**/**/*__snapshots__ && del dist/**/**/**/*.test.js && del dist/**/**/**/*__snapshots__",
    "delete-md-from-dist": "del dist/**/**/*.md && del dist/**/**/**/*.md",
    "build-app": "babel src/lib --out-dir dist --copy-files && npm run delete-test-from-dist && npm run delete-md-from-dist",
    "build": "NODE_ENV=production rm -rf dist && npm run build-app && npm run build-storyblok-schema",
    "publish-npm": "npm run build && npm publish",
    "test-ci": "react-scripts test --env=jsdom --coverage --runInBand --testPathPattern=src/lib/components",
    "styleguide": "npx styleguidist server",
    "styleguide:build": "npx styleguidist build",
    "build-styleguide": "babel src/lib --out-dir dist --copy-files && npm run styleguide:build",
    "deploy-style-guide": "npm run styleguide:build && aws s3 sync styleguide/ s3://mui-storyblok-style-guide.com/ --delete",
    "test-report": "react-scripts test --watchAll=false --coverage",
    "export-storyblok-components": "./cli/exportStoryblokComponents.js",
    "export-storyblok-exportPresets": "./cli/exportPresets.js"
  },
  "bin": {
    "migrate-storyblok-stories": "./cli/migrateStoryblokStories.js",
    "migrate-storyblok-components": "./cli/migrateStoryblokComponents.js",
    "migrate-storyblok-presets": "./cli/migratePresets.js",
    "migrate-new-mui-storyblok": "./cli/migrateNewMuiStoryblok.js"
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  },
  "dependencies": {
    "@babel/plugin-proposal-class-properties": "^7.10.1",
    "@material-ui/core": "^4.11.0",
    "@material-ui/icons": "^3.0.2",
    "@mui-treasury/components": "^1.9.1",
    "animejs": "^3.2.1",
    "del-cli": "^3.0.1",
    "dotenv": "^8.2.0",
    "enzyme": "^3.11.0",
    "enzyme-adapter-react-16": "^1.15.2",
    "material-ui-audio-player": "^1.1.9",
    "node-sass": "^4.13.1",
    "react-google-recaptcha": "^2.1.0",
    "react-intersection-observer": "^8.31.0",
    "react-player": "^2.1.0",
    "react-swipeable-views": "^0.13.9",
    "rff-wrapper": "^1.0.13",
    "storyblok": "^3.2.0"
  }
}