forked from adieuadieu/serverless-chrome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
130 lines (130 loc) · 2.96 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
{
"name": "serverless-chrome",
"version": "1.0.0",
"description": "Run headless Chrome, serverless-ly",
"main": "handler.js",
"engines": {
"node": ">= 6.10.0"
},
"config": {
"jsSrc": "src/"
},
"scripts": {
"test": "npm run lint && nyc ava",
"watch:test": "ava --watch",
"ava": "ava",
"lint": "npm run lint:eslint -s",
"lint:eslint": "eslint $npm_package_config_jsSrc",
"coverage": "nyc report",
"deploy": "serverless deploy -v",
"postinstall": "if [ ! -f ./config.js ]; then UUID=$(openssl rand -base64 32 | tr -d \"/=+\"); echo \"export default {uuid: \\\"$UUID\\\"}\" > ./config.js; fi"
},
"repository": {
"type": "git",
"url": "https://github.com/adieuadieu/serverless-chrome.git"
},
"keywords": [
"serverless",
"chrome",
"headless"
],
"author": "Marco Lüthy",
"license": "MIT",
"bugs": {
"url": "https://github.com/adieuadieu/serverless-chrome/issues"
},
"homepage": "https://github.com/adieuadieu/serverless-chrome",
"dependencies": {
"aws-sdk": "^2.49.0",
"chrome-remote-interface": "^0.22.0",
"got": "^6.7.1",
"ps-node": "^0.1.6",
"uuid": "^3.0.1"
},
"devDependencies": {
"ava": "^0.19.1",
"babel-core": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.0.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.23.0",
"babel-preset-env": "^1.4.0",
"babel-preset-stage-3": "^6.24.1",
"babel-register": "^6.24.1",
"babel-runtime": "^6.23.0",
"codacy-coverage": "^2.0.2",
"coveralls": "^2.13.1",
"decompress": "^4.1.0",
"eslint": "^3.19.0",
"eslint-config-airbnb-base": "^11.1.3",
"eslint-plugin-ava": "^4.2.0",
"eslint-plugin-import": "2.2.0",
"eslint-plugin-promise": "^3.5.0",
"eslint-tap": "^2.0.0",
"exports-loader": "^0.6.4",
"imports-loader": "^0.7.1",
"json-loader": "0.5.4",
"nyc": "^10.3.2",
"serverless": "^1.12.1",
"serverless-webpack": "^1.0.0-rc.4",
"tap-xunit": "^1.7.0",
"webpack": "1.14.0"
},
"ava": {
"require": "babel-register",
"babel": "inherit"
},
"babel": {
"sourceMaps": "inline",
"plugins": [
"transform-runtime"
],
"presets": [
[
"env",
{
"targets": {
"node": 6.1
}
}
],
"stage-3"
]
},
"eslintConfig": {
"parser": "babel-eslint",
"plugins": [
"ava",
"import"
],
"extends": [
"airbnb-base",
"plugin:ava/recommended"
],
"settings": {
"import/parser": "babel-eslint",
"import/resolve": {
"moduleDirectory": [
"node_modules",
"src",
"./"
]
}
},
"rules": {
"no-console": 0,
"semi": [
"error",
"never"
],
"comma-dangle": [
"error",
"always-multiline"
],
"space-before-function-paren": [
"error",
"always"
]
}
}
}