/
package.json
67 lines (67 loc) · 1.86 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "didi",
"version": "10.2.2",
"description": "Dependency Injection for JavaScript",
"types": "dist/index.d.ts",
"main": "dist/index.cjs",
"module": "dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"type": "module",
"scripts": {
"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 -p test/integration/tsconfig.json --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"
},
"repository": {
"type": "git",
"url": "git://github.com/nikku/didi.git"
},
"keywords": [
"di",
"inversion of control",
"dependency",
"injection",
"injector"
],
"engines": {
"node": ">= 16"
},
"devDependencies": {
"@types/chai": "^4.3.11",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.16",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"@web/rollup-plugin-copy": "^0.5.1",
"chai": "^4.4.1",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"eslint-plugin-bpmn-io": "^1.0.0",
"mocha": "^10.2.0",
"npm-run-all2": "^6.1.2",
"nyc": "^15.1.0",
"rollup": "^4.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"author": "Nico Rehwaldt <https://github.com/nikku>",
"license": "MIT",
"sideEffects": false,
"files": [
"dist"
]
}