UnlyEd/boilerplates-generator

View on GitHub
templates/typescript-OSS/package.json

Summary

Maintainability
Test Coverage
{
  "name": "@unly/PROJECT-NAME",
  "version": "1.0.0",
  "description": "A project generated by https://github.com/UnlyEd/boilerplates-generator",
  "scripts": {
    "start": "cross-env-shell 'concurrently -p '{name}' -n 'lint,build,test' -c 'gray.bgWhite,yellow.bgBlue,green.bgWhite' \"yarn lint\" \"yarn build\" \"yarn test\"'",
    "build": "yarn clean && tsc -w",
    "build:once": "yarn clean && tsc",
    "clean": "rm -rf lib/",
    "lint": "esw src -w --ext .ts --ext .tsx",
    "lint:once": "eslint src --ext .ts --ext .tsx",
    "lint:fix": "eslint src --ext .ts --ext .tsx --fix",
    "lint:fix:preview": "eslint src --ext .ts --ext .tsx --fix-dry-run",
    "preversion": "yarn lint:once && yarn test:once && yarn doc:toc",
    "postversion": "git add README.md CHANGELOG.md && git commit --amend --no-edit && git push && git push --tags",
    "prepublishOnly": "yarn clean && yarn build:once && yarn publish:preview && cli-confirm \"Do you really want to release a new version? Please check the files that will be publicly released first. (y/n)\"",
    "publish:preview": "npm pack && tar -xvzf *.tgz && rm -rf package *.tgz",
    "release": "yarn bump --commit --tag",
    "releaseAndPublish": "yarn release && npm publish",
    "doc:toc": "yarn markdown-toc --maxdepth 4 -i README.md",
    "test": "NODE_ENV=test jest --watchAll",
    "test:once": "NODE_ENV=test jest",
    "test:coverage": "NODE_ENV=test jest --coverage",
    "security:audit": "yarn audit",
    "packages:upgrade": "yarn upgrade-interactive --latest"
  },
  "main": "lib/index.js",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/UnlyEd/PROJECT-NAME.git"
  },
  "author": "unlyEd",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/UnlyEd/PROJECT-NAME/issues"
  },
  "homepage": "https://github.com/UnlyEd/PROJECT-NAME",
  "publishConfig": {
    "registry": "https://registry.npmjs.org/",
    "access": "public"
  },
  "files": [
    "/lib"
  ],
  "jest": {
    "setupFilesAfterEnv": [
      "jest-extended"
    ],
    "verbose": true
  },
  "devDependencies": {
    "@babel/core": "7.8.7",
    "@babel/preset-env": "7.8.7",
    "@babel/preset-typescript": "7.8.3",
    "@types/jest": "25.1.4",
    "@types/lodash": "4.14.149",
    "@types/node": "13.9.0",
    "@typescript-eslint/eslint-plugin": "2.23.0",
    "@typescript-eslint/parser": "2.23.0",
    "@unly/cli-confirm": "1.1.1",
    "babel-jest": "25.1.0",
    "concurrently": "5.1.0",
    "cross-env": "7.0.2",
    "eslint": "6.8.0",
    "eslint-plugin-import": "2.20.1",
    "eslint-plugin-jest": "23.8.2",
    "eslint-watch": "6.0.1",
    "jest": "25.1.0",
    "markdown-toc": "1.2.0",
    "ts-jest": "25.2.1",
    "typescript": "3.8.3",
    "version-bump-prompt": "6.0.2"
  }
}