forked from aurelia/aurelia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
209 lines (209 loc) · 6.95 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
{
"name": "@aurelia/monorepo",
"private": true,
"version": "2.0.0-beta.8",
"packageManager": "[email protected]",
"workspaces": [
"packages/__tests__",
"packages/__e2e__/hmr-vite",
"packages/__e2e__/hmr-webpack",
"packages/__e2e__/i18n",
"packages/__e2e__/router",
"packages/__e2e__/router-lite",
"packages/__e2e__/ui-virtualization",
"packages/__e2e__/select-safari16",
"packages/addons",
"packages/aurelia",
"packages/compat-v1",
"packages/dialog",
"packages/fetch-client",
"packages/i18n",
"packages/kernel",
"packages/metadata",
"packages/platform",
"packages/platform-browser",
"packages/router",
"packages/router-lite",
"packages/route-recognizer",
"packages/runtime",
"packages/runtime-html",
"packages/state",
"packages/store-v1",
"packages/testing",
"packages/ui-virtualization",
"packages/validation",
"packages/validation-html",
"packages/validation-i18n",
"packages/web-components",
"packages-tooling/__tests__",
"packages-tooling/au",
"packages-tooling/http-server",
"packages-tooling/plugin-gulp",
"packages-tooling/plugin-conventions",
"packages-tooling/vite-plugin",
"packages-tooling/webpack-loader",
"packages-tooling/babel-jest",
"packages-tooling/ts-jest",
"packages-tooling/parcel-transformer",
"benchmarks",
"examples/1kcomponents",
"examples/doc-example",
"examples/fractals-tree",
"examples/navigation-skeleton",
"examples/rainbow-spiral",
"examples/realworld",
"examples/realworld-advanced",
"examples/router-animation",
"examples/sierpinski-triangle"
],
"license": "MIT",
"engines": {
"node": ">=14.17.0",
"npm": ">=7.0.0"
},
"scripts": {
"prepare": "husky install",
"commit": "git-cz",
"init": "npm ci && npm run build",
"rebuild": "npm run clean && npm run build",
"build": "turbo build --filter=@aurelia/* --filter=aurelia --filter=au",
"build:release": "cross-env RELEASE_BUILD=true turbo rollup --filter=aurelia --filter=au --filter=@aurelia/*",
"postbuild:release": "npm run clean:tsconfig-build-cache",
"build:release:full": "npm run build:release && npm run change-tsconfigs:invert && npm run build:release && npm run change-tsconfigs:restore",
"build:release-script": "tsc --project scripts/tsconfig.release-script.json",
"change-package-refs:dev": "ts-node -P tsconfig.json scripts/change-package-refs.ts dev",
"change-package-refs:release": "ts-node -P tsconfig.json scripts/change-package-refs.ts release",
"clean": "rimraf dist packages/*/dist packages-tooling/*/dist test/*/dist examples/*/dist",
"clean:tsconfig-build-cache": "rimraf packages/*/dist/tsconfig.tsbuildinfo packages-tooling/*/dist/tsconfig.tsbuildinfo",
"clean:lint": "rimraf .eslintcache packages/*/.eslintcache packages-tooling/*/.eslintcache",
"lint": "turbo lint && npm run lint:other",
"lint:ci": "npm run lint:ci -ws --if-present",
"lint:other": "eslint --cache --ext .js,.ts scripts",
"lint:other:ci": "eslint --cache --ext .js,.ts --quiet --report-unused-disable-directives scripts",
"change-tsconfigs:esm": "ts-node -P tsconfig.json scripts/change-tsconfigs.ts esm",
"change-tsconfigs:cjs": "ts-node -P tsconfig.json scripts/change-tsconfigs.ts cjs",
"change-tsconfigs:invert": "ts-node -P tsconfig.json scripts/change-tsconfigs.ts invert",
"change-tsconfigs:restore": "ts-node -P tsconfig.json scripts/change-tsconfigs.ts restore",
"prepare-release": "ts-node -P tsconfig.json scripts/prepare-release.ts",
"generate-native-modules": "ts-node -P tsconfig.json scripts/generate-native-modules.ts",
"publish:dev": "ts-node scripts/publish.ts dev --esm",
"publish:latest": "npx ts-node scripts/publish.ts latest --esm",
"bump-version:dev": "npx ts-node -P tsconfig.json scripts/bump-version.ts dev",
"bump-version:latest": "ts-node -P tsconfig.json scripts/bump-version.ts latest",
"check-dependencies": "ts-node -P tsconfig.json scripts/check-dependencies.ts",
"pregenerate-tests:template-compiler.static": "tsc --resolveJsonModule --module commonjs --moduleResolution node --outDir scripts/dist scripts/generate-tests/template-compiler.static.ts",
"generate-tests:template-compiler.static": "node scripts/dist/scripts/generate-tests/template-compiler.static.js",
"generate-tests:template-compiler.mutations": "ts-node -P tsconfig.json scripts/generate-tests/template-compiler.mutations.ts",
"mermaid": "ts-node -P tsconfig.json scripts/generate-mermaid-diagrams.ts",
"test": "cd packages/__tests__ && npm run test",
"test:ci": "npm ci && npm run test",
"test:watch": "cd packages/__tests__ && npm run test-chrome:watch",
"test:debugger": "cd packages/__tests__ && npm run test-chrome:debugger",
"dev": "ts-node scripts/dev.ts",
"dev:tooling": "ts-node scripts/dev-tooling.ts"
},
"devDependencies": {
"@commitlint/cli": "17.5.1",
"@rollup/plugin-alias": "4.0.3",
"@rollup/plugin-node-resolve": "15.0.1",
"@rollup/plugin-replace": "5.0.2",
"@rollup/plugin-terser": "0.4.0",
"@rollup/plugin-typescript": "8.2.5",
"@types/fancy-log": "^2.0.0",
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0",
"chalk": "4.1.2",
"chromedriver": "119.0.0",
"codecov": "^3.8.3",
"concurrently": "7.6.0",
"cross-env": "7.0.3",
"esbuild": "0.17.15",
"eslint": "8.53.0",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-jsdoc": "46.9.0",
"eslint-plugin-mocha": "10.2.0",
"fancy-log": "2.0.0",
"http-server": "14.1.1",
"husky": "8.0.3",
"rimraf": "3.0.2",
"rollup": "2.79.1",
"rollup-plugin-esbuild": "5.0.0",
"tachometer": "0.7.0",
"ts-node": "10.9.1",
"turbo": "1.10.16",
"typescript": "5.2.2",
"v8-to-istanbul": "9.1.0",
"vite": "^4.3.9"
},
"commitlint": {
"rules": {
"body-leading-blank": [
1,
"always"
],
"footer-leading-blank": [
1,
"always"
],
"header-max-length": [
2,
"always",
100
],
"scope-case": [
2,
"always",
"lower-case"
],
"subject-case": [
2,
"never",
[
"sentence-case",
"start-case",
"pascal-case",
"upper-case"
]
],
"subject-empty": [
2,
"never"
],
"subject-full-stop": [
2,
"never",
"."
],
"type-case": [
2,
"always",
"lower-case"
],
"type-empty": [
2,
"never"
],
"type-enum": [
2,
"always",
[
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style",
"test"
]
]
}
},
"volta": {
"node": "16.14.2",
"npm": "8.19.2"
}
}