jsGiven/jsGiven

View on GitHub
js-given/package.json

Summary

Maintainability
Test Coverage
{
  "name": "js-given",
  "version": "0.1.8",
  "__versionAlpha": "0.1.8-alpha.0",
  "description": "JavaScript frontend to jgiven",
  "main": "index.js",
  "scripts": {
    "installProtractor": "check-node-version -q --node '< 6.9' || node_modules/protractor/bin/webdriver-manager update --gecko false",
    "postinstall": "yarn installProtractor",
    "pretest": "node src/cli.es5.js clean",
    "test": "yarn allTests || yarn generateReportFail",
    "posttest": "yarn generateReport && yarn build",
    "allTests": "yarn test_jest && yarn test_mocha && yarn test_jasmine && yarn test_ava && yarn test_protractor && yarn test_type_definitions",
    "test_mocha": "mocha --opts spec/support/mocha-default.opts spec",
    "test_jest": "jest --config .jest.conf.json --colors",
    "test_jasmine": "node spec/support/jasmine-runner.js",
    "test_ava": "check-node-version -q --node '< 6.9' || AVA_CONFIG_DIR=$(pwd) ava spec/**.spec.js -v",
    "test_protractor": "check-node-version -q --node '< 6.9' || protractor .protractor.conf.js",
    "test_type_definitions": "(cd type-definitions/tests && ../../../node_modules/.bin/flow)",
    "testWatch": "yarn test_jest -- --watch",
    "generateReport": "node src/cli.es5.js report",
    "generateReportFail": "node src/cli.es5.js report --fail",
    "coverage": "yarn test_jest -- --coverage",
    "__doBuild": "rm -vfr dist && yarn buildLib && yarn buildCli && cp type-definitions/*.js.flow type-definitions/*.d.ts dist",
    "build": "yarn __doBuild && yarn __doPreparePublish -- alpha",
    "buildLib": "rollup -c tools/lib.rollup.config.js",
    "buildCli": "rollup -c tools/cli.rollup.config.js",
    "__doPreparePublish": "node tools/preparePublish.js",
    "__doTagRelease": "node tools/tagRelease.js",
    "__doPublishAlpha": "(cd dist; echo '' | yarn publish --tag next)",
    "__doReleaseAlpha": "yarn __doPreparePublish -- alpha && yarn __doPublishAlpha",
    "__doPublish": "(cd dist; echo '' | yarn publish)",
    "__doRelease": "yarn __doPreparePublish && yarn __doTagRelease && yarn __doPublish",
    "releaseAlpha": "yarn test && yarn build && yarn __doReleaseAlpha",
    "release": "yarn test && yarn build && yarn __doRelease"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/jsGiven/jsGiven.git"
  },
  "keywords": [
    "testing",
    "bdd",
    "jgiven",
    "tests",
    "given",
    "when",
    "then",
    "test"
  ],
  "author": "Florent Le Gall",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/jsGiven/jsGiven/issues"
  },
  "homepage": "https://github.com/jsGiven/jsGiven",
  "devDependencies": {
    "ava": "0.25.0",
    "babel-core": "6.26.3",
    "babel-jest": "23.6.0",
    "babel-plugin-external-helpers": "6.22.0",
    "babel-plugin-transform-async-generator-functions": "6.24.1",
    "babel-plugin-transform-class-properties": "6.24.1",
    "babel-plugin-transform-decorators-legacy": "1.3.5",
    "babel-plugin-transform-flow-strip-types": "6.22.0",
    "babel-plugin-transform-object-rest-spread": "6.26.0",
    "babel-preset-env": "1.7.0",
    "chai": "4.3.4",
    "chai-as-promised": "7.1.1",
    "chalk": "2.4.2",
    "check-node-version": "3.3.0",
    "jasmine": "3.7.0",
    "jasmine-spec-reporter": "4.2.1",
    "jest": "23.6.0",
    "mocha": "5.2.0",
    "nodegit": "0.27.0",
    "protractor": "5.4.4",
    "rollup": "0.68.2",
    "rollup-plugin-babel": "3.0.7",
    "rollup-plugin-uglify": "4.0.0",
    "sinon": "6.3.5",
    "sinon-chai": "2.14.0",
    "sleep-promise": "8.0.1",
    "tmp": "0.2.1"
  },
  "dependencies": {
    "babel-polyfill": "^6.26.0",
    "fs-extra": "^5.0.0",
    "function-arguments": "^1.0.8",
    "jgiven-html-app": "0.17.0",
    "lodash": "4.17.21",
    "rimraf": "^2.6.2",
    "string-humanize": "^1.0.0",
    "strip-ansi": "^4.0.0",
    "yargs": "^11.0.0"
  },
  "bin": {
    "jsgiven": "./cli.js"
  },
  "files": [
    "cli.js",
    "installJGivenReport.js",
    "index.js",
    "index.js.flow",
    "index.d.ts",
    "LICENSE",
    "README.md",
    "package.json"
  ],
  "ava": {
    "require": [
      "babel-core/register",
      "./spec/support/setup-tests.js",
      "./spec/support/setup-ava.js"
    ],
    "babel": "inherit",
    "failWithoutAssertions": false
  },
  "engines": {
    "node": ">= 4.6.0"
  }
}