-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 2.29 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
{
"name": "send-channel-message",
"version": "1.0.3",
"description": "Simple function that allow to pass messages to separate script in different browsing context and get back result data as a Promise.",
"license": "MIT",
"author": "Andrey Barkalov <barkadron@mail.ru>",
"keywords": [
"Send Channel Message",
"Channel Messaging",
"PostMessage",
"MessageChannel",
"Port",
"Promise"
],
"homepage": "https://github.com/barkadron/send-channel-message#readme",
"repository": "https://github.com/barkadron/send-channel-message.git",
"browser": "lib/index.js",
"module": "es/index.js",
"files": [
"src",
"lib",
"es",
"dist"
],
"scripts": {
"clean": "rimraf lib dist es .nyc_output coverage",
"lint": "eslint src test",
"test": "cross-env BABEL_ENV=commonjs mocha --require @babel/register --reporter spec test/*.test.js",
"test:coverage": "rimraf .nyc_output coverage && nyc --reporter=lcov --reporter=text npm test",
"test:coverage:coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
"build": "npm run build:commonjs && npm run build:umd && npm run build:umd:min && npm run build:es",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack",
"build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack",
"prepare": "npm run clean && npm run lint && npm run test && npm run build",
"prepublishOnly": "safe-publish-latest"
},
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
"@babel/preset-env": "^7.2.3",
"@babel/register": "^7.0.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.4",
"camelcase": "^5.0.0",
"chai": "^4.2.0",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"eslint": "^5.11.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-loader": "^2.1.1",
"eslint-plugin-import": "^2.14.0",
"istanbul": "^0.4.5",
"mocha": "^5.2.0",
"nyc": "^13.1.0",
"rimraf": "^2.6.2",
"safe-publish-latest": "^1.1.2",
"webpack": "^4.28.2",
"webpack-cli": "^3.1.2"
}
}