-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 2.51 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 2.51 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
{
"name": "postmessage-promise",
"version": "3.2.1",
"author": "FrominXu",
"description": "postmessage-promise is a client-server like, WebSocket like, full Promise syntax supported postMessage library. 一个类 client-server 模式、类 WebSocket like 模式、全 Promise 语法支持的 postMessage 库",
"license": "MIT",
"types": "index.d.ts",
"main": "build/postmessage-promise.cjs.js",
"module": "build/postmessage-promise.esm.js",
"unpkg": "build/postmessage-promise.umd.js",
"repository": {
"type": "git",
"url": "git@github.com:FrominXu/postmessagejs.git"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"postmessage",
"async postmessage",
"postmessage.then"
],
"scripts": {
"prepare": "npm run lint && npm run build",
"lint": "eslint --ext .js src/",
"precommit": "npm run lint",
"build": "npm run build:all",
"build:all": "rollup -c",
"build:js": "babel src --out-dir lib",
"dev": "cd examples && npm i && npm run serve",
"start": "cd examples && npm run serve"
},
"dependencies": {
"@babel/runtime": "^7.12.5"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.24.5",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/plugin-proposal-do-expressions": "^7.10.4",
"@babel/plugin-proposal-export-default-from": "^7.10.4",
"@babel/plugin-proposal-export-namespace-from": "^7.10.4",
"@babel/plugin-proposal-function-bind": "^7.10.5",
"@babel/plugin-proposal-function-sent": "^7.10.4",
"@babel/plugin-proposal-json-strings": "^7.10.4",
"@babel/plugin-proposal-logical-assignment-operators": "^7.11.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
"@babel/plugin-proposal-numeric-separator": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@babel/plugin-proposal-pipeline-operator": "^7.10.5",
"@babel/plugin-proposal-throw-expressions": "^7.10.4",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.24.5",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"babel-eslint": "^8.2.2",
"eslint": "^7.6.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1",
"rollup": "^2.79.1"
}
}