Initial
Showing
.editorconfig
0 → 100644
.eslintignore
0 → 100644
.eslintrc.js
0 → 100644
.gitignore
0 → 100644
.npmrc
0 → 100644
.prettierrc.js
0 → 100644
README.md
0 → 100644
commitlint.config.js
0 → 100644
package.json
0 → 100644
{ | ||
"name": "panel-jotai", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"private": true, | ||
"scripts": { | ||
"lint": "eslint src --ext .js,.jsx,.ts,.tsx --fix", | ||
"watch": "ray start --target=tuya", | ||
"build:tuya": "ray build --target=tuya", | ||
"build:wechat": "ray build --target=wechat", | ||
"build:web": "ray build --target=web", | ||
"build:native": "ray build --target=native", | ||
"start:tuya": "ray start --target=tuya", | ||
"start:wechat": "ray start --target=wechat", | ||
"start:web": "ray start --target=web", | ||
"start:native": "ray start --target=native" | ||
}, | ||
"dependencies": { | ||
"@ray-js/ray": "^0.6.15", | ||
"@ray-js/panel-sdk": "^1.1.4", | ||
"fast-deep-equal": "^3.1.3", | ||
"jotai": "^1.7.0", | ||
"lodash": "^4.17.21", | ||
"core-js": "^3.23.5" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^7.2.1", | ||
"@commitlint/config-conventional": "^9.0.1", | ||
"@ray-js/cli": "^0.6.15", | ||
"@types/lodash": "^4.14.182", | ||
"@types/react": "^17.0.24", | ||
"@types/react-dom": "^17.0.9", | ||
"eslint-config-tuya-panel": "^0.4.1", | ||
"husky": "^1.2.0", | ||
"lint-staged": "^10.2.11", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"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" | ||
} | ||
\ No newline at end of file |
project.tuya.json
0 → 100644
ray.config.ts
0 → 100644
src/api/index.ts
0 → 100644
src/app.tsx
0 → 100644
src/atoms/dpState/index.ts
0 → 100644
src/atoms/index.ts
0 → 100644
This diff is collapsed.
11.1 KB
src/components/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
src/pages/home/index1.tsx
0 → 100644
src/res/CombinedShape.png
0 → 100644
1.82 KB
1.36 KB
src/res/Subtract.png
0 → 100644
9.52 KB
src/res/colorBg.png
0 → 100644
214 KB
src/res/icon_bhd.png
0 → 100644
356 Bytes
src/res/icon_ld.png
0 → 100644
349 Bytes
src/res/imagebc.png
0 → 100644
183 KB
src/res/index.ts
0 → 100644
src/res/tempBg.png
0 → 100644
11.1 KB
src/res/thumb.png
0 → 100644
7.15 KB
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.