forked from PeerJ/slamscan
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
94 lines (94 loc) · 4.37 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
{
"name": "slamscan",
"description": "Use lambda to scan s3 files on upload. S3 LAMbda clamSCAN",
"version": "3.0.15",
"author": {
"name": "Randy Tarampi",
"email": "[email protected]",
"url": "https://www.randytarampi.ca"
},
"bugs": {
"url": "https://github.com/randytarampi/slamscan/issues",
"email": "[email protected]"
},
"dependencies": {
"@randy.tarampi/lambda-logger": "^7.0.0",
"@randy.tarampi/serverless": "^7.0.0",
"clamscan": "^1.3.3",
"md5": "^2.3.0",
"snyk": "^1.518.0",
"temp": "^0.9.4"
},
"devDependencies": {
"@babel/cli": "^7.12.8",
"@babel/core": "^7.12.8",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-transform-property-literals": "^7.12.1",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.12.7",
"@babel/register": "^7.12.1",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
"babel-plugin-istanbul": "^6.0.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-minify-replace": "^0.5.0",
"chai": "^4.2.0",
"coveralls": "^3.1.0",
"cross-env": "^7.0.2",
"del": "^6.0.0",
"eslint": "^7.14.0",
"eslint-plugin-import": "^2.22.1",
"gulp": "^4.0.2",
"gulp-eslint": "^6.0.0",
"gulp-if": "^3.0.0",
"gulp-mocha": "^7.0.2",
"mocha": "^8.2.1",
"mocha-junit-reporter": "^2.0.0",
"nyc": "^15.1.0",
"semantic-release": "^17.3.0",
"serverless": "^2.13.0",
"serverless-mocha-plugin": "^1.12.0",
"serverless-webpack": "^5.3.5",
"sinon": "^9.2.1",
"vinyl-paths": "^3.0.1",
"webpack": "^5.7.0",
"webpack-bundle-analyzer": "^4.1.0",
"webpack-cli": "^4.2.0",
"webpack-node-externals": "^2.5.2"
},
"engines": {
"node": ">=10",
"yarn": ">=1"
},
"license": "MIT",
"private": true,
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/randytarampi/slamscan.git"
},
"scripts": {
"clean": "gulp -LLLL --color clean",
"cover": "yarn run cover:actual; yarn run cover:collect",
"cover:actual": "yarn run cover:gulp && yarn run cover:sls",
"cover:collect": "mkdir -p .nyc_output/ && cp -r .nyc_output-gulp/* .nyc_output && cp -r .nyc_output-sls/* .nyc_output && nyc report --reporter=lcov",
"cover:gulp": "cross-env-shell NODE_ENV=test SLAMSCAN_CLAMSCAN_BINARY_PATH=${SLAMSCAN_CLAMSCAN_BINARY_PATH:=$(which clamscan)} SLAMSCAN_FRESHCLAM_BINARY_PATH=${SLAMSCAN_FRESHCLAM_BINARY_PATH:=$(which freshclam)} SLAMSCAN_FRESHCLAM_CONFIG_PATH=${SLAMSCAN_FRESHCLAM_CONFIG_PATH:=$PWD/build/etc/freshclam.conf} nyc --temp-dir .nyc_output-gulp gulp -LLLL --color test",
"cover:sls": "cross-env-shell NODE_ENV=test SLAMSCAN_CLAMSCAN_BINARY_PATH=${SLAMSCAN_CLAMSCAN_BINARY_PATH:=$(which clamscan)} SLAMSCAN_FRESHCLAM_BINARY_PATH=${SLAMSCAN_FRESHCLAM_BINARY_PATH:=$(which freshclam)} SLAMSCAN_FRESHCLAM_CONFIG_PATH=${SLAMSCAN_FRESHCLAM_CONFIG_PATH:=$PWD/build/etc/freshclam.conf} nyc --temp-dir .nyc_output-sls sls invoke test --path test/sls",
"coveralls": "cat coverage/lcov.info | coveralls",
"deploy": "cross-env-shell NODE_ENV=production sls deploy --stage deploy",
"postinstall": "./bin/build.sh",
"precover": "yarn run pretest",
"prepare": "yarn run snyk-protect",
"pretest": "gulp -LLLL --color lint",
"remove": "sls remove --stage deploy",
"seed": "sls invoke --stage deploy --function updateDefinitions",
"snyk-protect": "snyk protect",
"test": "yarn run test:actual",
"test:actual": "yarn run test:actual:gulp && yarn run test:actual:sls",
"test:actual:gulp": "cross-env-shell NODE_ENV=test SLAMSCAN_CLAMSCAN_BINARY_PATH=${SLAMSCAN_CLAMSCAN_BINARY_PATH:=$(which clamscan)} SLAMSCAN_FRESHCLAM_BINARY_PATH=${SLAMSCAN_FRESHCLAM_BINARY_PATH:=$(which freshclam)} SLAMSCAN_FRESHCLAM_CONFIG_PATH=${SLAMSCAN_FRESHCLAM_CONFIG_PATH:=$PWD/build/etc/freshclam.conf} gulp -LLLL --color test",
"test:actual:sls": "cross-env-shell NODE_ENV=test SLAMSCAN_CLAMSCAN_BINARY_PATH=${SLAMSCAN_CLAMSCAN_BINARY_PATH:=$(which clamscan)} SLAMSCAN_FRESHCLAM_BINARY_PATH=${SLAMSCAN_FRESHCLAM_BINARY_PATH:=$(which freshclam)} SLAMSCAN_FRESHCLAM_CONFIG_PATH=${SLAMSCAN_FRESHCLAM_CONFIG_PATH:=$PWD/build/etc/freshclam.conf} sls invoke test --path test/sls --compilers js:./babel.register.js"
},
"snyk": false
}