-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.6 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
{
"name": "tipc",
"version": "2.1.0",
"repository": {
"type": "git",
"url": "git+https://github.com/gikkman/tipc.git"
},
"homepage": "https://github.com/gikkman/tipc",
"bugs": "https://github.com/gikkman/tipc/issues",
"description": "A wrapper around websockets which allows using a mapped type as a contract. As long as the server and client shares this contract types, neither can send nor receive incorrect typed data.",
"author": {
"name": "Gikkman",
"url": "http://www.github.com/gikkman"
},
"main": "./dist/cjs/index.node.js",
"module": "./dist/mjs/index.node.js",
"browser": "./dist/umd/index.browser.js",
"exports": {
".": {
"node": {
"types": "./dist/mjs/index.node.d.ts",
"import": "./dist/mjs/index.node.js",
"require": "./dist/cjs/index.node.js"
},
"default": {
"types": "./dist/umd/index.browser.d.ts",
"import": "./dist/umd/index.browser.js"
}
},
"./cjs": {
"types": "./dist/cjs/index.node.d.ts",
"import": "./dist/cjs/index.node.js",
"require": "./dist/cjs/index.node.js"
},
"./mjs": {
"types": "./dist/mjs/index.node.d.ts",
"import": "./dist/mjs/index.node.js",
"require": "./dist/mjs/index.node.js"
},
"./browser": {
"types": "./dist/umd/index.browser.d.ts",
"import": "./dist/umd/index.browser.js"
}
},
"scripts": {
"lint": "eslint .",
"test": "jasmine --config=jasmine.json",
"example:electron": "cd example-electron && npm install && npm run build && npm run start",
"example:browser": "cd example-browser && npm install && npm run build && npm run start",
"compile": "rm -rf dist && npm run compile:cjs && npm run compile:mjs && npm run compile:umd && ./fixup.sh",
"compile:cjs": "tsc -p config/tsconfig.cjs.json",
"compile:mjs": "tsc -p config/tsconfig.mjs.json",
"compile:umd": "tsc -p config/tsconfig.browser.json",
"prepublishOnly": "npm run compile"
},
"files": [
"dist",
"src",
"LICENSE",
"README.md",
"package.json",
"!**/*.tsbuildinfo"
],
"keywords": [],
"license": "Apache-2.0",
"devDependencies": {
"@types/jasmine": "^4.0.3",
"@types/node": "^18.0.6",
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"eslint": "^8.41.0",
"eslint-plugin-editorconfig": "^4.0.3",
"jasmine": "^4.2.1",
"jasmine-spec-reporter": "^7.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.7.4",
"ws": "^8.0.0"
},
"peerDependencies": {
"typescript": ">= 4.7.x",
"ws": ">=8.0.0"
}
}