-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
57 lines (57 loc) · 1.53 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
{
"name": "spider-less",
"version": "1.0.0",
"description": "Spider on serverless",
"main": "src/index.js",
"repository": "https://github.com/slashbit/spider-less",
"author": "slashbit",
"license": "MIT",
"engines": {
"node": ">= 6.14.2",
"npm": ">= 3.10.10"
},
"engineStrict": true,
"scripts": {
"lint": "./node_modules/eslint/bin/eslint.js src/**/*.js",
"sls": "./node_modules/serverless/bin/serverless",
"start": "yarn sls offline start --port 8090",
"deploy": "yarn lint && yarn sls deploy",
"log": "yarn sls logs -t --function",
"invoke": "yarn sls invoke --function",
"invoke:local": "yarn sls invoke local --env IS_LOCAL=true --function"
},
"pre-commit": [
"lint"
],
"test": "echo \"test\"",
"dependencies": {
"body-parser": "^1.18.2",
"bufferhelper": "^0.2.1",
"cheerio": "^1.0.0-rc.2",
"dayjs": "^1.7.7",
"express": "^4.16.2",
"express-validation": "^1.0.2",
"iconv-lite": "^0.4.19",
"joi": "12",
"morgan": "^1.9.0",
"request": "^2.83.0",
"serverless-http": "^1.5.2",
"signale": "^1.3.0",
"uuid": "^3.1.0"
},
"devDependencies": {
"aws-sdk": "^2.168.0",
"eslint": "^4.14.0",
"eslint-config-standard": "^11.0.0-beta.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-node": "^5.2.1",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-standard": "^3.0.1",
"pre-commit": "^1.2.2",
"serverless": "^1.60.5",
"serverless-offline": "^3.16.0"
},
"signale": {
"displayTimestamp": true
}
}