-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 2.65 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
{
"name": "@mailbots/mailbots-sdk",
"version": "4.12.0-beta",
"description": "JS SDK for access to MailBots APIs – node.js and browser",
"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 --require @babel/polyfill",
"test:live": "echo '\nTesting against live api set within .env \n\n'; SERVER=true NOCK_OFF=true mocha -t 5000 --require @babel/register --require @babel/polyfill",
"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": "^0.21.1",
"concurrently": "^5.2.0",
"moment": "^2.29.0",
"moment-timezone": "^0.5.31",
"query-string": "^6.11.1",
"simple-oauth2": "3.1.0",
"unix-timestamp": "0.2.0",
"url-join": "4.0.1"
},
"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "7.7.2",
"@babel/polyfill": "7.7.0",
"@babel/preset-env": "7.7.1",
"@babel/register": "7.7.0",
"babel-loader": "8.0.6",
"babel-plugin-minify-dead-code-elimination": "0.5.1",
"babel-plugin-transform-define": "2.0.0",
"chai": "4.2.0",
"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"
},
"husky": {
"hooks": {
"pre-push": ""
}
}
}