-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
129 lines (129 loc) · 2.75 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": "dagger-di",
"private": true,
"workspaces": [
"packages/*"
],
"description": "Declarative dependency injection using Javascript decorators",
"scripts": {
"release": "lerna publish",
"lint": "eslint . --format=codeframe",
"test": "jest --notify",
"codecov": "jest --bail --ci --silent --collectCoverage=true --coverageReporters='lcov'"
},
"author": "Philip Bui",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/philip-bui/dagger.git"
},
"homepage": "https://github.com/philip-bui/dagger#readme",
"bugs": {
"url": "https://github.com/philip-bui/dagger/issues"
},
"main": "index.js",
"files": [
"packages/core/src"
],
"keywords": [
"dependency",
"injection",
"dependency injection",
"di",
"decorators",
"annotation",
"inversion of control",
"dependency inversion",
"dagger",
"daggerjs",
"loose coupling",
"declarative",
"react",
"frontend",
"nodejs",
"backend",
"module",
"mock",
"stub",
"unit",
"test"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
"@scarf/scarf": "^1.0.5",
"reflect-metadata": "*"
},
"devDependencies": {
"@babel/core": "^7.8.6",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/preset-env": "^7.8.6",
"babel-jest": "^27.0.1",
"babel-plugin-parameter-decorator": "^1.0.16",
"eslint-config-react-native-lit": "^1.0.2",
"husky": "^6.0.0",
"jest": "^27.0.1",
"lerna": "^4.0.0",
"lint-staged": "^11.0.0",
"prettier": "^1.18.2",
"reflect-metadata": "^0.1.13"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && jest --bail --ci --onlyChanged --notify"
}
},
"lint-staged": {
"*.js": "eslint --fix --format=codeframe"
},
"eslintConfig": {
"extends": [
"react-native-lit"
],
"parserOptions": {
"ecmaFeatures": {
"legacyDecorators": true
}
},
"rules": {
"no-underscore-dangle": 0,
"no-shadow": [
"error",
{
"allow": [
"_"
]
}
]
},
"settings": {
"import/core-modules": [
"@dagger-js/core"
],
"import/resolver": {
"node": {
"moduleDirectory": [
"node_modules",
"test/utils"
]
}
}
}
},
"jest": {
"clearMocks": true,
"collectCoverageFrom": [
"packages/**/*.js"
],
"moduleNameMapper": {
"@dagger-js/([^/]+)": "<rootDir>/packages/$1/src"
},
"moduleDirectories": [
"node_modules",
"test/utils"
],
"testEnvironment": "node"
}
}