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