package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "@capacitor/core",
  3. "version": "7.2.0",
  4. "description": "Capacitor: Cross-platform apps with JavaScript and the web",
  5. "homepage": "https://capacitorjs.com",
  6. "author": "Ionic Team <hi@ionic.io> (https://ionic.io)",
  7. "license": "MIT",
  8. "repository": {
  9. "type": "git",
  10. "url": "git+https://github.com/ionic-team/capacitor.git"
  11. },
  12. "bugs": {
  13. "url": "https://github.com/ionic-team/capacitor/issues"
  14. },
  15. "files": [
  16. "dist/",
  17. "types/",
  18. "cookies.md",
  19. "cordova.js",
  20. "http.md"
  21. ],
  22. "main": "dist/index.cjs.js",
  23. "module": "dist/index.js",
  24. "types": "types/index.d.ts",
  25. "unpkg": "dist/capacitor.js",
  26. "scripts": {
  27. "build": "npm run clean && npm run docgen && npm run transpile && npm run rollup",
  28. "build:nativebridge": "tsc native-bridge.ts --target es2017 --moduleResolution node --outDir build && rollup --config rollup.bridge.config.js",
  29. "clean": "rimraf dist",
  30. "docgen": "docgen --api CapacitorCookiesPlugin --output-readme cookies.md && docgen --api CapacitorHttpPlugin --output-readme http.md",
  31. "prepublishOnly": "npm run build",
  32. "rollup": "rollup --config rollup.config.js",
  33. "transpile": "tsc",
  34. "test": "jest",
  35. "test.watch": "jest --watchAll",
  36. "test.treeshaking": "node src/tests/build-treeshaking.js"
  37. },
  38. "dependencies": {
  39. "tslib": "^2.1.0"
  40. },
  41. "devDependencies": {
  42. "@capacitor/docgen": "^0.2.2",
  43. "@rollup/plugin-node-resolve": "^10.0.0",
  44. "@rollup/plugin-replace": "^2.4.2",
  45. "@types/jest": "^29.5.0",
  46. "jest": "^29.5.0",
  47. "jest-environment-jsdom": "^29.5.0",
  48. "jest-jasmine2": "^29.5.0",
  49. "rimraf": "^4.4.1",
  50. "rollup": "^2.21.0",
  51. "rollup-plugin-terser": "^7.0.2",
  52. "typescript": "~5.0.2"
  53. },
  54. "jest": {
  55. "preset": "ts-jest",
  56. "testRunner": "jest-jasmine2"
  57. },
  58. "publishConfig": {
  59. "access": "public"
  60. }
  61. }