tomchentw/react-prism

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "react-prism",
  "version": "4.3.2",
  "description": "React.js + prismjs syntax hightlight component",
  "main": "lib/index.js",
  "files": ["lib/", "src/", "CHANGELOG.md"],
  "lint-staged": {
    "*.{js,jsx,json,css}": ["prettier --write", "git add"]
  },
  "scripts": {
    "precommit": "lint-staged",
    "styleguide": "styleguidist server",
    "styleguide:build": "styleguidist build",
    "test": "react-scripts test --env=jsdom",
    "pretest": "npm run lint",
    "test:once": "cross-env CI=true npm test",
    "clean": "rimraf lib",
    "lint": "cross-env NODE_ENV=test eslint .",
    "prebuild:lib": "npm run lint && npm run clean",
    "build:lib":
      "cross-env NODE_ENV=production babel src/ --out-dir lib/ --ignore spec.js",
    "precommit:lib": "npm run build:lib",
    "commit:lib":
      "git add -A && git commit -m 'chore(lib): compile from src with `babel`'",
    "precommit:docs": "npm run styleguide:build",
    "commit:docs":
      "git add -A && git commit -m 'docs: compile from src with `styleguidist`'",
    "prerelease": "npm run commit:lib && npm run commit:docs",
    "release":
      "standard-version -m 'chore(release): %s \n\n* CHANGELOG: https://github.com/tomchentw/react-prism/blob/v%s/CHANGELOG.md'"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/tomchentw/react-prism"
  },
  "keywords": [
    "React.js",
    "React",
    "react-component",
    "prismjs",
    "prism",
    "hightlight",
    "hightlight.js",
    "google code prettify",
    "prettify",
    "code prettify",
    "syntax",
    "syntax hightlight",
    "worker",
    "webworker"
  ],
  "author": {
    "name": "tomchentw",
    "email": "developer@tomchentw.com",
    "url": "https://github.com/tomchentw"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/tomchentw/react-prism/issues"
  },
  "homepage": "https://tomchentw.github.io/react-prism/",
  "devDependencies": {
    "babel-cli": "^6.26.0",
    "babel-core": "^6.26.0",
    "babel-eslint": "^8.0.0",
    "babel-plugin-transform-flow-comments": "^6.8.0",
    "babel-plugin-typecheck": "^3.9.0",
    "babel-preset-env": "^1.5.2",
    "babel-preset-react": "^6.24.1",
    "babel-preset-stage-0": "^6.24.1",
    "codeclimate-test-reporter": "^0.5.0",
    "cross-env": "^5.0.5",
    "eslint": "^4.6.1",
    "eslint-config-prettier": "^2.4.0",
    "eslint-plugin-prettier": "^2.2.0",
    "husky": "^0.14.3",
    "lint-staged": "^6.0.0",
    "prettier": "^1.6.1",
    "prismjs": "^1.7.0",
    "react": "^16.2.0",
    "react-dom": "^16.2.0",
    "react-scripts": "^1.0.13",
    "react-styleguidist": "^6.0.24",
    "rimraf": "^2.6.2",
    "standard-version": "^4.3.0-candidate.0"
  },
  "peerDependencies": {
    "prop-types": "^15.5.0",
    "react": "^15.5.0 || ^16.0.0"
  }
}