forked from jeffijoe/awilix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
129 lines (129 loc) · 3.59 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
{
"name": "awilix",
"version": "4.2.2",
"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.4.3",
"@babel/plugin-transform-runtime": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@babel/runtime": "^7.4.3",
"@types/glob": "^7.1.1",
"@types/jest": "^24.0.11",
"@types/node": "^11.13.7",
"@types/prettier": "^1.16.3",
"babel-jest": "^24.7.1",
"coveralls": "^3.0.3",
"husky": "^1.3.1",
"istanbul": "^0.4.5",
"jest": "^24.7.1",
"lint-staged": "^8.1.5",
"prettier": "^1.17.0",
"rollup": "^1.10.1",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-node-resolve": "^4.2.3",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-typescript2": "^0.21.0",
"smid": "^0.1.1",
"ts-jest": "^24.0.2",
"tslint": "^5.16.0",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^3.4.5"
},
"dependencies": {
"camel-case": "^3.0.0",
"glob": "^7.1.3"
},
"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"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^.+\\.jsx?$": "babel-jest"
}
}
}