@tagproject/ts-library-shared-config
v2.0.1
Published
Standard shared config for tagproject libraries with TypeScript
Downloads
5
Maintainers
Readme
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"
toscripts
property in yourpackage.json
- Rename your
prepare
scripts toprepare:[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 configbuild:ts
- transpileTS
filesgenerate
- run allgenerate:*
generate:changelog
- generate changeloggenerate:ghinfo
- generate.ghinfo
filelint:eslint
- runeslint
TS files lintingprepare:config
- rebuild local configsprepare:husky
- install husky hooksrelease
- lint, test, generate changelog and bump package versiontest
- run alltest:*
test:jest
- runjest
tests
dependencies:
- @rollup/plugin-node-resolve:
15.x
- @rollup/plugin-terser:
0.4.x
- @tagproject/docs-shared-config:
3.x
- @tagproject/vscode-shared-config:
3.x
- @types/jest:
latest
- @types/node:
latest
- @typescript-eslint/eslint-plugin:
6.x
- @typescript-eslint/parser:
6.x
- changelog-guru:
4.x
- eslint:
8.x
- eslint-config-prettier:
8.x
- eslint-plugin-import:
2.x
- eslint-plugin-jest:
27.x
- eslint-plugin-node:
11.x
- eslint-plugin-optimize-regex:
1.x
- eslint-plugin-promise:
6.x
- ghinfo:
latest
- husky:
8.x
- jest:
29.x
- jest-environment-jsdom:
29.x
- rimraf:
latest
- rollup:
3.x
- rollup-plugin-copy:
3.x
- rollup-plugin-filesize:
10.x
- ts-jest:
29.x
- typescript:
5.x
configure:
{
"types": "./lib/index.d.ts"
}