react-thermostat
Version:
A Controller to display temperature or use with a smart home integration like home assistant (react application talking to web sockets or rest api)
79 lines (78 loc) • 2.29 kB
JSON
{
"name": "react-thermostat",
"private": false,
"version": "2.0.2",
"description": "A Controller to display temperature or use with a smart home integration like home assistant (react application talking to web sockets or rest api)",
"keywords": [
"react",
"homeassistant",
"smarthome",
"airconditioner",
"controller",
"thermostat",
"thermometer",
"slider",
"input",
"svg"
],
"type": "module",
"scripts": {
"dev": "vite",
"prebuild": "vite build --config vite-demo.config.ts",
"build": "tsc && vite build --config vite.config.ts",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"postbuild": "tsup ./index.ts --dts-only --dts-resolve --d dist/types && tsc"
},
"main": "dist/react-thermostat.umd.js",
"module": "dist/react-thermostat.es.js",
"types": "dist/types/index.d.cts",
"exports": {
".": {
"import": "./dist/react-thermostat.es.js",
"require": "./dist/react-thermostat.umd.js",
"types": "./dist/types/index.d.cts"
}
},
"author": "Shannon Hochkins <mail@shannonhochkins.com>",
"repository": {
"url": "https://github.com/shannonhochkins/react-thermostat.git",
"type": "git"
},
"bugs": {
"url": "https://github.com/shannonhochkins/react-thermostat/issues"
},
"homepage": "https://github.com/shannonhochkins/react-thermostat#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"license": "ISC",
"files": [
"dist",
"README.md",
"LICENCE.md"
],
"peerDependencies": {
"@emotion/babel-plugin": ">=10.x",
"@emotion/react": ">=10.x",
"@emotion/styled": ">=10.x",
"@use-gesture/react": ">=10.x",
"react": ">=16.x",
"react-dom": ">=16.x"
},
"devDependencies": {
"@iconify/react": "^4.1.1",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitejs/plugin-react": "^4.0.3",
"eslint": "^8.45.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"tsup": "^7.2.0",
"typescript": "^5.0.2",
"vite": "^4.4.5",
"vite-plugin-linter": "^2.0.3"
}
}