UNPKG

@felix.lsf/taro-cropper

Version:

Taro框架下的图片裁剪组件封装,开箱即用

85 lines (84 loc) 2.59 kB
{ "name": "@felix.lsf/taro-cropper", "version": "1.2.9", "private": false, "description": "Taro框架下的图片裁剪组件封装,开箱即用", "browser": "dist/index.umd.js", "module": "dist/index.esm.js", "main": "dist/index.js", "source": "src/index.ts", "templateInfo": { "name": "default", "typescript": true, "css": "sass" }, "types": "types/index.d.ts", "files": [ "lib", "dist", "types", "README.md" ], "publishConfig": { "tag": "canvas-2d" }, "scripts": { "dev": "yarn run dev:lib", "dev:lib": "tsc --project ./tsconfig.build.json --watch --incremental", "build": "yarn run build:rollup && yarn run build:lib", "build:lib": "tsc --project ./tsconfig.build.json --declaration --declarationDir types", "build:rollup": "rollup --config ./rollup.config.js", "prepublishOnly": "yarn run clean && yarn run build", "lint": "eslint ./src --fix", "lint:style": "stylelint \"src/**/*.scss\" --syntax scss", "lint:style-fix": "stylelint \"src/**/*.scss\" --syntax scss --fix", "test": "cross-env NODE_ENV=test && jest --coverage", "test:ci": "yarn run build:h5 && yarn run test", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", "clean": "rimraf .temp dist lib coverage" }, "keywords": [ "taro", "cropper", "taro-cropper", "canvas-2d" ], "author": "felix.li", "license": "MIT", "devDependencies": { "@rollup/plugin-commonjs": "^13.0.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^8.0.1", "@tarojs/components": "^3.0.10", "@tarojs/react": "^3.0.10", "@tarojs/taro": "^3.0.10", "@types/node": "^14.0.13", "@types/react": "^16.9.36", "@types/react-dom": "^16.9.8", "@typescript-eslint/eslint-plugin": "^2.x", "@typescript-eslint/parser": "^2.x", "cross-env": "^7.0.2", "eslint": "^7.2.0", "eslint-config-taro": "^3.0.10", "eslint-plugin-import": "^2.21.2", "eslint-plugin-react": "^7.20.0", "eslint-plugin-react-hooks": "^4.0.4", "jest": "26", "rimraf": "3.0.2", "rollup": "^2.16.1", "rollup-plugin-copy": "^3.3.0", "rollup-plugin-typescript2": "^0.27.1", "rollup-plugin-visualizer": "^4.0.4", "stylelint": "13.6.0", "stylelint-config-standard": "20.0.0", "stylelint-scss": "3.17.2", "ts-jest": "26", "typescript": "^4.6.3" }, "peerDependencies": { "@tarojs/components": "^3.0.10", "@tarojs/react": "^3.0.10", "react": ">=16.13.0", "react-dom": ">=16.13.0" } }