This repository was archived by the owner on Sep 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
154 lines (154 loc) · 4.15 KB
/
package.json
File metadata and controls
154 lines (154 loc) · 4.15 KB
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
{
"name": "slack-first",
"displayName": "Slack First",
"version": "1.5.1",
"description": "Slack First is a chat-bot for Operate First",
"homepage": "https://github.com/tumido/slack-first",
"main": "dist/app.js",
"author": {
"name": "Tom Coufal",
"url": "https://github.com/tumido"
},
"bugs": {
"url": "https://github.com/tumido/slack-first/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/tumido/slack-first.git"
},
"license": "GPL-3.0-or-later",
"private": true,
"scripts": {
"build": "tsc",
"start": "node dist/app.js",
"lint": "eslint src --ext ts",
"dev": "concurrently \"tsc -w\" \"nodemon -r dotenv/config dist/app.js\"",
"pretest": "npm run lint",
"test": "nyc mocha",
"s2i:build": "rm -rf build && mkdir -p build && s2i build . registry.access.redhat.com/ubi8/nodejs-18 --as-dockerfile build/Dockerfile && podman build build -t slack-first:latest",
"test:scan": "npm run test && sonar-scanner -Dsonar.projectKey=tumido:slack-first -Dsonar.sources=. -Dsonar.exclusions=**/*.spec.ts -Dsonar.host.url=http://localhost:9000 -Dsonar.login=$SONAR_LOGIN -Dsonar.javascript.lcov.reportPaths=coverage/lcov.info"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "1.0.2",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "9.0.4",
"@types/chai": "4.3.5",
"@types/js-yaml": "4.0.5",
"@types/mocha": "10.0.1",
"@types/rewire": "2.5.28",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"chai": "4.3.7",
"concurrently": "8.2.0",
"dotenv": "16.3.1",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-prettier": "4.2.1",
"mocha": "10.2.0",
"nodemon": "3.0.1",
"nyc": "15.1.0",
"prettier": "2.8.8",
"rewire": "6.0.0",
"ts-node": "10.9.1",
"typescript": "5.1.6"
},
"dependencies": {
"@octokit/auth-app": "5.0.6",
"@octokit/rest": "19.0.13",
"@octokit/webhooks": "12.0.3",
"@slack/bolt": "3.13.2",
"date-fns": "2.30.0",
"eslint": "8.45.0",
"express": "4.18.2",
"js-yaml": "4.1.0",
"node-watch": "0.7.3"
},
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"prettier"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"env": {
"node": true
},
"rules": {
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "property",
"format": [
"strictCamelCase"
],
"filter": {
"regex": "thread_ts|(_id$)|private_metadata|initial_value|message_ts|delete_original|image_url|alt_text|min_query_length|unfurl_links|response_action|issue_number",
"match": false
}
}
],
"@typescript-eslint/semi": "warn",
"curly": "warn",
"eqeqeq": "warn",
"no-throw-literal": "warn",
"semi": "error",
"@typescript-eslint/ban-ts-comment": "off"
}
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 4,
"semi": true,
"singleQuote": true
},
"release": {
"branches": "main",
"verifyConditions": [
"@semantic-release/github"
],
"publish": [
"@semantic-release/github"
],
"success": [
"@semantic-release/github"
],
"fail": [
"@semantic-release/github"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
]
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
"include": [
"src/**/*.ts"
],
"exclude": [
"**/*.spec.ts"
],
"reporter": [
"text-summary",
"lcov"
]
},
"mocha": {
"require": "ts-node/register",
"spec": "src/**/*.spec.ts"
}
}