-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
75 lines (75 loc) · 2.77 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
{
"name": "typed-inject",
"version": "4.0.0",
"description": "Type safe dependency injection framework for TypeScript",
"main": "dist/src/index.js",
"type": "module",
"scripts": {
"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\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/nicojs/typed-inject.git"
},
"engines": {
"node": ">=16"
},
"keywords": [
"typescript",
"dependency-injection",
"IoC",
"di",
"inject",
"type-safe"
],
"publishConfig": {
"access": "public"
},
"author": "Nico Jansen <[email protected]>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/nicojs/typed-inject/issues"
},
"homepage": "https://github.com/nicojs/typed-inject/#readme",
"devDependencies": {
"@stryker-mutator/core": "^6.4.2",
"@stryker-mutator/mocha-runner": "^6.4.2",
"@stryker-mutator/typescript-checker": "^6.4.2",
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"@types/node": "^20.1.0",
"@types/sinon": "^10.0.14",
"@types/sinon-chai": "^3.2.9",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"c8": "^7.13.0",
"chai": "^4.3.7",
"conventional-changelog-cli": "^2.2.2",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"mocha": "^10.2.0",
"prettier": "^2.8.8",
"rimraf": "^5.0.0",
"sinon": "^15.0.4",
"sinon-chai": "^3.7.0",
"source-map-support": "^0.5.21",
"typescript": "~5.0.4"
}
}