forked from aurelia/aurelia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
192 lines (192 loc) · 6.85 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
{
"name": "@aurelia/monorepo",
"private": true,
"version": "2.0.0-alpha.25",
"workspaces": [
"packages/__tests__",
"packages/__e2e__/router-configured-basic",
"packages/au",
"packages/aurelia",
"packages/fetch-client",
"packages/i18n",
"packages/kernel",
"packages/metadata",
"packages/platform",
"packages/platform-browser",
"packages/router-lite",
"packages/route-recognizer",
"packages/runtime",
"packages/runtime-html",
"packages/http-server",
"packages/store-v1",
"packages/testing",
"packages/validation",
"packages/validation-html",
"packages/validation-i18n",
"packages-cjs/__tests__",
"packages-cjs/aot",
"packages-cjs/plugin-gulp",
"packages-cjs/plugin-parcel",
"packages-cjs/plugin-conventions",
"packages-cjs/webpack-loader",
"packages-cjs/babel-jest",
"packages-cjs/ts-jest",
"examples/1kcomponents",
"examples/doc-example",
"examples/fractals-tree",
"examples/navigation-skeleton",
"examples/rainbow-spiral",
"examples/realworld",
"examples/realworld-advanced",
"examples/sierpinski-triangle",
"test/karma-aurelia-preprocessor",
"test/i18n",
"test/benchmarking-apps/shared",
"test/benchmarking-apps/aurelia2",
"test/benchmarking-apps/runner",
"test/benchmarking-apps/storage",
"test/benchmarking-apps/test-result",
"test/benchmarking-apps/viewer/server",
"test/benchmarking-apps/viewer/client"
],
"license": "MIT",
"engines": {
"node": ">=14.17.0",
"npm": ">=7.0.0"
},
"scripts": {
"commit": "git-cz",
"init": "npm ci && npm run build",
"rebuild": "npm run clean && npm run build",
"build": "lage build --scope @aurelia/* --scope aurelia --scope au --scope @benchmarking-apps/* --no-cache --verbose --no-deps",
"build:test": "cross-env NO_MINIFIED=true __DEV__=true lage run rollup --scope @aurelia/* --scope aurelia --scope au --scope @benchmarking-apps/* --no-cache --verbose --no-deps",
"build:release": "lage run rollup --scope aurelia --scope au --scope @aurelia/a* --scope @aurelia/b* --scope @aurelia/f* --scope @aurelia/h* --scope @aurelia/i* --scope @aurelia/k* --scope @aurelia/m* --scope @aurelia/p* --scope @aurelia/r* --scope @aurelia/s* --scope @aurelia/t* --scope @aurelia/v* --scope @aurelia/w* --no-cache --verbose --no-deps",
"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-cjs/*/dist test/*/dist test/benchmarking-apps/*/dist examples/*/dist",
"clean:tsconfig-build-cache": "rimraf packages/*/dist/tsconfig.tsbuildinfo packages-cjs/*/dist/tsconfig.tsbuildinfo",
"lint": "npm run lint:packages && npm run lint:other",
"lint:other": "eslint --cache --ext .js,.ts examples scripts test",
"lint:other:ci": "eslint --cache --ext .js,.ts --quiet --report-unused-disable-directives examples scripts test",
"lint:packages": "lage run lint",
"lint:packages:ci": "lage run lint:ci",
"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": "node scripts/publish.js dev",
"publish:latest": "node scripts/publish.js latest",
"bump-version:dev": "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",
"rollup": "lage rollup",
"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"
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@rollup/plugin-replace": "^2.4.2",
"@rollup/plugin-typescript": "^8.2.5",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
"chalk": "^4.1.2",
"codecov": "^3.8.3",
"cross-env": "^7.0.2",
"eslint": "^7.32.0",
"eslint-plugin-import": "^2.24.0",
"eslint-plugin-jsdoc": "^30.7.13",
"eslint-plugin-mocha": "^8.2.0",
"fancy-log": "^1.3.3",
"husky": "^4.3.0",
"lage": "^0.31.2",
"rimraf": "^3.0.0",
"rollup": "^2.56.2",
"rollup-plugin-terser": "^7.0.2",
"ts-node": "^9.0.0",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.0.3"
},
"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"
]
]
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}