2.0.1 • Published 9 months ago

@tagproject/ts-library-shared-config v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Standard Shared Config for tagproject libraries with TypeScript

Install

npm install @tagproject/ts-library-shared-config --save-dev

Usage

  • Add "prepare:config": "ts-library-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

include shared configs:

extract actions, hooks and configs:

  • .github/*
  • .husky/*
  • .vscode/*
  • .eslintrc
  • codecov.yml
  • jest.config.js
  • rollup.config.js
  • tsconfig.json

merge files:

  • .husky/commit-msg
  • .vscode/launch.json
  • .gitignore
  • .npmignore

append to package.json:

scripts:

  • build - build shared config
  • build:ts - transpile TS files
  • generate - run all generate:*
  • generate:changelog - generate changelog
  • generate:ghinfo - generate .ghinfo file
  • lint:eslint - run eslint TS files linting
  • prepare:config - rebuild local configs
  • prepare:husky - install husky hooks
  • release - lint, test, generate changelog and bump package version
  • test - run all test:*
  • test:jest - run jest tests

dependencies:

configure:

{
  "types": "./lib/index.d.ts"
}
1.1.1

10 months ago

1.1.0

10 months ago

2.0.1

9 months ago

2.0.0

10 months ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago