crystal-ball/babel-base

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@crystal-ball/babel-base",
  "version": "4.0.0",
  "description": "🔮 Projects - Babel configs",
  "main": "dist/index.js",
  "types": "./types/index.d.ts",
  "repository": {
    "type": "git",
    "url": "https://github.com/crystal-ball/babel-base.git"
  },
  "publishConfig": {
    "access": "public"
  },
  "keywords": [
    "Crystal Ball",
    "Babel"
  ],
  "contributors": [
    "Dan Hedgecock <hedgecock.d@gmail.com> (https://danhedgecock.com)"
  ],
  "license": "ISC",
  "scripts": {
    "babel:watch": "BABEL_ENV=development babel src --extensions '.ts,.tsx' --watch --out-dir dist --ignore '**/*.spec.js'",
    "test": "npm run test:lint && npm run test:unit",
    "test:lint": "NODE_ENV=test eslint --format=pretty --ext .js,.ts __mocks__ src",
    "test:unit": "jest src",
    "type-check": "tsc --noEmit",
    "type-check:watch": "tsc --noEmit --watch",
    "format": "prettier --write '*.{js,json,md,ts}' '**/*.{js,json,md,ts}' !CHANGELOG.md",
    "prepublishOnly": "npm run clean && npm run types && npm run js",
    "postpublish": "npm run clean",
    "js": "BABEL_ENV=production babel src --extensions '.ts,.tsx' --out-dir dist --ignore '**/*.spec.js'",
    "types": "tsc --emitDeclarationOnly",
    "clean": "rm -rf dist types"
  },
  "dependencies": {
    "@babel/core": "7.14.3",
    "@babel/plugin-proposal-class-properties": "7.13.0",
    "@babel/plugin-proposal-private-methods": "7.13.0",
    "@babel/plugin-transform-runtime": "7.14.3",
    "@babel/preset-env": "7.14.4",
    "@babel/preset-react": "7.13.13",
    "@babel/preset-typescript": "7.13.0",
    "babel-plugin-transform-import-aliases": "1.2.0",
    "babel-plugin-transform-react-remove-prop-types": "0.4.24"
  },
  "devDependencies": {
    "@babel/cli": "7.21.5",
    "@crystal-ball/commitizen-base": "2.12.0",
    "@crystal-ball/prettier-base": "2.13.0",
    "@crystal-ball/semantic-release-base": "2.40.0",
    "@types/jest": "27.5.2",
    "@types/node": "16.18.34",
    "eslint-config-eloquence": "19.1.0",
    "jest": "27.5.1",
    "typescript": "4.9.5"
  },
  "config": {
    "commitizen": {
      "path": "@crystal-ball/commitizen-base"
    }
  },
  "husky": {
    "hooks": {
      "prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
    }
  },
  "renovate": {
    "extends": [
      "github>crystal-ball/renovate-base:library"
    ]
  }
}