contentascode/docsmith

View on GitHub
templates/init-jekyll/package.json

Summary

Maintainability
Test Coverage
{
  "scripts": {
    "clean": "rm -rf $CONFIG_REPO && rm _branch.yml",
    "build": "jekyll build --config _config.yml,_branch.yml -d $CONFIG_REPO",
    "test": "npm run build && echo \"Do some validations...\" && npm run test-links",
    "test-links": "pm2 -s stop hs || true && pm2 -s delete hs || true && pm2 -f start `which hs` -- -p 8080 . && blc -s -r --input http://127.0.0.1:8080/$CONFIG_REPO | tee /dev/tty | grep -z '. 0 broken\\.[[:space:]]\\+Elapsed'",
    "deploy": "npm run deploy-push",
    "deploy-push": "cd $CONFIG_REPO && git init && git config user.email \"$GIT_EMAIL\" && git config user.name \"$GIT_NAME\" && git remote add upstream https://${GH_USERNAME}:${GH_TOKEN}@github.com/${CONFIG_OWNER}/${CONFIG_REPO}.git && git fetch upstream && git reset upstream/gh-pages && touch .nojekyll && git add -A . && git commit -a -m \"Travis build $TRAVIS_BUILD_NUMBER\" && git push --quiet upstream HEAD:gh-pages\n",
    "prebuild": "if [ $TRAVIS_PULL_REQUEST -eq 'true'] ; then TRAVIS_BRANCH=$TRAVIS_COMMIT ; fi && echo \"github:\\n  current_branch: $TRAVIS_BRANCH\" > _branch.yml\n",
    "postbuild": "rm _branch.yml"
  },
  "name": "docsmith-init",
  "version": "0.0.1",
  "description": "Empty project for docsmith",
  "main": "index.js",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/contentascode/docsmith-init.git"
  },
  "author": "Jun Matsushita",
  "license": "AGPL-3.0",
  "bugs": {
    "url": "https://github.com/contentascode/docsmith-init/issues"
  },
  "homepage": "https://github.com/contentascode/docsmith-init#readme",
  "keywords": []
}