-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
161 lines (161 loc) · 4.1 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"name": "cosmos",
"version": "0.1.2",
"description": "",
"main": "index.js",
"scripts": {
"lint": "eslint src/**/*.ts",
"clean": "rm -rf ./build",
"format": "prettier --check 'src/**/*.ts'",
"format:fix": "npm run format -- --write",
"start": "node build/server.js",
"prebuild": "npm run clean",
"build": "ttsc -p tsconfig.build.json",
"dev": "nodemon",
"test": "jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/odpf/cosmos.git"
},
"author": "",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/odpf/cosmos/issues"
},
"homepage": "https://github.com/odpf/cosmos#readme",
"devDependencies": {
"@types/confidence": "^1.4.30",
"@types/faker": "^5.5.6",
"@types/glob": "^7.1.3",
"@types/hapi__glue": "^6.1.3",
"@types/hapi__h2o2": "^8.3.2",
"@types/hapi__hapi": "^20.0.8",
"@types/hapi__inert": "^5.2.2",
"@types/hapi__vision": "^5.5.2",
"@types/jest": "^26.0.23",
"@types/mongoose": "^5.11.96",
"@types/newrelic": "^7.0.1",
"@types/node": "^15.12.1",
"@types/qs": "^6.9.6",
"@types/ramda": "^0.27.40",
"@types/rosie": "^0.0.39",
"@types/uuid": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"eslint": "^7.28.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-typescript": "^2.4.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-prettier": "^3.4.0",
"faker": "^5.5.3",
"jest": "^27.0.4",
"nodemon": "^2.0.7",
"prettier": "^2.3.1",
"rosie": "^2.1.0",
"ts-jest": "^27.0.3",
"ts-node": "^10.0.0",
"tsconfig-paths": "^3.9.0",
"ttypescript": "^1.5.12",
"typescript": "^4.3.2",
"typescript-transform-paths": "^2.2.4"
},
"dependencies": {
"@cubejs-backend/bigquery-driver": "0.27.30",
"@cubejs-backend/mysql-driver": "0.27.30",
"@cubejs-backend/postgres-driver": "0.27.30",
"@cubejs-backend/query-orchestrator": "0.27.30",
"@cubejs-backend/schema-compiler": "0.27.30",
"@cubejs-backend/server-core": "0.27.30",
"@hapi/boom": "^9.1.2",
"@hapi/glue": "^8.0.0",
"@hapi/h2o2": "^9.1.0",
"@hapi/hapi": "^20.1.3",
"@hapi/hoek": "^9.2.0",
"@hapi/inert": "^6.0.3",
"@hapi/vision": "^6.1.0",
"confidence": "^5.0.1",
"glob": "^7.1.7",
"hapi-swagger": "^14.1.3",
"joi": "^17.4.0",
"laabr": "^6.1.3",
"mongoose": "^5.12.13",
"newrelic": "^7.5.0",
"qs": "^6.10.1",
"ramda": "^0.27.1",
"uuid": "^8.3.2"
},
"nodemonConfig": {
"watch": [
"src"
],
"ext": "ts",
"exec": "ts-node -r tsconfig-paths/register --files src/server.ts"
},
"jest": {
"testMatch": [
"**/(__tests__|tests)/**/*.[jt]s?(x)",
"src/**/?(*.)+(spec|test).[jt]s?(x)"
],
"preset": "ts-jest",
"testEnvironment": "node",
"moduleNameMapper": {
"^tests/(.*)": "<rootDir>/tests/$1",
"^src/(.*)": "<rootDir>/src/$1"
},
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/tests/factories"
],
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{js,ts}"
]
},
"prettier": {
"trailingComma": "none",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"printWidth": 80
},
"eslintConfig": {
"env": {
"browser": true,
"es2021": true,
"jest": true
},
"extends": [
"airbnb-base",
"prettier",
"plugin:prettier/recommended",
"plugin:import/typescript",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"import/extensions": "off",
"import/prefer-default-export": "off",
"import/no-unresolved": "error"
},
"settings": {
"import/resolver": {
"typescript": {}
}
},
"ignorePatterns": [
"build/**/*.js"
]
},
"directories": {
"test": "tests"
}
}