package.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. {
  2. "name": "@ionic/core",
  3. "version": "8.5.7",
  4. "description": "Base components for Ionic",
  5. "keywords": [
  6. "ionic",
  7. "framework",
  8. "stencil",
  9. "mobile",
  10. "app",
  11. "webapp",
  12. "capacitor",
  13. "cordova",
  14. "electron",
  15. "progressive web app",
  16. "pwa"
  17. ],
  18. "main": "dist/index.cjs.js",
  19. "module": "dist/index.js",
  20. "es2015": "dist/esm/index.js",
  21. "es2017": "dist/esm/index.js",
  22. "jsnext:main": "dist/esm/index.js",
  23. "collection:main": "dist/collection/index.js",
  24. "collection": "dist/collection/collection-manifest.json",
  25. "types": "dist/types/interface.d.ts",
  26. "files": [
  27. "components/",
  28. "css/",
  29. "dist/",
  30. "hydrate/",
  31. "loader/"
  32. ],
  33. "dependencies": {
  34. "@stencil/core": "4.20.0",
  35. "ionicons": "^7.2.2",
  36. "tslib": "^2.1.0"
  37. },
  38. "devDependencies": {
  39. "@axe-core/playwright": "^4.10.1",
  40. "@capacitor/core": "^7.0.0",
  41. "@capacitor/haptics": "^7.0.0",
  42. "@capacitor/keyboard": "^7.0.0",
  43. "@capacitor/status-bar": "^7.0.0",
  44. "@clack/prompts": "^0.10.0",
  45. "@ionic/eslint-config": "^0.3.0",
  46. "@ionic/prettier-config": "^2.0.0",
  47. "@playwright/test": "^1.52.0",
  48. "@rollup/plugin-node-resolve": "^8.4.0",
  49. "@rollup/plugin-virtual": "^2.0.3",
  50. "@stencil/angular-output-target": "^0.10.0",
  51. "@stencil/react-output-target": "0.5.3",
  52. "@stencil/sass": "^3.0.9",
  53. "@stencil/vue-output-target": "0.10.7",
  54. "@types/jest": "^29.5.6",
  55. "@types/node": "^14.6.0",
  56. "@typescript-eslint/eslint-plugin": "^6.7.2",
  57. "@typescript-eslint/parser": "^6.7.2",
  58. "chalk": "^5.3.0",
  59. "clean-css-cli": "^5.6.1",
  60. "domino": "^2.1.6",
  61. "eslint": "^7.32.0",
  62. "eslint-config-prettier": "^8.5.0",
  63. "eslint-plugin-custom-rules": "file:custom-rules",
  64. "execa": "^8.0.1",
  65. "fs-extra": "^9.0.1",
  66. "jest": "^29.7.0",
  67. "jest-cli": "^29.7.0",
  68. "prettier": "^2.6.1",
  69. "rollup": "^2.26.4",
  70. "sass": "^1.33.0",
  71. "serve": "^14.0.1",
  72. "stylelint": "^13.13.1",
  73. "stylelint-order": "^4.1.0"
  74. },
  75. "scripts": {
  76. "build": "npm run clean && npm run build.css && stencil build --es5 --docs-json dist/docs.json",
  77. "build.css": "npm run css.sass && npm run css.minify",
  78. "build.debug": "npm run clean && stencil build --debug",
  79. "build.docs.json": "stencil build --docs-json dist/docs.json",
  80. "clean": "node scripts/clean.js",
  81. "css.minify": "cleancss -O2 -o ./css/ionic.bundle.css ./css/ionic.bundle.css",
  82. "css.sass": "sass --embed-sources --style compressed src/css:./css",
  83. "eslint": "eslint src",
  84. "lint": "npm run lint.ts && npm run lint.sass && npm run prettier -- --write --cache",
  85. "lint.fix": "npm run lint.ts.fix && npm run lint.sass.fix && npm run prettier -- --write --cache",
  86. "lint.sass": "stylelint \"src/**/*.scss\"",
  87. "lint.sass.fix": "npm run lint.sass -- --fix",
  88. "lint.ts": "npm run eslint",
  89. "lint.ts.fix": "npm run eslint -- --fix",
  90. "prerender.e2e": "node scripts/testing/prerender.js",
  91. "prettier": "prettier \"./src/**/*.{html,ts,tsx,js,jsx}\"",
  92. "start": "npm run build.css && stencil build --dev --watch --serve",
  93. "test": "npm run test.spec && npm run test.e2e",
  94. "test.spec": "stencil test --spec --max-workers=2",
  95. "test.e2e": "npx playwright test",
  96. "test.e2e.update-snapshots": "npm run test.e2e -- --update-snapshots='changed'",
  97. "test.watch": "jest --watch --no-cache",
  98. "test.treeshake": "node scripts/treeshaking.js dist/index.js",
  99. "validate": "npm run lint && npm run test && npm run build && npm run test.treeshake",
  100. "docker.build": "docker build -t ionic-playwright .",
  101. "test.e2e.docker": "npm run docker.build && node ./scripts/docker.mjs",
  102. "test.e2e.docker.update-snapshots": "npm run test.e2e.docker -- --update-snapshots='changed'",
  103. "test.e2e.docker.ci": "npm run docker.build && CI=true node ./scripts/docker.mjs",
  104. "test.e2e.script": "node scripts/testing/e2e-script.mjs"
  105. },
  106. "author": "Ionic Team",
  107. "license": "MIT",
  108. "repository": {
  109. "type": "git",
  110. "url": "git+https://github.com/ionic-team/ionic-framework.git"
  111. },
  112. "bugs": {
  113. "url": "https://github.com/ionic-team/ionic-framework/issues"
  114. },
  115. "homepage": "https://ionicframework.com/",
  116. "jest": {
  117. "preset": "@stencil/core/testing"
  118. }
  119. }