init
Showing
README.md
0 → 100644
commitlint.config.js
0 → 100644
fan.json
0 → 100644
This diff is collapsed.
package.json
0 → 100644
{ | ||
"name": "device-panel", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"lint": "eslint src --ext .js,.jsx,.ts,.tsx --fix", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"start:native": "ray start -t native --verbose", | ||
"start:tuya": "ray start -t tuya --verbose", | ||
"build:native": "ray build -t native --verbose", | ||
"build:tuya": "ray build -t tuya --verbose" | ||
}, | ||
"dependencies": { | ||
"@ray-js/panel-sdk": "^1.1.3", | ||
"@ray-js/ray": "^0.6.13", | ||
"deep-object-diff": "^1.1.0", | ||
"react-redux": "^7.2.1", | ||
"redux": "^4.1.2", | ||
"redux-actions": "^2.6.5", | ||
"redux-logger": "^3.0.6", | ||
"redux-thunk": "^2.4.0" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^7.2.1", | ||
"@commitlint/config-conventional": "^9.0.1", | ||
"@ray-js/cli": "^0.6.13", | ||
"@types/lodash": "^4.14.182", | ||
"@types/redux-actions": "^2.6.2", | ||
"@types/redux-logger": "^3.0.9", | ||
"compressing": "^1.5.1", | ||
"core-js": "^3.19.1", | ||
"eslint-config-tuya-panel": "^0.4.1", | ||
"eslint-plugin-literal-check": "^0.1.2", | ||
"eslint-plugin-prettier": "^3.0.1", | ||
"husky": "^1.2.0", | ||
"lint-staged": "^10.2.11", | ||
"prettier": "^1.16.4", | ||
"typescript": "^4.4.3" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS --config commitlint.config.js", | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.{ts,tsx,js,jsx}": [ | ||
"eslint --fix", | ||
"git add" | ||
], | ||
"*.{json,md,yml,yaml}": [ | ||
"prettier --write", | ||
"git add" | ||
] | ||
}, | ||
"author": "", | ||
"license": "ISC" | ||
} |
project.tuya.json
0 → 100644
public/icon-close.png
0 → 100644
1.23 KB
public/icon-fan-bg.png
0 → 100644
222 KB
public/icon-fan.png
0 → 100644
150 KB
public/icon-fresh-on.png
0 → 100644
3.13 KB
public/icon-fresh.png
0 → 100644
2.88 KB
public/icon-hand-on.png
0 → 100644
3.07 KB
public/icon-hand.png
0 → 100644
2.77 KB
3.27 KB
3.76 KB
public/icon-light-white.png
0 → 100644
515 Bytes
public/icon-light.png
0 → 100644
1.94 KB
public/icon-middleware.png
0 → 100644
535 Bytes
public/icon-mode-on.png
0 → 100644
3.54 KB
public/icon-mode.png
0 → 100644
3.34 KB
public/icon-moon-on.png
0 → 100644
3.04 KB
public/icon-moon.png
0 → 100644
2.77 KB
public/icon-nature-on.png
0 → 100644
3.6 KB
public/icon-nature.png
0 → 100644
3.39 KB
public/icon-open-off.png
0 → 100644
2.7 KB
public/icon-open.png
0 → 100644
2.71 KB
public/icon-sleep.png
0 → 100644
1.99 KB
public/icon-smart-on.png
0 → 100644
3.17 KB
public/icon-smart.png
0 → 100644
2.91 KB
public/icon-sun.png
0 → 100644
922 Bytes
public/icon-temperature.png
0 → 100644
493 Bytes
public/icon-vertical-off.png
0 → 100644
3.5 KB
public/icon-vertical-on.png
0 → 100644
3.51 KB
public/icon-vertical.png
0 → 100644
2 KB
ray.config.ts
0 → 100644
src/api/index.ts
0 → 100644
src/app.tsx
0 → 100644
src/components/connect.tsx
0 → 100644
src/components/index.tsx
0 → 100644
src/composeLayout.tsx
0 → 100644
src/config/dpCodes.ts
0 → 100644
src/config/index.ts
0 → 100644
src/config/theme.ts
0 → 100644
src/constant/index.ts
0 → 100644
src/global.config.ts
0 → 100644
src/i18n/index.ts
0 → 100644
src/i18n/strings.ts
0 → 100644
src/pages/home/index.tsx
0 → 100644
This diff is collapsed.
src/redux/actions/common.ts
0 → 100644
src/redux/index.ts
0 → 100644
src/redux/reducers/common.ts
0 → 100644
src/redux/store.ts
0 → 100644
src/res/arrow.png
0 → 100644
677 Bytes
src/res/close.png
0 → 100644
496 Bytes
src/res/delete.png
0 → 100644
1.01 KB
src/res/index.ts
0 → 100644
src/res/mode.png
0 → 100644
485 Bytes
src/res/notify.png
0 → 100644
1.38 KB
src/res/read.ts
0 → 100644
src/res/rect.png
0 → 100644
679 Bytes
src/routes.config.ts
0 → 100644
src/utils/index.ts
0 → 100644
src/variables.less
0 → 100644
tsconfig.json
0 → 100644
typings/device-panel.d.ts
0 → 100644
typings/device.d.ts
0 → 100644
typings/index.d.ts
0 → 100644
yarn.lock
0 → 100644
This diff is collapsed.