-
Notifications
You must be signed in to change notification settings - Fork 46
/
package.json
90 lines (90 loc) · 2.87 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
{
"name": "emailjs-tcp-socket",
"version": "2.0.2",
"main": "dist/socket",
"description": "This shim brings the W3C Raw Socket API to node.js and Chromium. Its purpose is to enable apps to use the same api in Firefox OS, Chrome OS, and on the server.",
"repository": {
"type": "git",
"url": "git://github.com/emailjs/emailjs-tcp-socket.git"
},
"author": "Felix Hammerl",
"maintainers": [
{
"name": "Felix Hammerl",
"email": "felix.hammerl@gmail.com"
}
],
"license": "MIT",
"scripts": {
"build": "npm run build-worker && rm -rf dist && babel src --out-dir dist --ignore '**/*-unit.js' --source-maps inline",
"build-worker": "rm -f res/tls.worker.blob && npx webpack --config webpack.config.worker.js -p && mv res/tls.worker.js res/tls.worker.blob",
"lint": "npx standard",
"preversion": "npm run build",
"test": "npm run lint && npm run unit && npm run integration",
"unit": "npx mocha './src/*-unit.js' --reporter spec --require babel-register --require babel-polyfill testutils.js",
"integration": "npm run integration-ws && npm run integration-node",
"integration-node": "NODE_TLS_REJECT_UNAUTHORIZED=0 npx mocha './test/node/node-integration.js' --require testutils.js",
"integration-ws": "npm run build && npx webpack --config webpack.config.test.js -p && npx wdio wdio.conf.js",
"integration-chrome": "npm run build && cp node_modules/chai/chai.js node_modules/mocha/mocha.js node_modules/mocha/mocha.css test/chrome/ && npx webpack --config webpack.config.chrome.js && npx babel-node test/chrome/run.js"
},
"bugs": {
"url": "https://github.com/emailjs/emailjs-tcp-socket/issues"
},
"homepage": "https://github.com/emailjs/emailjs-tcp-socket",
"dependencies": {
"node-forge": "^0.8.4",
"ramda": "^0.26.1"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-loader": "^8.0.6",
"babel-plugin-inline-import": "^3.0.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-register": "^6.26.0",
"chai": "^4.2.0",
"chrome-launcher": "^0.10.7",
"chromedriver": "^74.0.0",
"emailjs-tcp-proxy": "^1.0.2",
"hoodiecrow-imap": "^2.1.0",
"mocha": "^6.1.4",
"pre-commit": "^1.2.2",
"sinon": "^7.3.2",
"standard": "^12.0.1",
"wdio-chromedriver-service": "^5.0.1",
"wdio-mocha-framework": "^0.6.4",
"webdriverio": "^5.10.0",
"webpack": "^4.33.0",
"webpack-cli": "^3.3.3",
"ws": "^7.0.0"
},
"standard": {
"globals": [
"describe",
"it",
"before",
"beforeEach",
"afterEach",
"after",
"expect",
"sinon",
"self",
"Worker",
"URL",
"Blob",
"chrome",
"Windows",
"postMessage",
"io",
"browser"
],
"ignore": [
"dist"
]
},
"pre-commit": [
"test",
"integration-chrome"
]
}