UNPKG

@elgato/schemas

Version:

Collection of schemas, and TypeScript declarations, to support the creation and validation of Stream Deck SDK files

93 lines (92 loc) 2.75 kB
{ "name": "@elgato/schemas", "version": "0.4.11", "description": "Collection of schemas, and TypeScript declarations, to support the creation and validation of Stream Deck SDK files", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.cjs", "types": "./dist/index.d.ts" }, "./streamdeck/plugins": { "import": "./dist/streamdeck/plugins/index.mjs", "require": "./dist/streamdeck/plugins/index.cjs", "types": "./dist/streamdeck/plugins/index.d.ts" }, "./streamdeck/plugins/json": { "import": "./dist/streamdeck/plugins/json.mjs", "require": "./dist/streamdeck/plugins/json.cjs", "types": "./dist/streamdeck/plugins/json.d.ts" }, "./streamdeck/plugins/layout.json": { "default": "./streamdeck/plugins/layout.json" }, "./streamdeck/plugins/manifest.json": { "default": "./streamdeck/plugins/manifest.json" } }, "files": [ "dist/", "streamdeck/" ], "scripts": { "build": "npm run clean && npm run build:schemas && npm run build:exports", "build:schemas": "node -r @swc-node/register ./scripts/build.ts", "build:exports": "rollup --config rollup.config.ts --configPlugin typescript", "clean": "rm -rf ./dist/ && rm -rf ./streamdeck/", "lint": "eslint . --ext .ts --max-warnings 0", "preversion": "npm run lint", "test": "npm run build:schemas && jest", "test:ci": "jest", "test:watch": "nodemon --watch src --ext ts --exec \"npm run test\"", "version": "npm run build && npm run test:ci" }, "repository": { "type": "git", "url": "git+https://github.com/elgatosf/schemas.git" }, "keywords": [ "elgato", "stream deck", "sdk", "json", "schemas" ], "author": { "name": "Elgato", "url": "https://www.elgato.com" }, "license": "MIT", "bugs": { "url": "https://github.com/elgatosf/schemas/issues" }, "homepage": "https://github.com/elgatosf/schemas#readme", "devDependencies": { "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.0", "@rollup/plugin-typescript": "^12.1.2", "@swc-node/register": "^1.10.9", "@swc/core": "^1.10.7", "@swc/jest": "^0.2.37", "@trivago/prettier-plugin-sort-imports": "^5.2.1", "@tsconfig/node20": "^20.1.4", "@types/jest": "^29.5.14", "@types/lodash": "^4.17.14", "@types/node": "^22.10.7", "@typescript-eslint/eslint-plugin": "^8.20.0", "@typescript-eslint/parser": "^8.20.0", "ajv": "^8.17.1", "eslint": "^8.57.1", "eslint-config-prettier": "^10.0.1", "eslint-plugin-jsdoc": "^50.6.1", "eslint-plugin-prettier": "^5.2.2", "jest": "^29.7.0", "lodash": "^4.17.21", "nodemon": "^3.1.9", "prettier": "^3.4.2", "rollup": "^4.30.1", "rollup-plugin-dts": "^6.1.1", "ts-json-schema-generator": "^2.3.0", "typescript": "^5.7.3" } }