-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 3.07 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
{
"name": "@headless-architecture/node-red-contrib-slack-bolt",
"version": "1.1.5",
"description": "Control your Slack App via Node-Red! Slack Bolt integration.",
"keywords": [
"Slack",
"Slack-bolt",
"node-red",
"microservice",
"notification"
],
"scripts": {
"add-node": "node ./utils/add-node.js",
"copy": "copyfiles -u 2 \"./src/nodes/**/*.{png,svg}\" \"./dist/nodes/\"",
"build:editor": "rollup -c rollup.config.mjs",
"build:editor:watch": "rollup -c rollup.config.mjs -w --bundleConfigAsCjs",
"build:runtime": "tsc -p tsconfig.runtime.json",
"build:runtime:watch": "tsc -p tsconfig.runtime.watch.json --watch --preserveWatchOutput",
"build": "rm -rf dist && yarn copy && yarn build:editor && yarn build:runtime",
"test": "jest --forceExit --detectOpenHandles --colors",
"test:watch": "jest --forceExit --detectOpenHandles --watchAll",
"dev": "rm -rf dist && yarn copy && concurrently --kill-others --names 'COPY,EDITOR,RUNTIME,TEST' --prefix '({name})' --prefix-colors 'yellow.bold,cyan.bold,greenBright.bold,magenta.bold' 'onchange -v \"src/**/*.png\" \"src/**/*.svg\" -- yarn copy' 'yarn build:editor:watch' 'yarn build:runtime:watch'",
"lint": "prettier --ignore-path .eslintignore --check '**/*.{js,ts,md}'; eslint --ext .js,.ts .",
"lint:fix": "prettier --ignore-path .eslintignore --write '**/*.{js,ts,md}'; eslint --ext .js,.ts . --fix"
},
"author": "David Hohl",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/fishme/node-red-contrib-slack-bolt.git"
},
"engines": {
"node": ">=18.0.0",
"npm": ">=8.19.4"
},
"node-red": {
"version": ">=3.0.0",
"nodes": {
"slack-bolt-registry": "./dist/nodes/slack-bolt-registry/slack-bolt-registry.js",
"slack-bolt-message": "./dist/nodes/slack-bolt-message/slack-bolt-message.js",
"slack-bolt-app": "./dist/nodes/slack-bolt-app/slack-bolt-app.js"
}
},
"dependencies": {
"@slack/bolt": "^3.16.0"
},
"devDependencies": {
"@rollup/plugin-typescript": "^11.0.0",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.0",
"@types/node": "^20.10.5",
"@types/node-red": "^1.3.4",
"@types/node-red-node-test-helper": "^0.3.3",
"@types/sinon": "^17.0.2",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"colorette": "^2.0.19",
"concurrently": "^8.0.1",
"copyfiles": "^2.4.1",
"eslint": "^8.37.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^5.0.1",
"glob": "^10.3.10",
"jest": "^29.5.0",
"mustache": "^4.2.0",
"node-red": "^3.1.3",
"node-red-node-test-helper": "^0.3.2",
"onchange": "^7.1.0",
"prettier": "^3.1.1",
"rollup": "^4.9.1",
"ts-jest": "^29.0.5",
"typescript": "^5.3.3"
},
"jest": {
"testEnvironment": "node",
"roots": [
"<rootDir>/src"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"testMatch": [
"**/__tests__/**/*.test.ts"
]
}
}