-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
executable file
·145 lines (145 loc) · 5.7 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
{
"name": "@tv2media/inews-gateway",
"version": "46.3.2-staging",
"description": "",
"main": "dist/index.js",
"contributors": [
{
"name": "Johan Nyman",
"email": "[email protected]",
"url": "http://superfly.tv"
},
{
"name": "Stephan Nordnes Eriksen",
"url": "https://github.com/stephan-nordnes-eriksen"
}
],
"engines": {
"npm": ">=6.14.4",
"node": ">=14.19.0"
},
"author": "SuperFly.tv",
"scripts": {
"start": "cross-env NODE_ENV=production node ./dist",
"start:dev": "cross-env NODE_ENV=development node ./dist",
"start:local": "cross-env NODE_ENV=local node ./dist",
"info": "npm-scripts-info",
"build": "trash dist && yarn build:main",
"build:dev": "trash dist && yarn build:main",
"buildstart": "yarn build && yarn start",
"buildstart:dev": "yarn build:dev && DEV=true yarn start",
"buildinspect": "yarn build && yarn inspect",
"buildinspect:dev": "yarn build && DEV=true yarn inspect",
"build:main": "tsc -p tsconfig.json",
"lint": "prettier --check .",
"lint-fix": "prettier --write .",
"test": "jest --coverage",
"test:integration": "jest --config=jest-integration.config.js",
"watch": "cross-env NODE_ENV=development nodemon .",
"test-watch": "jest --watch",
"cov": "jest; open-cli coverage/lcov-report/index.html",
"cov-open": "open-cli coverage/lcov-report/index.html",
"send-coverage": "jest && codecov",
"docs": "yarn docs:html && open-cli docs/index.html",
"docs:html": "typedoc src/index.ts --excludePrivate --mode file --theme minimal --out docs",
"docs:json": "typedoc --mode file --json docs/typedoc.json src/index.ts",
"docs:publish": "yarn docs:html && gh-pages -d docs",
"changelog": "standard-version",
"inspect": "node --inspect dist/index.js",
"release": "yarn reset && yarn test && yarn changelog",
"clean": "trash dist",
"reset": "git clean -dfx && git reset --hard && yarn",
"ci": "yarn test",
"validate:dependencies": "yarn audit --groups dependencies",
"validate": "yarn validate-dependencies && yarn validate-licenses",
"validate-dependencies": "yarn audit --groups dependencies",
"validate-licenses": "license-checker --production --onlyAllow \"MIT;MIT/X11;BSD;BSD-3-Clause;BSD-2-Clause;ISC;Apache;Apache-2.0;Unlicense\"",
"unlinkall": "yarn unlink @sofie-automation/server-core-integration && yarn --check-files"
},
"scripts-info": {
"info": "Display information about the scripts",
"build": "(Trash and re)build the library",
"lint": "Lint all typescript source files",
"test": "Build the library and run unit tests",
"watch": "Watch source files, rebuild library on changes",
"test-watch": "Watch spec files, re-run tests on changes",
"cov": "Run tests, generate the HTML coverage report, and open it in a browser",
"docs": "Generate HTML API documentation and open it in a browser",
"docs:publish": "Generate HTML API documentation and push it to GitHub Pages",
"docs:json": "Generate API documentation in typedoc JSON format",
"changelog": "Bump package.json version, update CHANGELOG.md, tag a release",
"reset": "Delete all untracked files and reset the repo to the last commit",
"release": "Clean, build, test, publish docs, and prepare release (a one-step publish process)",
"ci": "Test script for running by the CI (CircleCI)",
"validate": "Performs license validation and scan dependencies for vulnerabilities",
"validate-dependencies": "Scan dependencies for vulnerabilities and check licenses",
"validate-licenses": "Test if license of any package in use complies to be one of MIT;MIT/X11;BSD;BSD-3-Clause;BSD-2-Clause;ISC;Apache;Apache-2.0;Unlicense"
},
"license": "MIT",
"dependencies": {
"@sofie-automation/blueprints-integration": "npm:@tv2media/[email protected]",
"@sofie-automation/server-core-integration": "npm:@tv2media/[email protected]",
"@sofie-automation/shared-lib": "npm:@tv2media/[email protected]",
"@tv2media/logger": "^1.2.4",
"@types/dotenv": "^6.1.1",
"@types/koa": "^2.13.10",
"@types/koa-router": "^7.4.6",
"@types/xml2js": "^0.4.4",
"async-mutex": "^0.3.1",
"cross-env": "^7.0.3",
"dotenv": "^8.0.0",
"inews": "npm:@tv2media/[email protected]",
"jobs-queue": "git+https://github.com/sparkpunkd/node-jobs-queue.git#master",
"koa": "^2.14.2",
"koa-router": "^12.0.1",
"lodash.clonedeep": "^4.5.0",
"tslib": "^2.0.0",
"underscore": "^1.9.1",
"xml2js": "^0.6",
"yargs": "^16.2.0"
},
"resolutions": {
"minimist": "^1.2.3",
"set-value": "^4.0.1",
"ansi-regex": "^5.0.1",
"http-cache-semantics": ">=4.1.1"
},
"devDependencies": {
"@types/jest": "^24.0.11",
"@types/lodash.clonedeep": "^4.5.6",
"@types/node": "^12.12.64",
"@types/underscore": "^1.8.13",
"@types/uuid": "^3.4.4",
"@types/yargs": "^15.0.8",
"codecov": "^3.6.1",
"gh-pages": "^2.0.1",
"jest": "^24.5.0",
"jest-haste-map": "^24.5.0",
"jest-resolve": "^24.5.0",
"license-checker": "^25.0.1",
"nodemon": "^3.0.2",
"npm-scripts-info": "^0.3.9",
"open-cli": "^6.0.1",
"prettier": "2.1.2",
"standard-version": "^9.0.0",
"trash-cli": "^5.0.0",
"ts-jest": "^26.4.1",
"ts-node": "^10.9.2",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.1.0",
"typedoc": "^0.19.2",
"typescript": "~4.5.5",
"typescript-tslint-plugin": "^0.5.5"
},
"standard-version": {
"message": "chore(release): %s [skip ci]",
"tagPrefix": ""
},
"nodemonConfig": {
"execMap": {
"ts": "ts-node"
},
"ext": "ts,js,mjs,cjs,json"
}
}