UNPKG

7.89 kBJSONView Raw
1{
2 "name": "@stencil/core",
3 "version": "4.22.2",
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": "rimraf build/ cli/ compiler/ dev-server/ internal/ mock-doc/ sys/ testing/ && npm run clean:scripts && npm run clean.screenshots",
100 "clean.screenshots": "rimraf test/end-to-end/screenshot/builds test/end-to-end/screenshot/images",
101 "clean:scripts": "rimraf scripts/build",
102 "lint": "eslint 'bin/*' 'scripts/*.ts' 'scripts/**/*.ts' 'src/*.ts' 'src/**/*.ts' 'src/**/*.tsx' 'test/wdio/**/*.tsx'",
103 "install.jest": "npx tsx ./src/testing/jest/install-dependencies.mts",
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.copytask": "cd test/copy-task && npm ci && npm run test",
116 "test.dist": "npm run ts scripts/index.ts -- --validate-build",
117 "test.end-to-end": "cd test/end-to-end && npm ci && npm test && npm run test.dist",
118 "test.jest": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js",
119 "test.wdio": "cd test/wdio && npm ci && npm run test",
120 "test.wdio.testOnly": "cd test/wdio && npm ci && npm run wdio",
121 "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",
122 "test.testing": "node scripts/test/validate-testing.js",
123 "test.docs-build": "cd test && npm run build.docs-json && npm run build.docs-readme",
124 "test.watch": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --watch",
125 "test.watch-all": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --watchAll --coverage",
126 "tsc.prod": "tsc",
127 "ts": "tsc --noEmit --project scripts/tsconfig.json && tsx"
128 },
129 "devDependencies": {
130 "@ionic/prettier-config": "^4.0.0",
131 "@rollup/plugin-commonjs": "21.1.0",
132 "@rollup/plugin-json": "6.1.0",
133 "@rollup/plugin-node-resolve": "9.0.0",
134 "@rollup/plugin-replace": "5.0.7",
135 "@rollup/pluginutils": "5.1.0",
136 "@types/eslint": "^8.4.6",
137 "@types/exit": "^0.1.31",
138 "@types/fs-extra": "^11.0.0",
139 "@types/graceful-fs": "^4.1.5",
140 "@types/jest": "^27.0.3",
141 "@types/listr": "^0.14.4",
142 "@types/node": "^20.12.11",
143 "@types/pixelmatch": "^5.2.4",
144 "@types/pngjs": "^6.0.1",
145 "@types/prompts": "^2.0.9",
146 "@types/semver": "^7.3.12",
147 "@types/ws": "^8.5.4",
148 "@types/yarnpkg__lockfile": "^1.1.5",
149 "@typescript-eslint/eslint-plugin": "^7.0.0",
150 "@typescript-eslint/parser": "^7.0.0",
151 "@yarnpkg/lockfile": "^1.1.0",
152 "ansi-colors": "4.1.3",
153 "autoprefixer": "10.4.19",
154 "conventional-changelog-cli": "^5.0.0",
155 "cspell": "^8.0.0",
156 "dts-bundle-generator": "~9.5.0",
157 "esbuild": "^0.21.0",
158 "esbuild-plugin-replace": "^1.4.0",
159 "eslint": "^8.23.1",
160 "eslint-config-prettier": "^9.0.0",
161 "eslint-plugin-jest": "^28.0.0",
162 "eslint-plugin-jsdoc": "^50.0.0",
163 "eslint-plugin-simple-import-sort": "^12.0.0",
164 "eslint-plugin-wdio": "^8.24.12",
165 "execa": "9.3.0",
166 "exit": "^0.1.2",
167 "fs-extra": "^11.0.0",
168 "glob": "10.4.1",
169 "graceful-fs": "~4.2.6",
170 "jest": "^27.4.5",
171 "jest-cli": "^27.4.5",
172 "jest-environment-node": "^27.4.4",
173 "jquery": "https://github.com/jquery/jquery/tarball/c98597eaf5e144ee5e549cb41984687cd1033068",
174 "listr": "^0.14.3",
175 "magic-string": "^0.30.0",
176 "merge-source-map": "^1.1.0",
177 "mime-db": "^1.46.0",
178 "minimatch": "9.0.4",
179 "node-fetch": "3.3.2",
180 "open": "^9.0.0",
181 "open-in-editor": "2.2.0",
182 "parse5": "7.1.2",
183 "pixelmatch": "5.3.0",
184 "postcss": "^8.2.8",
185 "prettier": "3.3.1",
186 "prompts": "2.4.2",
187 "puppeteer": "^21.0.0",
188 "rimraf": "^6.0.1",
189 "rollup": "2.56.3",
190 "semver": "^7.3.7",
191 "terser": "5.31.1",
192 "tsx": "^4.10.3",
193 "typescript": "~5.5.4",
194 "webpack": "^5.75.0",
195 "ws": "8.17.1"
196 },
197 "engines": {
198 "node": ">=16.0.0",
199 "npm": ">=7.10.0"
200 },
201 "repository": {
202 "type": "git",
203 "url": "git+https://github.com/ionic-team/stencil.git"
204 },
205 "author": "Ionic Team",
206 "homepage": "https://stenciljs.com/",
207 "description": "A Compiler for Web Components and Progressive Web Apps",
208 "keywords": [
209 "web components",
210 "components",
211 "stencil",
212 "ionic",
213 "webapp",
214 "custom elements",
215 "pwa",
216 "progressive web app"
217 ],
218 "prettier": "@ionic/prettier-config",
219 "volta": {
220 "node": "22.2.0",
221 "npm": "10.8.1"
222 }
223}