didi

v10.1.0-0
Dependency Injection for JavaScript
di inversion of control dependency injection injector

all

run-s lint bundle test check-types integration-test

bundle

cross-env NODE_ENV=production rollup -c --bundleConfigAsCjs

lint

eslint --ext ts,js,cjs .

check-types

run-s check-types:*

check-types:lib

tsc --pretty --noEmit

check-types:test

tsc --project test --pretty --noEmit

check-types:integration

tsc --project test/integration --pretty --noEmit

test

nyc --reporter=lcov mocha test/*.spec.js

integration-test

(cd test/integration && mocha --loader=ts-node/esm *.spec.{cjs,ts})

prepare

run-s bundle

Metadata

  • MIT
  • >= 16
  • Nico Rehwaldt
  • released 2/3/2024

Downloads

Maintainers