forked from notifme/notifme-sdk
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
88 lines (88 loc) · 2.48 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
{
"name": "arkime-notifme-sdk",
"version": "1.11.4",
"description": "Unified notification SDK (emails, SMS, webpushes...) for Node.js",
"main": "lib/index.js",
"repository": "https://github.com/arkime/notifme-sdk",
"author": "Notif.me",
"license": "MIT",
"scripts": {
"build": "yarn run clean && babel src --out-dir lib && yarn run build-dot-flow",
"build-dot-flow": "grep -rwl './src' -e 'export type' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/lib\\//g'`.flow; done",
"clean": "rm -rf lib/ coverage/",
"demo": "notification-catcher & babel-node examples/with-notification-catcher.js && printf '\n>>> Please visit http://localhost:1080 <<<\n\n'",
"dev": "nodemon -e js -r babel-register examples/with-notification-catcher.js",
"lint": "yarn run flow && standard",
"lint-fix": "standard --fix",
"run-catcher": "notification-catcher",
"prepublish": "yarn run build",
"size": "echo 'Notif.me build size:' && du -hs lib/ && cost-of-modules --yarn",
"test": "yarn run lint && yarn run testonly",
"testonly": "jest"
},
"dependencies": {
"form-data": "4.0.0",
"https-proxy-agent": "5.0.0",
"node-fetch": "2.6.7",
"nodemailer": "^6.9.9",
"web-push": "^3.5.0",
"winston": "3.3.3"
},
"devDependencies": {
"@babel/cli": "7.23.0",
"@babel/core": "7.23.0",
"@babel/eslint-parser": "^7.17.0",
"@babel/node": "7.22.19",
"@babel/preset-env": "^7.12.17",
"@babel/preset-flow": "7.22.15",
"@babel/preset-typescript": "7.23.0",
"@typescript-eslint/parser": "6.7.4",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^28.1.3",
"cost-of-modules": "1.0.1",
"eslint": "^8.28.0",
"flow-bin": "0.217.2",
"jest": "^28.1.3",
"nodemon": "2.0.4",
"notification-catcher": "1.2.1",
"regenerator-runtime": "0.13.7",
"standard": "14.3.4"
},
"files": [
"lib"
],
"standard": {
"parser": "babel-eslint",
"ignore": [
"**/node_modules/**",
"**/lib/**",
"**/flow/**"
]
},
"jest": {
"testEnvironment": "node",
"collectCoverage": true,
"coverageReporters": [
"text-summary",
"html",
"lcov"
],
"collectCoverageFrom": [
"**/src/**/*.js",
"!**/src/util/**"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"greenkeeper": {
"ignore": [
"flow-bin"
]
}
}