{
"name": "arkui-plugin",
"version": "1.0.0",
"type": "commonjs",
"description": "",
"private": true,
"workspaces": [
"./test"
],
"scripts": {
"compile:plugins": "./node_modules/.bin/babel . --out-dir lib --extensions .ts",
"compile:clean": "rm -rf lib",
"clean:test": "rm -rf dist && rm -rf coverage",
"prepare:test": "cp -rf $INIT_CWD/../../../out/sdk/ohos-sdk/linux/ets/static/build-tools/libarkts/build/native/ ../ets1.2/libarkts/build/",
"test": "npm run clean:test && npm run prepare:test && LD_LIBRARY_PATH=$INIT_CWD/../../../out/sdk/ohos-sdk/linux/ets/static/build-tools/ets2panda/lib jest --coverage --logHeapUsage --config ./jest-test.config.js --maxWorkers=50% --silent",
"test:ci": "LD_LIBRARY_PATH=$INIT_CWD/../../../prebuilts/ohos-sdk/linux/*/ets/static/build-tools/ets2panda/lib jest --config ./jest-test.ci.config.js --maxWorkers=80% --silent",
"test:gdb": "LD_LIBRARY_PATH=$INIT_CWD/../../../out/sdk/ohos-sdk/linux/ets/static/build-tools/ets2panda/lib gdb --args node ./node_modules/.bin/jest --config ./jest-test.config.js",
"compile": "npm run compile:clean && npm run compile:plugins && cp -rf ./lib $INIT_CWD/../../../../out/sdk/ohos-sdk/linux/ets/static/build-tools/ui-plugins/"
},
"devDependencies": {
"@babel/cli": "7.20.7",
"@babel/core": "7.20.12",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/preset-env": "7.20.2",
"@babel/preset-typescript": "7.18.6",
"@babel/runtime": "7.20.13",
"@types/jest": "^29.5.14",
"@types/node": "^22.13.9",
"jest": "^29.7.0",
"ts-jest": "^29.2.0",
"ts-node": "^10.9.0",
"typescript": "^5.0.0"
},
"dependencies": {
"@koalaui/libarkts": "../ets1.2/libarkts",
"ajv": "^8.17.1"
}
}