1.update imageknife library config files

Signed-off-by: zhoulisheng <635547767@qq.com>
This commit is contained in:
zhoulisheng 2022-07-14 23:18:08 -07:00
parent 42af96cfd1
commit 76f2ff3049
4 changed files with 27 additions and 19 deletions

View File

@ -1,5 +1,5 @@
{ {
"apiType": "faMode", "apiType": "stageMode",
"buildOption": { "buildOption": {
} }
} }

View File

@ -1,3 +1,3 @@
// Script for compiling build behavior. It is built in the build plug-in and cannot be modified currently. // Script for compiling build behavior. It is built in the build plug-in and cannot be modified currently.
module.exports = require('@ohos/hvigor-ohos-plugin').legacyHarTasks module.exports = require('@ohos/hvigor-ohos-plugin').harTasks

View File

@ -22,7 +22,6 @@ export * from './src/main/ets/components/cache/FileUtils'
export * from './src/main/ets/components/cache/Md5' export * from './src/main/ets/components/cache/Md5'
export * from './src/main/ets/components/cache/Base64' export * from './src/main/ets/components/cache/Base64'
export * from './src/main/ets/components/cache/LruCache' export * from './src/main/ets/components/cache/LruCache'
export * from './src/main/ets/components/cache/DiskLruCache'
export * from './src/main/ets/components/cache/diskstrategy/enum/ALL' export * from './src/main/ets/components/cache/diskstrategy/enum/ALL'
export * from './src/main/ets/components/cache/diskstrategy/enum/AUTOMATIC' export * from './src/main/ets/components/cache/diskstrategy/enum/AUTOMATIC'
export * from './src/main/ets/components/cache/diskstrategy/enum/DATA' export * from './src/main/ets/components/cache/diskstrategy/enum/DATA'
@ -48,6 +47,8 @@ export * from './src/main/ets/components/imageknife/compress/provider/RecoursePr
export * from './src/main/ets/components/imageknife/crop/Crop' export * from './src/main/ets/components/imageknife/crop/Crop'
export * from './src/main/ets/components/imageknife/crop/CropImage' export * from './src/main/ets/components/imageknife/crop/CropImage'
export * from './src/main/ets/components/imageknife/crop/CropOptions' export * from './src/main/ets/components/imageknife/crop/CropOptions'
export {default as PixelMapCrop} from './src/main/ets/components/imageknife/crop/PixelMapCrop'
export * from './src/main/ets/components/imageknife/crop/CropCallback'
/** /**
* transform * transform
@ -82,6 +83,11 @@ export * from './src/main/ets/components/imageknife/pngj/Pngj'
export {handler} from './src/main/ets/components/imageknife/pngj/PngWork' export {handler} from './src/main/ets/components/imageknife/pngj/PngWork'
export * from './src/main/ets/components/imageknife/pngj/UPNG' export * from './src/main/ets/components/imageknife/pngj/UPNG'
export {
RESOLUTION_UNITS, insertMetadata, readMetadata, writeMetadata, textEncode, textDecode, extractChunks, encodeChunks
} from './src/main/ets/components/imageknife/pngj/png-metadata'
/** /**
* ImageKnife * ImageKnife
*/ */

View File

@ -1,27 +1,29 @@
{ {
"types": "", "types":"",
"keywords": [ "keywords":[
"OpenHarmony", "OpenHarmony",
"ImageKnife", "ImageKnife",
"glide" "glide"
], ],
"author": "ohos_tpc", "author":"ohos_tpc",
"description": "专门为OpenHarmony打造的一款图像加载缓存库致力于更高效、更轻便、更简单", "description":"专门为OpenHarmony打造的一款图像加载缓存库致力于更高效、更轻便、更简单",
"ohos": { "ohos":{
"org": "opensource" "org":"opensource"
}, },
"main": "index.ets", "main":"index.ets",
"repository": "https://gitee.com/openharmony-tpc/ImageKnife", "repository":"https://gitee.com/openharmony-tpc/ImageKnife",
"version": "1.0.2", "version":"1.0.2",
"dependencies": { "dependencies":{
"pako": "^1.0.5" "pako":"^1.0.5",
"@ohos/disklrucache":"file:../disklrucache",
"crc-32":"^1.2.0"
}, },
"tags": [ "tags":[
"OpenHarmony", "OpenHarmony",
"ImageKnife", "ImageKnife",
"glide" "glide"
], ],
"license": "Apache License 2.0", "license":"Apache License 2.0",
"devDependencies": {}, "devDependencies":{},
"name": "@ohos/imageknife" "name":"@ohos/imageknife"
} }