forked from RocketChat/Rocket.Chat
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
160 lines (160 loc) · 3.97 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "Rocket.Chat",
"description": "The Ultimate Open Source WebChat Platform",
"version": "0.48.2",
"author": {
"name": "Rocket.Chat",
"url": "https://rocket.chat/"
},
"contributors": [
{
"name": "Aaron Ogle",
"email": "aaron.ogle@rocket.chat"
},
{
"name": "Bradley Hilton",
"email": "bradley.hilton@rocket.chat"
},
{
"name": "Diego Sampaio",
"email": "diego.sampaio@rocket.chat"
},
{
"name": "Gabriel Engel",
"email": "gabriel.engel@rocket.chat"
},
{
"name": "Marcelo Schmidt",
"email": "marcelo.schmidt@rocket.chat"
},
{
"name": "Rodrigo Nascimento",
"email": "rodrigo.nascimento@rocket.chat"
},
{
"name": "Sing Li",
"email": "sing.li@rocket.chat"
}
],
"keywords": [
"rocketchat",
"rocket",
"chat"
],
"scripts": {
"start": "meteor npm i && meteor",
"lint": "eslint .",
"test": "node .scripts/start.js",
"deploy": "npm run build && pm2 startOrRestart pm2.json",
"chimp-watch": "chimp --ddp=http://localhost:3000 --watch --mocha --path=tests/steps",
"chimp-test": "chimp --ddp=http://localhost:3000 --mocha --path=tests/steps",
"lg:start": "test \"$NODE_ENV\" = 'development' && npm run lg:start:dev || npm run start:prod",
"lg:start:prod": "test \"$NODE_ENV\" = 'development' || npm run lg:start:server",
"lg:start:dev": "set -a ; source ./.env ; set +a && meteor npm install && npm run lg:start:server",
"lg:start:server": "meteor || echo 'Done.'",
"lg:lint": "./node_modules/.bin/xo './packages/rocketchat-lg-*/**/*.js'",
"lg:test:cov": "npm run lg:test:cov:run && npm run lg:test:cov:send",
"lg:test:cov:run": "NODE_ENV=test ./node_modules/.bin/nyc --reporter=lcov npm run lg:test:run",
"lg:test:cov:send": "./node_modules/.bin/codeclimate-test-reporter < ./tests/coverage/lcov.info",
"lg:test:run": "NODE_ENV=test ./node_modules/.bin/babel-tape-runner './**/__tests__/*.test.js'",
"lg:test": "npm run lg:lint && npm run lg:test:run --"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/RocketChat/Rocket.Chat.git"
},
"bugs": {
"url": "https://github.com/RocketChat/Rocket.Chat/issues",
"email": "support@rocket.chat"
},
"devDependencies": {
"babel-cli": "^6.11.4",
"babel-core": "^6.11.4",
"babel-polyfill": "^6.9.1",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-2": "^6.11.0",
"babel-tape-runner": "^2.0.1",
"chimp": "^0.41.2",
"chimp": "^0.44.0",
"codeclimate-test-reporter": "^0.3.3",
"eslint": "^3.10.2",
"eslint": "^3.11.1",
"faucet": "0.0.1",
"nyc": "^7.1.0",
"pre-commit": "^1.1.3",
"supertest": "^2.0.1",
"tape": "^4.6.0",
"xo": "^0.15.1"
},
"dependencies": {
"jquery": "^2.1.0",
"babel-runtime": "^6.20.0",
"bcrypt": "^1.0.1",
"moment": "^2.17.1",
"moment-timezone": "^0.5.10",
"toastr": "^2.1.2"
},
"babel": {
"env": {
"test": {
"only": [
"packages/rocketchat-lg-*/**/*.js"
],
"presets": [
"es2015",
"stage-2"
],
"sourceMap": "inline"
}
}
},
"xo": {
"rules": {
"comma-dangle": [
0
],
"no-negated-condition": [
0
],
"quotes": [
2,
"single",
"avoid-escape"
],
"xo/filename-case": 0
},
"globals": [
"Accounts",
"ChatMessage",
"HTTP",
"Meteor",
"Npm",
"Package",
"Random",
"RavenLogger",
"Restivus",
"RocketChat",
"Session",
"Template",
"Tracker"
],
"esnext": true,
"space": true,
"semicolon": false
},
"nyc": {
"all": true,
"include": [
"packages/rocketchat-lg-*/**/*.js"
],
"require": [
"babel-core/register",
"babel-polyfill"
],
"report-dir": "./tests/coverage"
},
"precommit": [
"lg:lint"
]
}