-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
137 lines (137 loc) · 6.07 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
{
"name": "@davidlj95/website",
"version": "0.0.0-PLACEHOLDER",
"repository": {
"type": "git",
"url": "https://github.com/davidlj95/website.git"
},
"scripts": {
"build": "ng build",
"build:pack": "DIST_DIR=dist/@davidlj95/website/browser; [ -d \"$DIST_DIR\" ] && cd $DIST_DIR && zip -r ../../../build.zip . || true",
"build:pull-request": "pnpm run build --configuration pullRequest,production",
"bundle:analyze": "pnpm run bundle:analyze:files '*.js'",
"bundle:analyze:files": "cd dist/@davidlj95/website/browser && pnpm dlx source-map-explorer --no-border-checks",
"bundle:analyze:files//": "☝️ Something weird in source maps after switching to ESBuild. So `--no-border-checks` was added",
"bundle:analyze:main": "pnpm run bundle:analyze:files 'main*.js'",
"bundlewatch": "bundlewatch --config .bundlewatch.config.json",
"commitlint:edit-msg": "commitlint --verbose --edit",
"commitlint:last": "commitlint --verbose --last",
"coverage:move-to-nyc-output": "rm -rf .nyc_output && mkdir .nyc_output && cp -f coverage/*.json .nyc_output",
"coverage:report": "nyc report --reporter json --report-dir coverage && mv -f coverage/coverage-final.json coverage/component-testing.json",
"coverage:report//1": "☝️ Cypress executes it to perform custom reporting. With this:",
"coverage:report//2": " - **same filename for local/CI**: the 'mv' command is run in both local and CI, so JSON coverage filename is the same",
"coverage:report//3": " - **.nycrc* config files avoided:** could be mistakenly used by other tools",
"coverage:report:all": "pnpm run coverage:move-to-nyc-output && nyc report --reporter lcov --report-dir coverage",
"coverage:report:all//": "☝️ Can't be 'coverage:report', look for that run script comments for reason",
"cypress:open": "cypress open",
"data": "pnpm run --filter scripts generate",
"e2e": "ng e2e",
"format": "pnpm run format:files .",
"format:check": "pnpm run format:check:files .",
"format:check:files": "prettier --check",
"format:files": "prettier --ignore-unknown --write",
"git-hooks": "husky",
"lighthouseci": "lhci autorun",
"lint": "pnpm run '/^lint:[\\w-]*$/'",
"lint:code": "pnpm run lint:code:files .",
"lint:code:files": "eslint --max-warnings 0",
"lint:code:files//": "☝️ lint-staged can't/shouldn't use 'ng lint'",
"lint:code:files:typed": "pnpm run lint:code:files --config eslint.config.typed.mjs",
"lint:code:typed": "pnpm run lint:code:files:typed .",
"lint:commit-message": "pnpm run commitlint:edit-msg",
"lint:gh-actions": "actionlint || true",
"lint:unused": "pnpm run '/^lint:unused:.*$/'",
"lint:unused:development": "knip",
"lint:unused:production": "knip --production --tags=-visibleForTesting",
"release": "release-it",
"release:dry-run": "release-it --dry-run --no-git.requireBranch",
"release:dry-run:local": "pnpm run release:dry-run --no-git.requireCleanWorkingDir --no-git.requireUpstream",
"serve:ssr:@davidlj95/website": "node dist/@davidlj95/website/server/server.mjs",
"start": "pnpm dlx http-server dist/@davidlj95/website/browser -a localhost",
"start:dev": "ng serve",
"start:dev:public": "pnpm run start:dev --host 0.0.0.0 --disable-host-check",
"start:dev:pull-request": "pnpm run start:dev --configuration pullRequest",
"test": "pnpm run '/test:.*/'",
"test:components": "cypress run --component",
"test:unit": "ng test --code-coverage --watch false",
"validate": "pnpm run '/^validate:.*/'",
"validate:codecov-yml": "curl -X POST --data-binary @codecov.yml https://codecov.io/validate",
"validate:renovate-config": "pnpm --package renovate dlx renovate-config-validator",
"watch": "pnpm run build --watch --configuration development"
},
"dependencies": {
"@angular/animations": "19.0.0",
"@angular/common": "19.0.0",
"@angular/compiler": "19.0.0",
"@angular/core": "19.0.0",
"@angular/platform-browser": "19.0.0",
"@angular/platform-browser-dynamic": "19.0.0",
"@angular/platform-server": "19.0.0",
"@angular/router": "19.0.0",
"@angular/ssr": "19.0.1",
"@davidlj95/ngx-meta": "1.0.0-beta.36",
"@fontsource/roboto": "5.1.0",
"@fontsource/roboto-mono": "5.1.0",
"@ng-icons/core": "27.5.2",
"@ng-icons/font-awesome": "27.5.2",
"compression": "1.7.5",
"express": "4.21.0",
"gardevoir": "1.0.0",
"rxjs": "7.8.1",
"simple-icons": "13.16.0",
"tslib": "2.8.1",
"zone.js": "0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "19.0.1",
"@angular/cli": "19.0.1",
"@angular/compiler-cli": "19.0.0",
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@commitlint/types": "19.5.0",
"@cypress/code-coverage": "3.13.4",
"@eslint/compat": "1.2.3",
"@fontsource-variable/material-symbols-outlined": "5.1.3",
"@lhci/cli": "0.14.0",
"@release-it/conventional-changelog": "9.0.3",
"@types/compression": "1.7.5",
"@types/express": "4.17.21",
"@types/jasmine": "5.1.4",
"@types/node": "20.17.8",
"@types/subset-font": "2.2.0",
"angular-eslint": "18.4.2",
"babel-loader": "9.2.1",
"babel-plugin-istanbul": "7.0.0",
"browser-sync": "3.0.3",
"bundlewatch": "0.4.0",
"cypress": "13.15.0",
"eslint": "9.14.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-cypress": "4.1.0",
"eslint-plugin-jasmine": "4.2.2",
"eslint-plugin-json-files": "4.4.2",
"extensionless": "1.9.9",
"globals": "15.12.0",
"husky": "9.1.6",
"jasmine-core": "5.4.0",
"karma": "6.4.4",
"karma-chrome-launcher": "3.2.0",
"karma-coverage": "2.2.1",
"karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "2.1.0",
"knip": "5.38.2",
"lint-staged": "15.2.10",
"liquidjs": "10.18.0",
"ng-mocks": "14.13.1",
"nyc": "17.1.0",
"prettier": "3.3.3",
"release-it": "17.10.0",
"subset-font": "2.3.0",
"typescript": "5.6.3",
"typescript-eslint": "8.14.0"
},
"packageManager": "[email protected]",
"publishConfig": {
"access": "public"
}
}