forked from emedvedev/slackin-extended
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 3.73 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
{
"name": "slackin-extended",
"version": "2.2.1",
"description": "Public Slack organizations made easy",
"repository": "emedvedev/slackin-extended",
"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": {
"args": "^5.0.1",
"autoprefixer": "^10.2.5",
"body-parser": "^1.19.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"debug": "^4.3.1",
"dotenv": "^8.2.0",
"email-regex": "^4.0.0",
"errorhandler": "^1.5.1",
"express": "^4.17.1",
"hostenv": "3.13.0",
"micromatch": "^4.0.4",
"morgan": "^1.10.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.2.10",
"postcss-cli": "^8.3.1",
"pug": "^3.0.2",
"resolve-pkg": "^2.0.0",
"sass": "^1.32.8",
"serve-favicon": "^2.5.0",
"socket.io": "^2.4.1",
"superagent": "^3.8.3",
"tinycolor2": "^1.4.2"
},
"devDependencies": {
"lockfile-lint": "^4.6.2",
"mocha": "^8.3.2",
"nock": "^13.0.11",
"nodemon": "^2.0.7",
"stylelint": "^13.12.0",
"stylelint-config-twbs-bootstrap": "^2.1.0",
"supertest": "^6.1.3",
"xo": "^0.38.2"
},
"engines": {
"node": "14.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 \"{assets,scss}/*.{css,scss}\"",
"lint:js": "xo",
"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-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\"",
"now-build": "npm run build && cp node_modules/superagent/superagent.js assets",
"start": "cross-env-shell node ./bin/slackin.js $SLACK_SUBDOMAIN $SLACK_API_TOKEN --coc \\\"$SLACKIN_COC\\\" --channels \\\"$SLACKIN_CHANNELS\\\"",
"prepublishOnly": "npm run build"
},
"xo": {
"esnext": true,
"space": true,
"rules": {
"arrow-parens": [
"error",
"always"
],
"camelcase": "off",
"capitalized-comments": "off",
"comma-dangle": "off",
"curly": [
"error",
"multi-line"
],
"object-curly-spacing": [
"error",
"always"
],
"operator-linebreak": [
"error",
"before"
],
"spaced-comment": "off",
"unicorn/explicit-length-check": "off",
"unicorn/no-array-for-each": "off",
"unicorn/prevent-abbreviations": "off",
"wrap-iife": [
"error",
"outside"
]
},
"overrides": [
{
"files": "test/*.js",
"envs": [
"mocha"
]
},
{
"files": "assets/*.js",
"parserOptions": {
"ecmaVersion": 3,
"sourceType": "script"
},
"esnext": false,
"envs": [
"browser"
],
"rules": {
"no-multi-assign": "off",
"semi": "off",
"unicorn/no-for-loop": "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"
}
}
]
}
}