forked from aurelia/aurelia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
180 lines (180 loc) · 6.1 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
{
"name": "@aurelia/monorepo",
"private": true,
"version": "2.0.0-alpha.2",
"workspaces": [
"packages/__tests__",
"packages/au",
"packages/aurelia",
"packages/fetch-client",
"packages/i18n",
"packages/kernel",
"packages/metadata",
"packages/platform",
"packages/platform-browser",
"packages/router",
"packages/route-recognizer",
"packages/runtime",
"packages/runtime-html",
"packages/http-server",
"packages/store",
"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.15.0",
"npm": ">=6.14.8"
},
"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:release": "lage run build --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",
"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": "lage publish:dev",
"publish:latest": "lage publish: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"
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^4.10.0",
"@typescript-eslint/parser": "^4.10.0",
"chalk": "^4.1.0",
"codecov": "^3.6.1",
"cross-env": "^7.0.2",
"eslint": "^7.15.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsdoc": "^30.7.8",
"eslint-plugin-mocha": "^8.0.0",
"fancy-log": "^1.3.3",
"husky": "^4.3.0",
"lage": "^0.26.2",
"rimraf": "^3.0.0",
"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"
}
}
}