-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
149 lines (149 loc) · 5.31 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
140
141
142
143
144
145
146
147
148
149
{
"name": "@tv2media/v-connection",
"version": "7.3.4",
"description": "Sofie TV Automation Vizrt Media Sequencer Engine connection library",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/tv2/v-connection.git"
},
"keywords": [
"broadcast",
"graphics",
"Vizrt",
"automation",
"production",
"open",
"source"
],
"contributors": [
{
"name": "Johan Nyman",
"email": "[email protected]",
"url": "http://superfly.tv"
},
{
"name": "Richard Cartwright",
"email": "[email protected]",
"url": "https://superfly.tv"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/tv2/v-connection/issues"
},
"scripts": {
"prepare": "husky install",
"info": "npm-scripts-info",
"cleancache": "yarn cache clean atem-connection atem-state casparcg-connection casparcg-state superfly-timeline",
"unlink:all": "yarn unlink atem-connection & yarn unlink atem-state & yarn unlink casparcg-connection & yarn unlink casparcg-state & yarn unlink superfly-timeline",
"installclean": "yarn unlink:all & yarn cleancache && yarn --check-files",
"buildclean": "yarn installclean && yarn build",
"build": "rimraf dist && yarn build:main",
"buildtest": "yarn build && jest",
"build:main": "tsc -p tsconfig.build.json",
"lint": "eslint . --ext .ts --ext .js --ext .tsx --ext .jsx --ignore-pattern dist --ignore-pattern docs",
"lint-fix": "yarn lint --fix",
"unitci": "jest",
"unit": "jest",
"testci": "yarn test",
"test": "yarn lint && yarn build && yarn unit",
"test:integration": "yarn lint && jest --config=jest-integration.config.js",
"watch": "jest --watch",
"cov": "jest --coverage; open-cli coverage/lcov-report/index.html",
"cov-open": "open-cli coverage/lcov-report/index.html",
"send-coverage": "yarn testci && codecov",
"docs": "yarn docs:html && open-cli docs/index.html",
"docs:test": "yarn docs:html",
"docs:html": "typedoc src/index.ts --excludePrivate --out docs",
"docs:json": "typedoc --json docs/typedoc.json src/index.ts",
"docs:publish": "yarn docs:html && gh-pages -d docs",
"changelog": "standard-version",
"release": "yarn reset && yarn testci && yarn docs:publish && yarn changelog",
"prepareChangelog": "standard-version --prerelease",
"reset": "git clean -dfx && git reset --hard && yarn",
"ci": "yarn testci",
"validate:dependencies": "yarn audit --groups dependencies && yarn license-validate",
"validate:dev-dependencies": "yarn audit --groups devDependencies",
"license-validate": "yarn sofie-licensecheck"
},
"scripts-info": {
"info": "Display information about the scripts",
"installclean": "Remove yarn.lock, cleare yarn cache, and reinstall",
"build": "(Trash and re)build the library",
"build:main": "Builds main build command without trash.",
"lint": "Lint all typescript source files",
"unit": "Build the library and run unit tests",
"test": "Lint, build, and test the library",
"test:integration": "Integration tests. Work in progress",
"watch": "Watch source files, rebuild library on changes, rerun relevant tests",
"cov": "Run tests, generate the HTML coverage report, and open it in a browser",
"cov-open": "Open current test coverage",
"send-coverage": "send coverage to codecov",
"docs": "Generate HTML API documentation and open it in a browser",
"docs:test": "Running the docs generation for testing.",
"docs:html": "Generate HTML documentation",
"docs:json": "Generate API documentation in typedoc JSON format",
"docs:publish": "Generate HTML API documentation and push it to GitHub Pages",
"changelog": "Bump package.json version, update CHANGELOG.md, tag a release",
"release": "Clean, build, test, publish docs, and prepare release (a one-step publish process). Updates versions and creates git commits.",
"reset": "Delete all untracked files and reset the repo to the last commit",
"ci": "Test script for running by the CI (CircleCI)",
"validate:dependencies": "Scan dependencies for vulnerabilities and check licenses",
"validate:dev-dependencies": "Scan dependencies for vulnerabilities in dev dependencies",
"license-validate": "Validate licenses for dependencies.",
"watch-server": "Run HTTP server and restart when changes are made."
},
"engines": {
"node": ">=14.19"
},
"prettier": "@sofie-automation/code-standard-preset/.prettierrc.json",
"lint-staged": {
"*.{css,json,md,scss}": [
"prettier --write"
],
"*.{ts,tsx,js,jsx}": [
"yarn lint-fix"
]
},
"files": [
"/dist",
"/CHANGELOG.md",
"/README.md",
"/LICENSE"
],
"dependencies": {
"got": "11.8.6",
"uuid": "^8.3.2",
"ws": "^7.5.10",
"xml2js": "^0.6.2"
},
"devDependencies": {
"@sofie-automation/code-standard-preset": "^2.0.2",
"@types/jest": "^26.0.20",
"@types/koa": "^2.11.6",
"@types/koa-bodyparser": "^4.3.0",
"@types/node": "^12.19.15",
"@types/uuid": "^8.3.0",
"@types/ws": "^7.4.0",
"@types/xml2js": "^0.4.8",
"@types/yargs": "^15.0.12",
"codecov": "^3.8.1",
"gh-pages": "^3.1.0",
"jest": "^26.6.3",
"jest-haste-map": "^26.6.2",
"jest-resolve": "^26.6.2",
"koa": "^2.13.1",
"koa-bodyparser": "^4.3.0",
"npm-scripts-info": "^0.3.9",
"open-cli": "^6.0.1",
"rimraf": "^3.0.2",
"standard-version": "^9.1.0",
"ts-jest": "^26.4.4",
"ts-node": "^9.1.1",
"typedoc": "^0.22.17",
"typescript": "~4.5",
"yargs": "^16.2.0"
}
}