Fri Jan 24 14:45:01 CST 2025 inscode
Showing
.dumirc.ts
0 → 100644
.editorconfig
0 → 100644
.eslintignore
0 → 100644
.eslintrc.js
0 → 100644
.fatherrc.ts
0 → 100644
.husky/commit-msg
0 → 100644
.husky/pre-commit
0 → 100644
.npmrc
0 → 100644
.prettierignore
0 → 100644
.prettierrc.js
0 → 100644
.stylelintrc
0 → 100644
LICENSE
0 → 100644
README.md
0 → 100644
demos/Basic.tsx
0 → 100644
demos/basic.jpg
0 → 100644
1.4 MB
dist2/tiny-image-editor.min.css
0 → 100644
此差异已折叠。
dist2/tiny-image-editor.min.js
0 → 100644
此差异已折叠。
docs/README.md
0 → 100644
docs/guide.md
0 → 100644
docs/index.md
0 → 100644
index.js
已删除
100644 → 0
package-lock.json
0 → 100644
此差异已折叠。
| { | { | ||
| "name": "nodejs", | "name": "tiny-image-editor", | ||
| "version": "1.0.0", | "version": "1.0.0", | ||
| "description": "", | "description": "A react image editor of fabricjs", | ||
| "main": "index.js", | "author": "hushanqing", | ||
| "scripts": { | "license": "MIT", | ||
| "dev": "node index.js", | "homepage": "https://github.com/hututuhu/tiny-image-editor", | ||
| "test": "echo \"Error: no test specified\" && exit 1" | "repository": { | ||
| }, | "type": "git", | ||
| "keywords": [], | "url": "https://github.com/hututuhu/tiny-image-editor" | ||
| "author": "", | }, | ||
| "license": "ISC", | "module": "dist/index.js", | ||
| "dependencies": { | "types": "dist/index.d.ts", | ||
| "@types/node": "^18.0.6", | "files": [ | ||
| "node-fetch": "^3.2.6" | "dist" | ||
| } | ], | ||
| } | "scripts": { | ||
| "build": "father build", | |||
| \ No newline at end of file | "build:watch": "father dev", | ||
| "dev": "dumi dev", | |||
| "docs:build": "dumi build", | |||
| "doctor": "father doctor", | |||
| "lint": "npm run lint:es && npm run lint:css", | |||
| "lint:css": "stylelint \"{src,test}/**/*.{css,less}\"", | |||
| "lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"", | |||
| "prepare": "husky install && dumi setup", | |||
| "prepublishOnly": "father doctor && npm run build", | |||
| "start": "npm run dev" | |||
| }, | |||
| "commitlint": { | |||
| "extends": [ | |||
| "@commitlint/config-conventional" | |||
| ] | |||
| }, | |||
| "lint-staged": { | |||
| "*.{md,json}": [ | |||
| "prettier --write --no-error-on-unmatched-pattern" | |||
| ], | |||
| "*.{css,less}": [ | |||
| "stylelint --fix", | |||
| "prettier --write" | |||
| ], | |||
| "*.{js,jsx}": [ | |||
| "eslint --fix", | |||
| "prettier --write" | |||
| ], | |||
| "*.{ts,tsx}": [ | |||
| "eslint --fix", | |||
| "prettier --parser=typescript --write" | |||
| ] | |||
| }, | |||
| "dependencies": { | |||
| "@popperjs/core": "^2.11.8", | |||
| "fabric": "^5.3.0", | |||
| "rc-slider": "^10.5.0", | |||
| "react-popper": "^2.3.0" | |||
| }, | |||
| "devDependencies": { | |||
| "@commitlint/cli": "^17.1.2", | |||
| "@commitlint/config-conventional": "^17.1.0", | |||
| "@types/fabric": "^5.3.6", | |||
| "@types/react": "^18.0.0", | |||
| "@types/react-dom": "^18.0.0", | |||
| "@umijs/lint": "^4.0.0", | |||
| "dumi": "^2.2.13", | |||
| "eslint": "^8.23.0", | |||
| "father": "^4.1.0", | |||
| "husky": "^8.0.1", | |||
| "lint-staged": "^13.0.3", | |||
| "prettier": "^2.7.1", | |||
| "prettier-plugin-organize-imports": "^3.0.0", | |||
| "prettier-plugin-packagejson": "^2.2.18", | |||
| "react": "^18.0.0", | |||
| "react-dom": "^18.0.0", | |||
| "stylelint": "^14.9.1" | |||
| }, | |||
| "peerDependencies": { | |||
| "react": ">=16.9.0", | |||
| "react-dom": ">=16.9.0" | |||
| }, | |||
| "publishConfig": { | |||
| "access": "public" | |||
| }, | |||
| "authors": [ | |||
| "1460878723@qq.com" | |||
| ] | |||
| } |
src/index.ts
0 → 100644
src/tiny-image-editor/README.md
0 → 100644
src/tiny-image-editor/index.tsx
0 → 100644
此差异已折叠。
src/tiny-image-editor/src/util.ts
0 → 100644
此差异已折叠。
tsconfig.json
0 → 100644
yarn.lock
0 → 100644
此差异已折叠。