package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "name": "com.izouma.animalweight",
  3. "displayName": "AnimalWeight",
  4. "version": "1.0.0",
  5. "description": "A sample Apache Cordova application that responds to the deviceready event.",
  6. "main": "index.js",
  7. "scripts": {
  8. "test": "echo \"Error: no test specified\" && exit 1"
  9. },
  10. "author": "Apache Cordova Team",
  11. "license": "Apache-2.0",
  12. "dependencies": {
  13. "cordova-android": "^6.3.0",
  14. "cordova-ios": "^4.5.4",
  15. "cordova-plugin-ble-central": "^1.2.2",
  16. "cordova-plugin-bluetooth-serial": "git+https://github.com/x1ongzhu/BluetoothSerial.git",
  17. "cordova-plugin-camera": "^4.0.3",
  18. "cordova-plugin-compat": "^1.2.0",
  19. "cordova-plugin-crosswalk-webview": "git+https://github.com/fribace/cordova-plugin-crosswalk-webview.git",
  20. "cordova-plugin-handheld": "file:../handheld",
  21. "cordova-plugin-remote-injection": "^0.5.2",
  22. "cordova-plugin-viewport": "^1.0.3",
  23. "cordova-plugin-whitelist": "^1.3.3",
  24. "cordova-plugin-x-toast": "^2.6.2"
  25. },
  26. "cordova": {
  27. "plugins": {
  28. "cordova-plugin-whitelist": {},
  29. "cordova-plugin-bluetooth-serial": {},
  30. "cordova-plugin-remote-injection": {},
  31. "cordova-plugin-x-toast": {},
  32. "cordova-plugin-crosswalk-webview": {
  33. "XWALK_VERSION": "23+",
  34. "XWALK_LITEVERSION": "xwalk_core_library_canary:17+",
  35. "XWALK_COMMANDLINE": "--disable-pull-to-refresh-effect",
  36. "XWALK_MODE": "embedded",
  37. "XWALK_MULTIPLEAPK": "true"
  38. },
  39. "cordova-plugin-viewport": {},
  40. "cordova-plugin-ble-central": {
  41. "BLUETOOTH_USAGE_DESCRIPTION": "需要打开蓝牙来读取附近的设备"
  42. },
  43. "cordova-plugin-handheld": {}
  44. },
  45. "platforms": [
  46. "ios",
  47. "android"
  48. ]
  49. }
  50. }