forked from jeffijoe/awilix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (133 loc) · 3.71 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "awilix",
"version": "4.3.3",
"description": "Extremely powerful dependency injection container.",
"main": "lib/awilix.js",
"module": "lib/awilix.module.js",
"jsnext:main": "lib/awilix.module.js",
"browser": "lib/awilix.browser.js",
"umd:main": "lib/awilix.umd.js",
"react-native": "lib/awilix.browser.js",
"typings": "lib/awilix.d.ts",
"engines": {
"node": ">=6.0.0"
},
"scripts": {
"build": "rimraf lib && tsc -p tsconfig.build.json && rollup -c",
"check": "tsc -p tsconfig.json --noEmit --pretty",
"test": "npm run check && jest",
"lint": "npm run check && tslint --project tsconfig.json --fix \"{src,examples}/**/*.ts\" && prettier --write \"{src,examples}/**/*.{ts,js}\"",
"precommit": "lint-staged && npm test",
"cover": "npm run test -- --coverage",
"coveralls": "npm run cover && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"publish:pre": "npm run lint && npm run build && npm run cover",
"publish:post": "npm publish && git push --follow-tags",
"release:prerelease": "npm run publish:pre && npm version prerelease && npm run publish:post",
"release:patch": "npm run publish:pre && npm version patch && npm run publish:post",
"release:minor": "npm run publish:pre && npm version minor && npm run publish:post",
"release:major": "npm run publish:pre && npm version major && npm run publish:post"
},
"files": [
"lib",
"LICENSE.md",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/jeffijoe/awilix.git"
},
"keywords": [
"dependency-injection",
"di",
"container",
"soc",
"service-locator"
],
"author": "Jeff Hansen <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/jeffijoe/awilix/issues"
},
"homepage": "https://github.com/jeffijoe/awilix#readme",
"devDependencies": {
"@babel/core": "^7.12.17",
"@babel/plugin-transform-runtime": "^7.12.17",
"@babel/preset-env": "^7.12.17",
"@babel/runtime": "^7.12.18",
"@types/glob": "^7.1.3",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.31",
"@types/prettier": "^2.2.1",
"babel-jest": "^26.6.3",
"coveralls": "^3.1.0",
"husky": "^4.3.4",
"istanbul": "^0.4.5",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"rollup": "^2.39.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-typescript2": "^0.30.0",
"smid": "^0.1.1",
"ts-jest": "^26.5.1",
"tslib": "^2.1.0",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^9.0.0",
"typescript": "^4.1.5"
},
"dependencies": {
"camel-case": "^4.1.2",
"glob": "^7.1.6",
"rollup-plugin-copy": "^3.4.0"
},
"lint-staged": {
"*.ts": [
"tslint --project tsconfig.json --fix",
"prettier --write",
"git add"
]
},
"prettier": {
"semi": false,
"singleQuote": true
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"browsers": "last 2 versions",
"node": "8.0.0"
}
}
]
],
"plugins": [
"@babel/plugin-transform-runtime"
]
},
"jest": {
"testRegex": "(/__tests__/.*\\.(test|spec))\\.(ts|tsx|js)$",
"testEnvironment": "node",
"coveragePathIgnorePatterns": [
"/node_modules/",
"__tests__",
"lib",
"src/load-module-native.js"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^.+\\.jsx?$": "babel-jest"
}
}
}