|
1 | 1 | { |
2 | 2 | "name": "hyperdeck-connection", |
3 | | - "version": "2.0.1", |
| 3 | + "version": "3.0.0-0", |
4 | 4 | "description": "Typescript Node.js library for connecting with a BlackmagicDesign's HyperDeck devices.", |
5 | | - "main": "dist/index.js", |
6 | | - "typings": "dist/index.d.ts", |
7 | | - "module": "dist/module/index.js", |
8 | | - "browser": "dist/browser/index.js", |
| 5 | + "type": "module", |
| 6 | + "exports": { |
| 7 | + ".": { |
| 8 | + "import": "./dist/index.js", |
| 9 | + "require": "./dist/index.js", |
| 10 | + "types": "./dist/index.d.ts" |
| 11 | + }, |
| 12 | + "./package.json": "./package.json" |
| 13 | + }, |
9 | 14 | "license": "MIT", |
10 | 15 | "repository": { |
11 | 16 | "type": "git", |
|
29 | 34 | ], |
30 | 35 | "scripts": { |
31 | 36 | "prepare": "husky", |
32 | | - "build": "rimraf dist && yarn build:main", |
| 37 | + "build": "rimraf dist && run build:main", |
33 | 38 | "build:main": "tsc -p tsconfig.build.json", |
34 | | - "lint:raw": "eslint --ext .ts --ext .js --ext .tsx --ext .jsx --ignore-pattern dist", |
35 | | - "lint": "yarn lint:raw .", |
36 | | - "lint-fix": "yarn lint --fix", |
| 39 | + "lint:raw": "eslint", |
| 40 | + "lint": "run lint:raw .", |
| 41 | + "lint-fix": "run lint --fix", |
37 | 42 | "unit": "jest", |
38 | | - "test": "yarn lint && yarn unit", |
39 | | - "test:integration": "yarn lint && jest --config=jest-integration.config.js", |
| 43 | + "test": "run lint && run unit", |
| 44 | + "test:integration": "run lint && jest --config=jest-integration.config.js", |
40 | 45 | "watch": "jest --watch", |
41 | 46 | "cov": "jest --coverage && open-cli coverage/lcov-report/index.html", |
42 | 47 | "cov-open": "open-cli coverage/lcov-report/index.html", |
43 | | - "docs": "yarn docs:html && open-cli docs/index.html", |
44 | | - "docs:test": "yarn docs:html", |
| 48 | + "docs": "run docs:html && open-cli docs/index.html", |
| 49 | + "docs:test": "run docs:html", |
45 | 50 | "docs:html": "typedoc --entryPoints src/index.ts --excludePrivate --theme default --out docs", |
46 | 51 | "docs:json": "typedoc --json docs/typedoc.json --entryPoints src/index.ts", |
47 | 52 | "changelog": "sofie-version", |
48 | | - "release": "yarn reset && yarn test && yarn changelog", |
49 | | - "reset": "git clean -dfx && git reset --hard && yarn", |
50 | | - "validate:dependencies": "yarn audit --groups dependencies && yarn license-validate", |
51 | | - "validate:dev-dependencies": "yarn audit --groups devDependencies", |
52 | | - "license-validate": "yarn sofie-licensecheck --allowPackages caniuse-lite@1.0.30001312" |
| 53 | + "validate:dependencies": "yarn npm audit --environment production && run license-validate", |
| 54 | + "validate:dev-dependencies": "yarn npm audit", |
| 55 | + "license-validate": "sofie-licensecheck --allowPackages caniuse-lite@1.0.30001312" |
53 | 56 | }, |
54 | 57 | "engines": { |
55 | 58 | "node": ">=22.22" |
|
61 | 64 | "/LICENSE" |
62 | 65 | ], |
63 | 66 | "devDependencies": { |
64 | | - "@sofie-automation/code-standard-preset": "~2.5.1", |
65 | | - "@types/jest": "^29.5.5", |
| 67 | + "@eslint/js": "^10.0.1", |
| 68 | + "@sofie-automation/code-standard-preset": "~3.2.2", |
| 69 | + "@types/jest": "^29.5.14", |
66 | 70 | "@types/node": "^22.19.21", |
| 71 | + "eslint": "^10.5.0", |
67 | 72 | "husky": "^9.1.7", |
68 | 73 | "jest": "^29.7.0", |
69 | 74 | "lint-staged": "^17.0.7", |
70 | | - "open-cli": "^7.2.0", |
| 75 | + "open-cli": "^9.0.0", |
| 76 | + "prettier": "^3.8.4", |
71 | 77 | "rimraf": "^6.1.3", |
72 | | - "ts-jest": "^29.1.1", |
73 | | - "typedoc": "^0.23.28", |
74 | | - "typescript": "~4.9.5" |
| 78 | + "ts-jest": "^29.4.11", |
| 79 | + "typedoc": "^0.28.19", |
| 80 | + "typescript": "~6.0.3" |
75 | 81 | }, |
76 | 82 | "keywords": [ |
77 | 83 | "blackmagic", |
|
83 | 89 | "open", |
84 | 90 | "source" |
85 | 91 | ], |
86 | | - "dependencies": { |
87 | | - "eventemitter3": "^4.0.7", |
88 | | - "tslib": "^2.8.1" |
89 | | - }, |
90 | 92 | "prettier": "@sofie-automation/code-standard-preset/.prettierrc.json", |
91 | 93 | "lint-staged": { |
92 | 94 | "*.{css,json,md,scss}": [ |
|
96 | 98 | "yarn lint:raw --fix" |
97 | 99 | ] |
98 | 100 | }, |
99 | | - "resolutions": { |
100 | | - "lint-staged": "13.2.3" |
101 | | - }, |
102 | 101 | "packageManager": "yarn@4.17.0" |
103 | 102 | } |
0 commit comments