1{ 2 "name": "arkui-plugin", 3 "version": "1.0.0", 4 "description": "", 5 "private": true, 6 "workspaces": [ 7 "./test" 8 ], 9 "scripts": { 10 "local:install": "chmod 777 ./npm_preinstall.sh && ./npm_preinstall.sh --init", 11 "compile:plugins": "./node_modules/.bin/babel . --out-dir lib --extensions .ts", 12 "compile:clean": "rm -rf lib", 13 "clean:test": "rm -rf dist && rm -rf coverage", 14 "prepare:test": "cp -rf $INIT_CWD/../../../out/sdk/ohos-sdk/linux/ets/ets1.2/build-tools/koala-wrapper/build/native/ ../koala-wrapper/build/", 15 "test": "npm run clean:test && npm run prepare:test && LD_LIBRARY_PATH=$INIT_CWD/../../../out/sdk/ohos-sdk/linux/ets/ets1.2/build-tools/ets2panda/lib jest --coverage --logHeapUsage --config ./jest-test.config.js --silent", 16 "compile": "npm run compile:clean && npm run compile:plugins && cp -rf ./lib $INIT_CWD/../../../../out/sdk/ohos-sdk/linux/ets/ets1.2/build-tools/ui-plugins/" 17 }, 18 "devDependencies": { 19 "@babel/cli": "7.20.7", 20 "@babel/core": "7.20.12", 21 "@babel/plugin-proposal-class-properties": "7.18.6", 22 "@babel/preset-env": "7.20.2", 23 "@babel/preset-typescript": "7.18.6", 24 "@babel/runtime": "7.20.13", 25 "@types/jest": "^29.5.14", 26 "@types/node": "^22.13.9", 27 "jest": "^29.7.0", 28 "ts-jest": "^29.2.0", 29 "ts-node": "^10.9.0", 30 "typescript": "^5.0.0" 31 }, 32 "dependencies": { 33 "@koalaui/libarkts": "../koala-wrapper" 34 } 35} 36