Skip to content

Add this to the scripts. #17

@hemanth

Description

@hemanth
"scripts": {
  "test": "mocha --require babel/register",
  "tdd": "npm test -- --watch",
  "coverage": "isparta cover _mocha index.js -- --require babel/register",
  "precoveralls": "npm run coverage",
  "coveralls": "coveralls < coverage/lcov.info",
  "transpile": "babel index.js > index.es5.js",
  "prepublish": "npm run transpile",
  "postpublish": "rm *.es5.js && git push --follow-tags"
}

Thanks to @iamstarkov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions