-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.7 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.7 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
{
"name": "inviterbot",
"version": "3.1.0",
"description": "Modernized Slack invite bot for public communities",
"repository": "hangops/inviterbot",
"license": "MIT",
"main": "./lib/index.js",
"bin": {
"slackin": "./bin/slackin.js"
},
"files": [
"assets/*.{css,js,svg,png,ico}",
"bin/slackin.js",
"lib/*.js",
"views/*.pug"
],
"dependencies": {
"@slack/web-api": "^7.15.0",
"args": "^5.0.1",
"body-parser": "^1.19.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"debug": "^4.3.1",
"dotenv": "^8.2.0",
"email-regex": "^4.0.0",
"express": "^4.17.1",
"express-rate-limit": "^8.3.1",
"helmet": "^8.1.0",
"micromatch": "^4.0.2",
"morgan": "^1.10.0",
"pug": "^3.0.2",
"serve-favicon": "^2.5.0",
"tinycolor2": "^1.4.2"
},
"devDependencies": {
"autoprefixer": "^10.2.5",
"lockfile-lint": "^4.6.2",
"mocha": "^11.7.5",
"nock": "^13.0.11",
"nodemon": "^3.1.14",
"postcss": "^8.2.8",
"postcss-cli": "^8.3.1",
"sass": "^1.32.8",
"stylelint": "^16.26.1",
"stylelint-config-standard": "^36.0.1",
"stylelint-config-standard-scss": "^13.1.0",
"supertest": "^6.1.3",
"xo": "^2.0.2"
},
"engines": {
"node": ">=22"
},
"scripts": {
"dev": "nodemon --watch assets/ --watch lib/ --watch scss/ --ext js,scss,svg --exec \"npm run build && npm start\"",
"lint": "npm run lint:css && npm run lint:js && npm run lint:lockfile",
"lint:css": "stylelint \"{assets,scss}/*.{css,scss}\"",
"lint:js": "xo --ignore 'assets/**/*.js'",
"lint:lockfile": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
"mocha": "mocha --require ./test/setup --exit",
"test": "npm run build && npm run lint && npm run mocha",
"build": "npm run build:sass && npm run build:prefix",
"build:sass": "sass --style compressed --no-source-map --no-error-css scss/:assets/",
"build:prefix": "postcss --use autoprefixer --no-map --replace \"assets/*.css\" \"!assets/iframe-button.css\"",
"start": "node ./bin/slackin.js",
"prepublishOnly": "npm run build"
},
"xo": {
"space": true,
"rules": {
"camelcase": "off",
"capitalized-comments": "off",
"no-undef": "off",
"unicorn/prevent-abbreviations": "off",
"unicorn/prefer-module": "off",
"unicorn/prefer-node-protocol": "off",
"unicorn/prefer-event-target": "off",
"n/prefer-global/process": "off",
"import-x/extensions": "off",
"require-unicode-regexp": "off",
"@stylistic/object-curly-spacing": ["error", "never"],
"@stylistic/semi": ["error", "always"],
"complexity": ["warn", 30]
}
}
}