forked from notifme/notifme-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.5 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": "notifme-sdk",
"version": "1.11.0",
"description": "Unified notification SDK (emails, SMS, pushes, webpushes...) for Node.js",
"main": "lib/index.js",
"repository": "https://github.com/notifme/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": {
"babel-runtime": "6.26.0",
"form-data": "4.0.0",
"https-proxy-agent": "5.0.0",
"node-fetch": "2.6.1",
"node-pushnotifications": "1.7.1",
"nodemailer": "6.6.2",
"web-push": "3.4.5",
"winston": "3.3.3"
},
"devDependencies": {
"babel-cli": "6.26.0",
"babel-eslint": "10.1.0",
"babel-jest": "26.3.0",
"babel-plugin-transform-flow-strip-types": "6.22.0",
"babel-plugin-transform-runtime": "6.23.0",
"babel-preset-env": "1.7.0",
"babel-preset-stage-2": "6.24.1",
"babel-register": "6.26.0",
"cost-of-modules": "1.0.1",
"flow-bin": "0.89.0",
"jest": "23.6.0",
"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/providers/push/**",
"!**/src/util/**"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"greenkeeper": {
"ignore": [
"flow-bin"
]
}
}