-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.json
139 lines (139 loc) · 4.62 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "netflux",
"description": "Peer to peer isomorphic transport API based on WebRTC and WebSocket. Allows to create/join full mesh network",
"version": "0.0.0-development",
"license": "AGPL-3.0",
"main": "dist/netflux.node.es5.cjs.js",
"module": "dist/netflux.node.es5.esm.js",
"browser": "dist/netflux.browser.es5.esm.js",
"es2015": "dist/netflux.browser.es2015.esm.js",
"esnext": "dist/netflux.browser.esnext.esm.js",
"types": "dist/types/src/index.node.d.ts",
"homepage": "https://coast-team.github.io/netflux",
"repository": {
"type": "git",
"url": "https://github.com/coast-team/netflux.git"
},
"author": "Philippe Kalitine <[email protected]> (https://philippe.kalitine.name/)",
"bugs": {
"url": "https://github.com/coast-team/netflux/issues"
},
"engines": {
"node": ">=8.1.4"
},
"keywords": [
"WebRTC",
"WebSocket",
"p2p",
"peer",
"network",
"topology",
"fullmesh"
],
"files": [
"dist/"
],
"scripts": {
"build": "rm -rf dist && rollup --config",
"postbuild": "mkdir dist/types/src/proto && cp src/proto/index.d.ts dist/types/src/proto",
"pretest": "rollup -c test/util/rollup.config.js && pm2 --silent restart test/util/process.yml --only netflux-test-signaling && pm2 restart test/util/process.yml --only netflux-test-bot ",
"test": "karma start",
"posttest": "pm2 --silent delete test/util/process.yml",
"test:chrome": "npm test -- --browsers Chrome",
"test:firefox": "npm test -- --browsers Firefox",
"test:travis": "npm run build && npm test -- -- travis",
"test:debug": "npm test -- -- debug",
"proto": "pbjs -t static-module -w es6 --no-verify --no-delimited --no-convert src/proto/index.proto -o src/proto/index.js && pbts src/proto/index.js -o src/proto/index.d.ts",
"postproto": "rollup -c rollup.config.proto.js",
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once",
"predoc": "rm -rf ./docs; tsc -p tsconfig.json --outDir docs/jsFromTs --target esnext --declaration --sourceMap false --removeComments false",
"doc": "esdoc -c esdoc.json",
"lint": "tslint --fix -p tsconfig.json && prettier --write --list-different 'manual/**/*.md' 'src/**/*.ts' 'test/**/*.{ts,config.js}' './*.{ts,js,json,md}' && markdownlint ./*.md manual/*.md manual/**/*.md",
"precommit": "lint-staged && npm test -- -- precommit-githook",
"commitmsg": "commitlint -e $GIT_PARAMS",
"cz": "git-cz"
},
"peerDependencies": {
"rxjs": "^6.2.0",
"text-encoding": "^0.6.4",
"uws": "10.148.1"
},
"devDependencies": {
"@commitlint/cli": "^7.1.2",
"@commitlint/config-conventional": "^7.1.2",
"@types/jasmine": "^2.8.8",
"@types/text-encoding": "0.0.33",
"@types/uws": "^0.13.2",
"commitizen": "^2.10.1",
"cz-conventional-changelog": "^2.1.0",
"esdoc": "^1.1.0",
"esdoc-inject-style-plugin": "^1.0.0",
"esdoc-standard-plugin": "^1.0.0",
"husky": "^0.14.3",
"jasmine": "^3.2.0",
"jasmine-core": "^3.2.1",
"jasmine-spec-reporter": "^4.1.0",
"json": "^9.0.3",
"karma": "^3.0.0",
"karma-chrome-launcher": "^2.0.0",
"karma-firefox-launcher": "^1.1.0",
"karma-jasmine": "^1.1.2",
"karma-spec-reporter": "0.0.32",
"karma-typescript": "^3.0.13",
"kcors": "^2.2.2",
"koa": "^2.5.2",
"koa-router": "^7.4.0",
"lint-staged": "^7.2.2",
"markdownlint-cli": "^0.13.0",
"pm2": "^3.0.4",
"prettier": "^1.14.2",
"protobufjs": "^6.8.8",
"rollup": "^0.65.2",
"rollup-plugin-cleanup": "^3.0.0",
"rollup-plugin-commonjs": "^9.1.6",
"rollup-plugin-filesize": "^4.0.1",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-re": "^1.0.7",
"rollup-plugin-typescript2": "^0.17.0",
"rxjs": "^6.3.2",
"semantic-release": "^15.9.12",
"sigver": "^20.0.2",
"text-encoding": "^0.6.4",
"travis-deploy-once": "^5.0.7",
"tslib": "^1.9.3",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"typescript": "^3.0.3",
"uws": "10.148.1",
"webrtc-adapter": "^6.3.2"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"linters": {
"*.md": [
"prettier --write --list-different",
"git add",
"markdownlint"
],
"*.ts": [
"tslint --fix -p tsconfig.json -e src/proto/* -e docs/*",
"git add"
],
"*.{ts,json,scss,css}": [
"prettier --write --list-different",
"git add"
]
},
"concurrent": false
}
}