-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
85 lines (85 loc) · 2.39 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "async-injection",
"version": "1.6.0",
"description": "A robust lightweight dependency injection library for TypeScript.",
"author": "Frank Stock",
"license": "MIT",
"keywords": [
"ioc",
"di",
"async",
"dependency",
"injection",
"dependency injection",
"inversion of control",
"injector",
"container",
"typescript"
],
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"exports": {
".": {
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js"
}
},
"types": "lib/esm/index.d.ts",
"typings": "lib/esm/index.d.ts",
"directories": {
"lib": "lib"
},
"files": [
"lib"
],
"scripts": {
"clean": "rimraf ./lib",
"fullclean": "npm run clean && rimraf ./.nyc_output && rimraf ./coverage && rimraf ./package-lock.json && rimraf ./node_modules",
"pretest": "npm run lint",
"test": "TS_NODE_PROJECT=./tsconfig-test.json node --require ts-node/register --require tsconfig-paths/register node_modules/jasmine/bin/jasmine.js --config=jasmine.json",
"coverage": "rimraf coverage && rimraf ./nyc_output && nyc -e .ts -x \"**/*.spec.ts\" -x \"tst/*\" --reporter=text-summary --reporter=lcov npm run test",
"build": "npm run clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && npm run _postbuild",
"_postbuild": "echo '{\"type\": \"module\"}' >lib/esm/package.json && echo '{\"type\": \"commonjs\"}' >lib/cjs/package.json",
"lint": "eslint 'src/**/*.ts'"
},
"repository": {
"type": "git",
"url": "https://github.com/pcafstockf/async-injection.git"
},
"bugs": {
"url": "https://github.com/pcafstockf/async-injection/issues"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "~1.0.2",
"@types/jasmine": "~5.1.4",
"@typescript-eslint/eslint-plugin": "~5.62.0",
"@typescript-eslint/parser": "~5.62.0",
"eslint": "~8.53.0",
"eslint-plugin-import": "~2.29.1",
"eslint-plugin-jsdoc": "~39.9.1",
"eslint-plugin-prefer-arrow": "~1.2.3",
"jasmine": "~5.1.0",
"jasmine-console-reporter": "~3.1.0",
"nyc": "~15.1.0",
"reflect-metadata": "~0.1.14",
"rimraf": "~5.0.7",
"source-map-support": "~0.5.21",
"ts-node": "~10.9.2",
"tsconfig-paths": "~4.2.0",
"tslib": "~2.6.2",
"typescript": "~4.9.5"
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
"include": [
"src/**"
],
"exclude": [
"node_modules/**",
"src/index.ts",
"**/*.spec.ts"
],
"check-coverage": true
}
}