Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 3.59 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) · 3.59 KB
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
{
"name": "input-gateway-packages",
"private": true,
"version": "0.1.0",
"homepage": "https://github.com/Sofie-Automation/sofie-input-gateway",
"type": "module",
"workspaces": {
"packages": [
"packages/**"
],
"installConfig": {
"hoistingLimits": "workspaces"
}
},
"scripts": {
"prepare": "husky install",
"precommit": "lint-staged",
"build": "run generate-schema-types && yarn format-schema-types && yarn workspaces foreach --all -t run build",
"build:main": "yarn workspace input-gateway run build",
"build:manager": "yarn workspace @sofie-automation/input-manager run build",
"lint:eslint": "eslint .",
"lint:prettier": "prettier --check .",
"lint:prettier:fix": "prettier --write .",
"lint": "yarn lint:eslint && yarn lint:prettier",
"lint:fix": "yarn lint:eslint --fix && yarn lint:prettier:fix",
"license-validate": "sofie-licensecheck",
"test": "yarn workspaces foreach --all run test",
"unit": "yarn workspaces foreach --all run unit",
"unitci": "yarn workspaces foreach --all run unitci",
"dev:manager": "cd packages/input-manager && run build:watch",
"dev:gateway": "nodemon --config nodemon.json",
"dev": "concurrently \"yarn dev:manager\" --handle-input \"yarn dev:gateway\"",
"release:set-version": "lerna version --exact --no-changelog --no-git-tag-version --no-push --yes",
"release:bump-release": "lerna version --exact --conventional-commits --conventional-graduate --tag-version-prefix='v' --no-push",
"release:bump-prerelease": "lerna version --exact --conventional-commits --conventional-prerelease --tag-version-prefix='v' --no-push",
"validate:dependencies": "yarn workspaces foreach --all -p run validate:dependencies",
"validate:dev-dependencies": "yarn workspaces foreach --all -p run validate:dev-dependencies",
"do:build-win32": "rimraf deploy && yarn install && yarn build && yarn build-win32 && yarn copy-assets && yarn sign-executables && yarn zip-deploy",
"do:build-win32:ci": "rimraf deploy && yarn install && yarn build && yarn build-win32 && yarn copy-assets",
"do:build-linux:ci": "rimraf deploy && yarn install && yarn build && yarn build-linux-x64 && yarn copy-assets",
"verify:build-win32": "node scripts/verify-build-win32.mjs",
"verify:build-linux": "node scripts/verify-build-linux.mjs",
"build-win32": "pkg -t node24-win --public ./packages/input-gateway",
"build-linux-x64": "pkg -t node24-linux-x64 --public ./packages/input-gateway",
"sign-executables": "node scripts/sign-executables.mjs",
"copy-assets": "node scripts/copy-assets.mjs",
"zip-deploy": "node scripts/zip-deploy.mjs",
"generate-schema-types": "yarn workspaces foreach --all run generate-schema-types",
"format-schema-types": "prettier ./packages/*/src/generated/** --write",
"g:eslint": "cd $INIT_CWD && \"$PROJECT_CWD/node_modules/.bin/eslint\""
},
"devDependencies": {
"@sofie-automation/code-standard-preset": "^4.0.3",
"@types/node": "^22.15.21",
"@types/sprintf-js": "^1.1.4",
"@types/underscore": "^1.11.15",
"@yao-pkg/pkg": "^6.22.0",
"concurrently": "^8.2.2",
"eslint": "^10.0.0",
"glob": "^13.0.6",
"husky": "^9.1.7",
"json-schema-to-typescript": "^14.0.4",
"lerna": "^8.1.3",
"lint-staged": "^17",
"nodemon": "^3.1.0",
"prettier": "^3.9.6",
"rimraf": "^5.0.7",
"ts-node": "^10.9.2",
"type-fest": "^4.18.2",
"typescript": "~6.0.0",
"vitest": "^4.1.11",
"zip-a-folder": "^3.1.6"
},
"prettier": "@sofie-automation/code-standard-preset/prettier.config.mjs",
"packageManager": "yarn@4.9.1"
}