@tagproject/base-shared-config
TypeScript icon, indicating that this package has built-in type declarations

4.0.6 • Public • Published

Package logo

Build Status npm Standard Shared Config

Standard Shared Config for tagproject packages with shared configs

Install

npm install @tagproject/base-shared-config --save-dev

Usage

  • Add "prepare:config": "base-shared-config" to scripts property in your package.json
  • Rename your prepare scripts to prepare:[NAME]
  • Add "prepare": "run-s prepare:*"
  • Run npm run prepare

Configs

extract actions and hooks:

  • .github
  • .husky

merge files:

  • .husky/commit-msg
  • .gitignore
  • .npmignore

append to package.json:

scripts:

  • build - build shared config
  • generate - run all generate:*
  • generate:changelog - generate changelog
  • prepare - run all prepare:*
  • prepare:config - rebuild local configs
  • prepare:husky - install husky hooks
  • release - lint, build config, generate changelog and bump package version

dependencies:

configure:

{
  "exports": "./lib/index.js",
  "manager": "npm",
  "type": "module",
  "types": "./lib/index.d.ts"
}

/@tagproject/base-shared-config/

    Package Sidebar

    Install

    npm i @tagproject/base-shared-config

    Weekly Downloads

    6

    Version

    4.0.6

    License

    MIT

    Unpacked Size

    16.7 kB

    Total Files

    8

    Last publish

    Collaborators

    • keindev