-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
126 lines (126 loc) · 3.64 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
{
"name": "motimize",
"version": "0.0.0",
"description": "Motimize is open sourced image optimizer web service.",
"main": "lib/index.js",
"license": "MIT",
"dependencies": {
"boom": "^7.2.0",
"bull": "^3.4.8",
"dotenv": "^6.0.0",
"download": "^7.1.0",
"express": "^4.16.3",
"file-type": "^9.0.0",
"gridfs-stream": "^1.1.1",
"imagemin": "^6.0.0",
"imagemin-jpeg-recompress": "^5.1.0",
"imagemin-jpegtran": "^5.0.2",
"imagemin-mozjpeg": "^7.0.0",
"imagemin-pngquant": "^6.0.0",
"joi": "^13.6.0",
"mime-types": "^2.1.20",
"mysql2": "^1.6.1",
"nconf": "^0.10.0",
"node-uuid": "^1.4.8",
"pg": "^7.4.3",
"pg-hstore": "^2.3.2",
"read-chunk": "^3.0.0",
"request": "^2.88.0",
"request-promise": "^4.2.2",
"sequelize": "^4.38.0",
"sequelize-cli": "^4.1.1",
"sqlite3": "^4.0.2",
"tempfile": "^2.0.0",
"winston": "^2.4.4"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/node": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/register": "^7.0.0",
"babel-plugin-dynamic-import-node": "^2.1.0",
"eslint": "^5.5.0",
"eslint-config-prettier": "^3.0.1",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsdoc": "^3.8.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-promise": "^4.0.0",
"eslint-plugin-standard": "^4.0.0",
"gulp": "4.0.0",
"gulp-eslint": "^5.0.0",
"gulp-notify": "^3.2.0",
"nodemon": "^1.18.4",
"prettier": "^1.14.2"
},
"bin": {
"motimize": "./lib/index.js"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "8"
}
}
]
],
"plugins": [
"@babel/plugin-syntax-dynamic-import",
"dynamic-import-node"
]
},
"eslintConfig": {
"extends": [
"standard",
"prettier",
"prettier/standard"
],
"plugins": [
"standard",
"prettier",
"jsdoc"
],
"rules": {
"prettier/prettier": "error",
"jsdoc/check-param-names": "error",
"jsdoc/check-tag-names": "error",
"jsdoc/check-types": "error",
"jsdoc/newline-after-description": "error",
"jsdoc/require-description-complete-sentence": "error",
"jsdoc/require-hyphen-before-param-description": "error",
"jsdoc/require-param": "error",
"jsdoc/require-param-description": "error",
"jsdoc/require-param-type": "error",
"jsdoc/require-returns-description": "error",
"jsdoc/require-returns-type": "error",
"require-jsdoc": [
"error",
{
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true,
"ArrowFunctionExpression": true
}
}
],
"valid-jsdoc": "error"
}
},
"scripts": {
"watch": "NODE_ENV=development gulp watch --require @babel/register --gulpfile tasks",
"build": "NODE_ENV=development npx babel src -d lib --copy-files",
"start:dev:web": "NODE_ENV=development nodemon --exec babel-node src/index.js",
"start:dev:worker": "NODE_ENV=development nodemon --exec babel-node src/index.js --type=worker",
"start:web": "NODE_ENV=production node lib/index.js",
"start:worker": "NODE_ENV=production node lib/index.js --type=worker",
"db:migrate": "NODE_ENV=production npx sequelize db:migrate --config lib/config/sequalize-cli.js --migrations-path lib/migrations"
}
}