typed-inject

v4.0.0
Type safe dependency injection framework for TypeScript
typescript dependency-injection IoC di inject type-safe

all

npm run clean && npm run build && npm run lint && npm run test && npm run stryker

start

tsc -b -w

clean

rimraf dist

lint

eslint . --ext .js,.ts --ignore-path .gitignore --ignore-pattern testResources/**/*.ts --ignore-pattern stryker.conf.js

build

tsc -b

test

c8 --exclude-after-remap=false "--exclude=dist/test/**/*.js" --check-coverage --reporter=html --report-dir=reports/coverage --lines 100 --functions 100 --branches 100 npm run test:all

test:all

npm run test:unit && npm run test:integration

test:unit

mocha -r source-map-support/register "dist/test/helpers/**/*.js" "dist/test/unit/**/*.js"

test:integration

mocha -r source-map-support/register --timeout 20000 "dist/test/helpers/**/*.js" "dist/test/integration/**/*.js"

stryker

stryker run

preversion

npm run all

version

npm run generate-changelog

postversion

npm publish && git push && git push --tags

generate-changelog

conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md

release:patch

npm version patch -m "chore(release): %s"

release:minor

npm version minor -m "chore(release): %s"

release:major

npm version major -m "chore(release): %s"
npm i typed-inject

Metadata

Downloads