forked from onsip/SIP.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
92 lines (92 loc) · 4.27 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
{
"name": "sip.js",
"title": "SIP.js",
"description": "A simple, intuitive, and powerful JavaScript signaling library",
"version": "0.15.10",
"license": "MIT",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"homepage": "https://sipjs.com",
"author": "OnSIP <[email protected]> (https://sipjs.com/aboutus/)",
"contributors": [
{
"url": "https://github.com/onsip/SIP.js/blob/master/THANKS.md"
}
],
"repository": {
"type": "git",
"url": "https://github.com/onsip/SIP.js.git"
},
"keywords": [
"sip",
"webrtc",
"library",
"websocket",
"javascript",
"typescript"
],
"dependencies": {
"crypto-js": "^3.1.9-1",
"events": "^3.0.0",
"tslib": "^1.10.0"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.7.2",
"@microsoft/api-extractor": "^7.7.0",
"@types/crypto-js": "^3.1.43",
"@types/events": "^3.0.0",
"@types/jasmine": "^3.5.0",
"circular-dependency-plugin": "^5.2.0",
"jasmine-core": "^3.5.0",
"karma": "^4.4.1",
"karma-chrome-launcher": "^3.1.0",
"karma-cli": "^2.0.0",
"karma-jasmine": "^2.0.1",
"karma-jasmine-html-reporter": "^1.4.2",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^4.0.2",
"mock-socket": "^9.0.2",
"pegjs": "^0.10.0",
"ts-loader": "^6.2.1",
"ts-pegjs": "0.2.6",
"tslint": "^5.20.1",
"typescript": "^3.6.4",
"webpack": "^4.41.3",
"webpack-cli": "^3.3.10"
},
"engines": {
"node": ">=8.0"
},
"scripts": {
"prebuild": "npm run lint",
"generate-grammar": "node build/grammarGenerator.js",
"build-reg-bundle": "webpack --progress --config build/webpack.config.js --env.buildType reg",
"build-min-bundle": "webpack --progress --config build/webpack.config.js --env.buildType min",
"build-bundles": "npm run build-reg-bundle && npm run build-min-bundle",
"build-demo": "npm run generate-grammar && webpack --progress --config demo/webpack.config.js",
"build-lib": "tsc -p src",
"build-test": "tsc -p test",
"copy-dist-files": "cp dist/sip.js dist/sip-$npm_package_version.js && cp dist/sip.min.js dist/sip-$npm_package_version.min.js",
"build": "npm run generate-grammar && npm run build-lib && npm run build-reg-bundle && npm run build-min-bundle && npm run copy-dist-files",
"browserTest": "npm run build-test && sleep 2 && open http://0.0.0.0:9876/debug.html & karma start --reporters kjhtml --no-single-run",
"commandLineTest": "npm run build-test && karma start --reporters mocha --browsers ChromeHeadless --single-run",
"buildAndTest": "npm run build && npm run commandLineTest",
"buildAndBrowserTest": "npm run build && npm run browserTest",
"extract-api": "api-extractor run --local --verbose --config src/api/api-extractor.json",
"extract-core": "api-extractor run --local --verbose --config src/core/api-extractor.json",
"extract-simple-user": "api-extractor run --local --verbose --config src/platform/web/simple-user/api-extractor.json",
"document-api": "api-documenter markdown --input-folder ./temp/api --output-folder ./temp/docs/api",
"document-core": "api-documenter markdown --input-folder ./temp/core --output-folder ./temp/docs/core",
"document-simple-user": "api-documenter markdown --input-folder ./temp/simple-user --output-folder ./temp/docs/simple-user",
"document-copy-api": "rm -rf ./docs/api/sip.js.* && cp ./temp/docs/api/* ./docs/api",
"document-copy-core": "rm -rf ./docs/core/sip.js.* && cp ./temp/docs/core/* ./docs/core",
"document-copy-simple-user": "rm -rf ./docs/simple-user/sip.js.* && cp ./temp/docs/simple-user/* ./docs/simple-user",
"build-docs-api": "npm run extract-api && npm run document-api && npm run document-copy-api",
"build-docs-core": "npm run extract-core && npm run document-core && npm run document-copy-core",
"build-docs-simple-user": "npm run extract-simple-user && npm run document-simple-user && npm run document-copy-simple-user",
"build-docs": "npm run build-lib && npm run build-docs-api && npm run build-docs-core && npm run build-docs-simple-user",
"lint": "tslint -p tsconfig-base.json -c tslint.json",
"version": "sed -i '' \"s/LIBRARY_VERSION = .*/LIBRARY_VERSION = \\\"$npm_package_version\\\";/\" src/version.ts"
}
}