-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
149 lines (149 loc) · 5.02 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
{
"name": "aurelia-direct-router-monorepo",
"private": true,
"version": "2.0.0-alpha.21.0",
"workspaces": [
"packages/router",
"test/karma-aurelia-preprocessor",
"examples/base-url",
"examples/lazy-loading-config",
"packages/__tests__",
"packages/__e2e__"
],
"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-direct-router --scope aurelia-direct-router-* --no-cache --verbose --no-deps",
"build:release": "lage run build --scope aurelia-direct-router --scope aurelia-direct-router-* --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 test/*/dist examples/*/dist",
"clean:node_modules": "rimraf node_modules packages/*/node_modules test/*/node_modules examples/*/node_modules",
"clean:tsconfig-build-cache": "rimraf packages/*/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",
"test:e2e": "npm run build && cd packages/__e2e__ && npm run test"
},
"devDependencies": {
"@aurelia/testing": "latest",
"@commitlint/cli": "^8.2.0",
"@rollup/plugin-replace": "^3.0.0",
"@rollup/plugin-typescript": "^8.2.5",
"@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",
"rollup": "^2.55.1",
"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"
}
}
}