package.json 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. {
  2. "name": "@stencil/core",
  3. "version": "4.20.0",
  4. "license": "MIT",
  5. "main": "./internal/stencil-core/index.cjs",
  6. "module": "./internal/stencil-core/index.js",
  7. "types": "./internal/stencil-core/index.d.ts",
  8. "bin": {
  9. "stencil": "bin/stencil"
  10. },
  11. "files": [
  12. "!**/*.map",
  13. "!**/*.stub.ts",
  14. "!**/*.stub.tsx",
  15. "bin/",
  16. "cli/",
  17. "compiler/",
  18. "dev-server/",
  19. "internal/",
  20. "mock-doc/",
  21. "screenshot/",
  22. "sys/",
  23. "testing/"
  24. ],
  25. "exports": {
  26. ".": {
  27. "import": "./internal/stencil-core/index.js",
  28. "require": "./internal/stencil-core/index.cjs",
  29. "types": "./internal/stencil-core/index.d.ts"
  30. },
  31. "./cli": {
  32. "import": "./cli/index.js",
  33. "require": "./cli/index.cjs"
  34. },
  35. "./internal": {
  36. "import": "./internal/index.js",
  37. "types": "./internal/index.d.ts"
  38. },
  39. "./internal/client": {
  40. "import": "./internal/client/index.js",
  41. "require": "./internal/client/index.js"
  42. },
  43. "./internal/testing": {
  44. "import": "./internal/testing/index.js",
  45. "require": "./internal/testing/index.js"
  46. },
  47. "./internal/testing/*": {
  48. "import": "./internal/testing/*"
  49. },
  50. "./internal/app-data": {
  51. "import": "./internal/app-data/index.js",
  52. "require": "./internal/app-data/index.cjs",
  53. "types": "./internal/app-data/index.d.ts"
  54. },
  55. "./mock-doc": {
  56. "import": "./mock-doc/index.js",
  57. "require": "./mock-doc/index.cjs",
  58. "types": "./mock-doc/index.d.ts"
  59. },
  60. "./compiler": {
  61. "import": "./compiler/stencil.js",
  62. "require": "./compiler/stencil.js",
  63. "types": "./compiler/stencil.d.ts"
  64. },
  65. "./compiler/*": {
  66. "import": "./compiler/*",
  67. "types": "./compiler/*"
  68. },
  69. "./screenshot": {
  70. "require": "./screenshot/index.js",
  71. "types": "./screenshot/index.d.ts"
  72. },
  73. "./sys/node": {
  74. "import": "./sys/node/index.js",
  75. "require": "./sys/node/index.js",
  76. "types": "./sys/node/index.d.ts"
  77. },
  78. "./sys/node/*": {
  79. "import": "./sys/node/*",
  80. "require": "./sys/node/*"
  81. },
  82. "./testing": {
  83. "import": "./testing/index.js",
  84. "types": "./testing/index.d.ts",
  85. "require": "./testing/index.js"
  86. },
  87. "./testing/jest-preset": {
  88. "require": "./testing/jest-preset.js"
  89. },
  90. "./testing/*": {
  91. "import": "./testing/*",
  92. "require": "./testing/*"
  93. }
  94. },
  95. "scripts": {
  96. "build": "npm run clean && npm run tsc.prod && npm run ts scripts/index.ts -- --prod --ci",
  97. "build.watch": "npm run build -- --watch",
  98. "build.updateSelectorEngine": "npm run ts scripts/updateSelectorEngine.ts",
  99. "clean": "rm -rf build/ cli/ compiler/ dev-server/ internal/ mock-doc/ sys/ testing/ && npm run clean:scripts && npm run clean.screenshots",
  100. "clean.screenshots": "rm -rf test/end-to-end/screenshot/builds test/end-to-end/screenshot/images",
  101. "clean:scripts": "rm -rf scripts/build",
  102. "lint": "eslint 'bin/*' 'scripts/*.ts' 'scripts/**/*.ts' 'src/*.ts' 'src/**/*.ts' 'src/**/*.tsx' 'test/wdio/**/*.tsx'",
  103. "install.jest": "bash ./src/testing/jest/install-dependencies.sh",
  104. "prettier": "npm run prettier.base -- --write",
  105. "prettier.base": "prettier --cache \"./({bin,scripts,src,test}/**/*.{ts,tsx,js,jsx})|bin/stencil|.github/(**/)?*.(yml|yaml)|*.js\"",
  106. "prettier.dry-run": "npm run prettier.base -- --list-different",
  107. "release.ci.prepare": "npm run ts scripts/index.ts -- --release --ci-prepare",
  108. "release.ci": "NODE_OPTIONS=--max-old-space-size=4096 npm run ts scripts/index.ts -- --release --ci-publish",
  109. "spellcheck": "npm run spellcheck.code && npm run spellcheck.markdown",
  110. "spellcheck.code": "cspell --config cspell-code.json --no-progress \"src/**/*.ts\" \"src/**/*.tsx\" \"scripts/**/*.ts\"",
  111. "spellcheck.markdown": "cspell --config cspell-markdown.json --no-progress \"*.md\" \"**/*.md\"",
  112. "test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --coverage",
  113. "test.analysis": "cd test && npm run analysis.build-and-analyze",
  114. "test.bundlers": "cd test && npm run bundlers",
  115. "test.dist": "npm run ts scripts/index.ts -- --validate-build",
  116. "test.end-to-end": "cd test/end-to-end && npm ci && npm test && npm run test.dist",
  117. "test.jest": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js",
  118. "test.wdio": "cd test/wdio && npm ci && npm run test",
  119. "test.wdio.testOnly": "cd test/wdio && npm ci && npm run wdio",
  120. "test.prod": "npm run test.dist && npm run test.end-to-end && npm run test.jest && npm run test.wdio && npm run test.testing && npm run test.analysis",
  121. "test.testing": "node scripts/test/validate-testing.js",
  122. "test.docs-build": "cd test && npm run build.docs-json && npm run build.docs-readme",
  123. "test.watch": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --watch",
  124. "test.watch-all": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --watchAll --coverage",
  125. "tsc.prod": "tsc",
  126. "ts": "tsc --noEmit --project scripts/tsconfig.json && tsx"
  127. },
  128. "devDependencies": {
  129. "@ionic/prettier-config": "^4.0.0",
  130. "@rollup/plugin-commonjs": "21.1.0",
  131. "@rollup/plugin-json": "6.1.0",
  132. "@rollup/plugin-node-resolve": "9.0.0",
  133. "@rollup/plugin-replace": "5.0.7",
  134. "@rollup/pluginutils": "5.1.0",
  135. "@types/eslint": "^8.4.6",
  136. "@types/exit": "^0.1.31",
  137. "@types/fs-extra": "^11.0.0",
  138. "@types/graceful-fs": "^4.1.5",
  139. "@types/jest": "^27.0.3",
  140. "@types/listr": "^0.14.4",
  141. "@types/node": "^20.12.11",
  142. "@types/pixelmatch": "^5.2.4",
  143. "@types/pngjs": "^6.0.1",
  144. "@types/prompts": "^2.0.9",
  145. "@types/semver": "^7.3.12",
  146. "@types/ws": "^8.5.4",
  147. "@types/yarnpkg__lockfile": "^1.1.5",
  148. "@typescript-eslint/eslint-plugin": "^7.0.0",
  149. "@typescript-eslint/parser": "^7.0.0",
  150. "@yarnpkg/lockfile": "^1.1.0",
  151. "ansi-colors": "4.1.3",
  152. "autoprefixer": "10.4.19",
  153. "conventional-changelog-cli": "^5.0.0",
  154. "cspell": "^8.0.0",
  155. "dts-bundle-generator": "~9.5.0",
  156. "esbuild": "^0.21.0",
  157. "esbuild-plugin-replace": "^1.4.0",
  158. "eslint": "^8.23.1",
  159. "eslint-config-prettier": "^9.0.0",
  160. "eslint-plugin-jest": "^28.0.0",
  161. "eslint-plugin-jsdoc": "^48.0.0",
  162. "eslint-plugin-simple-import-sort": "^12.0.0",
  163. "eslint-plugin-wdio": "^8.24.12",
  164. "execa": "9.3.0",
  165. "exit": "^0.1.2",
  166. "fs-extra": "^11.0.0",
  167. "glob": "10.4.1",
  168. "graceful-fs": "~4.2.6",
  169. "jest": "^27.4.5",
  170. "jest-cli": "^27.4.5",
  171. "jest-environment-node": "^27.4.4",
  172. "jquery": "https://github.com/jquery/jquery/tarball/c98597eaf5e144ee5e549cb41984687cd1033068",
  173. "listr": "^0.14.3",
  174. "magic-string": "^0.30.0",
  175. "merge-source-map": "^1.1.0",
  176. "mime-db": "^1.46.0",
  177. "minimatch": "9.0.4",
  178. "node-fetch": "3.3.2",
  179. "open": "^9.0.0",
  180. "open-in-editor": "2.2.0",
  181. "parse5": "7.1.2",
  182. "pixelmatch": "5.3.0",
  183. "postcss": "^8.2.8",
  184. "prettier": "3.3.1",
  185. "prompts": "2.4.2",
  186. "puppeteer": "^21.0.0",
  187. "rollup": "2.56.3",
  188. "semver": "^7.3.7",
  189. "terser": "5.31.1",
  190. "tsx": "^4.10.3",
  191. "typescript": "~5.5.3",
  192. "webpack": "^5.75.0",
  193. "ws": "8.17.1"
  194. },
  195. "engines": {
  196. "node": ">=16.0.0",
  197. "npm": ">=7.10.0"
  198. },
  199. "repository": {
  200. "type": "git",
  201. "url": "git+https://github.com/ionic-team/stencil.git"
  202. },
  203. "author": "Ionic Team",
  204. "homepage": "https://stenciljs.com/",
  205. "description": "A Compiler for Web Components and Progressive Web Apps",
  206. "keywords": [
  207. "web components",
  208. "components",
  209. "stencil",
  210. "ionic",
  211. "webapp",
  212. "custom elements",
  213. "pwa",
  214. "progressive web app"
  215. ],
  216. "prettier": "@ionic/prettier-config",
  217. "volta": {
  218. "node": "22.2.0",
  219. "npm": "10.8.1"
  220. }
  221. }