-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.73 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 2.73 KB
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
{
"name": "@mailbots/mailbots-sdk",
"version": "4.13.0-beta.1",
"description": "JS SDK for access to MailBots APIs – node.js and browser",
"engines": {
"node": ">=18.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/mailbots/mailbots-sdk-js.git"
},
"main": "lib-node/mailbots-sdk.js",
"browser": "lib-browser/mailbots-sdk.js",
"typings": "typings/mailbots-sdk.d.ts",
"directories": {
"test": "test"
},
"files": [
"lib-browser",
"lib-node",
"dist",
"typings",
"readme"
],
"scripts": {
"test": "echo '⚠️ Running against mocked requests' && SERVER=true mocha --require @babel/register",
"test:live": "echo '\nTesting against live api set within .env \n\n'; SERVER=true NOCK_OFF=true mocha -t 5000 --require @babel/register",
"test:rebuild": "REBUILD_MOCKS=true npm run test:live",
"build": "npm run build:node && npm run build:browser && npm run build:dist",
"build:watch": "concurrently \"npm run build:node -- --watch\" \"npm run build:browser -- --watch\"",
"build:node": "rimraf lib-node && SERVER=true babel --out-dir lib-node src",
"build:browser": "rimraf lib-browser && SERVER=false babel --out-dir lib-browser src",
"build:dist": "rimraf dist && SERVER=false webpack",
"build:docs": "documentation -c documentation.yml -f html build src/* -o docs && cd docs && now --static && echo '\n Run: \n\n now alias mailbots-sdk-js.mailbots.com\n'",
"dev:docs": "documentation -c documentation.yml serve --watch src/* ",
"prepublishOnly": "npm run build",
"publish": "git push && git push --tags && npm publish"
},
"author": "Reilly Sweetland @rsweetland",
"license": "MIT",
"dependencies": {
"axios": "^1.7.9",
"query-string": "^6.11.1",
"simple-oauth2": "3.1.0",
"unix-timestamp": "0.2.0",
"url-join": "4.0.1"
},
"devDependencies": {
"@babel/cli": "^7.26.10",
"@babel/core": "^7.26.10",
"@babel/preset-env": "^7.26.10",
"@babel/register": "^7.26.10",
"babel-loader": "^8.4.1",
"babel-plugin-minify-dead-code-elimination": "^0.5.2",
"babel-plugin-transform-define": "^2.1.4",
"chai": "^4.2.0",
"concurrently": "^5.2.0",
"core-js": "^3.38.1",
"debug": "^4.1.1",
"documentation": "^12.1.4",
"dotenv": "^8.2.0",
"husky": "^3.1.0",
"mocha": "^6.2.2",
"nock": "^11.7.0",
"node-libs-browser": "^2.2.1",
"rimraf": "^3.0.0",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10"
},
"peerDependencies": {
"moment": ">=2.24.0",
"moment-timezone": ">=0.5.27"
},
"peerDependenciesMeta": {
"moment": {
"optional": true
},
"moment-timezone": {
"optional": true
}
},
"husky": {
"hooks": {
"pre-push": ""
}
}
}