jsGiven/jsGiven

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "js-given-root",
  "version": "1.0.0",
  "description": "JS GIVEN ROOT DO NOT PUBLISH",
  "main": "index.js",
  "scripts": {
    "lint": "echo \"Don't worry, ESLint takes some time ...\" && eslint . ./",
    "lintFix":
      "echo \"Don't worry, ESLint takes some time ...\" && eslint --fix . ./",
    "flow": "flow",
    "prettier": "node ./scripts/prettier.js write-changed",
    "prettier-all": "node ./scripts/prettier.js write",
    "cleanNodeModules":
      "for dir in `find . -name 'package.json' -print0 | xargs -0 -n1 dirname | sort --unique | grep -v node_modules`; do (cd $dir; pwd; rm -vfr node_modules); done",
    "install":
      "for dir in `find . -name 'package.json' -print0 | xargs -0 -n1 dirname | sort --unique | grep -v node_modules | grep -v '^.$' | grep -v 'js-given/dist' `; do (cd $dir; pwd; yarn --ignore-engines); done",
    "upgradeExamplesToLatest":
      "for dir in `find examples -name 'package.json' -print0 | xargs -0 -n1 dirname | sort --unique | grep -v node_modules`; do (cd $dir; pwd; yarn upgrade js-given@latest); done",
    "upgradeExamplesToNext":
      "for dir in `find examples -name 'package.json' -print0 | xargs -0 -n1 dirname | sort --unique | grep -v node_modules`; do (cd $dir; pwd; yarn upgrade js-given@next); done",
    "pretest": "yarn lint && yarn flow",
    "testJsGiven": "(cd js-given; yarn test)",
    "testExamples": "yarn testExamplesOnLatest && yarn testExamplesOnMaster",
    "testExamplesOnLatest":
      "yarn __doYarnInstallOnJsGivenOnExamples && yarn __doTestExamples",
    "__doYarnInstallOnJsGivenOnExamples":
      "for dir in `find examples -name 'package.json' -print0 | xargs -0 -n1 dirname | sort --unique | grep -v node_modules`; do (cd $dir; pwd; yarn install); done",
    "testExamplesOnMaster":
      "(cd js-given; yarn build) && yarn __doInstallMasterJsGivenOnExamples && yarn __doTestExamples && yarn __doYarnInstallOnJsGivenOnExamples",
    "__doInstallMasterJsGivenOnExamples":
      "for dir in `find examples -name 'package.json' -print0 | xargs -0 -n1 dirname | sort --unique | grep -v node_modules`; do (cp -v js-given/dist/* $dir/node_modules/js-given; rm -vf $dir/node_modules/.yarn-integrity); done",
    "__doTestExamples":
      "for dir in `find examples -name 'package.json' -print0 | xargs -0 -n1 dirname | sort --unique | grep -v node_modules`; do (cd $dir; pwd; yarn test); done",
    "test":
      "yarn testJsGiven && yarn testExamples && yarn buildDocumentation && yarn coverage",
    "coverage": "(cd js-given && yarn coverage)",
    "releaseAlpha": "(cd js-given; yarn releaseAlpha)",
    "release": "(cd js-given; yarn release)",
    "buildDocumentation": "(cd documentation; yarn build)",
    "openDocumentation":
      "(cd documentation && yarn build && open html/index.html)",
    "deployDocumentation": "(cd documentation; yarn deploy)"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/jsGiven/jsGiven.git"
  },
  "author": "",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/jsGiven/jsGiven/issues"
  },
  "homepage": "https://github.com/jsGiven/jsGiven",
  "devDependencies": {
    "babel-eslint": "8.2.6",
    "chalk": "2.4.2",
    "check-node-version": "3.3.0",
    "coveralls": "3.1.1",
    "eslint": "4.19.1",
    "eslint-config-prettier": "2.10.0",
    "eslint-config-standard": "11.0.0",
    "eslint-plugin-babel": "5.3.1",
    "eslint-plugin-flowtype": "2.50.3",
    "eslint-plugin-import": "2.25.4",
    "eslint-plugin-node": "6.0.1",
    "eslint-plugin-promise": "3.8.0",
    "eslint-plugin-standard": "3.1.0",
    "flow-bin": "0.152.0",
    "glob": "7.1.7",
    "prettier": "1.19.1"
  }
}