mirror of
https://github.com/koush/scrypted.git
synced 2026-02-03 14:13:28 +00:00
* Enable strict mode * Add @types/node Remove @types/rimraf * Fix `include` path to be actual `src` * Add strict to `sdk` * Assert `getItem` * Fix types in SDK * Refactor SDK function to be type safe * parseValue handle value null or undefined * Fix types tsconfig * Make getDeviceConsole required * Add build-sdk workflow * Set working directory * Assert not undefined * Remove optionals * Undo addScryptedInterfaceProperties, revert to self executing function * Use different type * Make _deviceState private and add ts-ignore * Remove unused function * Remove non-null asserts * Add tsconfig for sdk/types/src * Get property isOptional from schema Use typedoc types * Type fixes * Fix type * Fix type * Revert change
19 lines
433 B
JSON
19 lines
433 B
JSON
{
|
|
"name": "@scrypted/types",
|
|
"version": "0.3.11",
|
|
"description": "",
|
|
"main": "dist/index.js",
|
|
"author": "",
|
|
"license": "ISC",
|
|
"scripts": {
|
|
"prepublishOnly": "npm run build",
|
|
"build": "tsc --project src && rimraf dist gen && typedoc && ts-node ./src/build.ts && tsc"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.19.15",
|
|
"rimraf": "^3.0.2",
|
|
"ts-node": "^10.9.1"
|
|
},
|
|
"types": "dist/index.d.ts"
|
|
}
|