-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
143 lines (143 loc) · 3.85 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
{
"name": "slackin-extended",
"version": "2.0.0",
"description": "Public Slack organizations made easy",
"repository": "emedvedev/slackin-extended",
"license": "MIT",
"main": "./lib/index.js",
"bin": {
"slackin": "./bin/slackin"
},
"files": [
"assets/*.{css,js,svg,png,ico}",
"bin/slackin",
"lib/*.js",
"views/*.pug"
],
"dependencies": {
"args": "^5.0.1",
"body-parser": "^1.19.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"debug": "^4.1.1",
"dotenv": "^8.2.0",
"email-regex": "^4.0.0",
"express": "^4.17.1",
"hostenv": "^2.3.0",
"micromatch": "^4.0.2",
"pug": "^3.0.1",
"serve-favicon": "^2.5.0",
"socket.io": "^4.7.0",
"superagent": "^8.0.9",
"tinycolor2": "^1.4.1"
},
"devDependencies": {
"autoprefixer": "^10.4.14",
"cross-env": "^7.0.2",
"mocha": "^10.2.0",
"nock": "^13.3.1",
"nodemon": "^2.0.2",
"npm-run-all": "^4.1.5",
"postcss-cli": "^10.1.0",
"sass": "^1.26.3",
"stylelint": "^15.9.0",
"stylelint-config-twbs-bootstrap": "^10.0.0",
"supertest": "^6.3.3",
"xo": "^0.54.2"
},
"resolutions": {
"semver": "^7.5.3"
},
"engines": {
"node": "> 16.x"
},
"scripts": {
"dev": "nodemon --watch assets/ --watch lib/ --watch scss/ --ext js,scss,svg --exec \"npm-run-all build start\"",
"lint": "npm-run-all --parallel --continue-on-error lint:*",
"lint:css": "stylelint \"scss/*.scss\"",
"lint:js": "xo",
"mocha": "mocha --require ./test/setup --exit",
"test": "npm-run-all build lint mocha",
"build": "npm-run-all build:*",
"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": "cross-env-shell node ./bin/slackin $SLACK_SUBDOMAIN $SLACK_API_TOKEN --coc \\\"$SLACKIN_COC\\\" --channels \\\"$SLACKIN_CHANNELS\\\""
},
"xo": {
"space": true,
"rules": {
"arrow-parens": [
"error",
"always"
],
"camelcase": "off",
"capitalized-comments": "off",
"comma-dangle": "off",
"curly": [
"error",
"multi-line"
],
"import/order": [
"error",
{
"groups": ["builtin", "external", "parent", "sibling", "index"],
"newlines-between": "always"
}
],
"import/extensions": "off",
"object-curly-spacing": [
"error",
"always"
],
"operator-linebreak": [
"error",
"before"
],
"spaced-comment": "off",
"unicorn/explicit-length-check": "off",
"unicorn/no-array-for-each": "off",
"unicorn/numeric-separators-style": "off",
"unicorn/prefer-module": "off",
"unicorn/prevent-abbreviations": "off",
"unicorn/prefer-top-level-await": "off",
"wrap-iife": [
"error",
"outside"
]
},
"overrides": [
{
"files": "test/*.js",
"envs": [
"mocha"
]
},
{
"files": "assets/*.js",
"parserOptions": {
"ecmaVersion": 3,
"sourceType": "script"
},
"envs": [
"browser"
],
"rules": {
"no-multi-assign": "off",
"no-var": "off",
"object-shorthand": "off",
"prefer-arrow-callback": "off",
"prefer-destructuring": "off",
"semi": "off",
"unicorn/no-for-loop": "off",
"unicorn/numeric-separators-style": "off",
"unicorn/prefer-dom-node-append": "off",
"unicorn/prefer-dom-node-remove": "off",
"unicorn/prefer-math-trunc": "off",
"unicorn/prefer-modern-dom-apis": "off",
"unicorn/prefer-query-selector": "off",
"unicorn/prefer-string-starts-ends-with": "off"
}
}
]
}
}