-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
139 lines (139 loc) · 7.48 KB
/
package.json
File metadata and controls
139 lines (139 loc) · 7.48 KB
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
{
"name": "@decaf-ts/for-angular",
"version": "0.3.7",
"scripts": {
"ng": "ng",
"start": "npx rimraf .angular && ng run for-angular-app:serve --host=localhost --port=8110",
"decaf": "decaf angular generate",
"start:ptp": "npx rimraf .angular && ng serve --host 0.0.0.0 --allowed-hosts all --port=8131 --configuration development",
"start:pdm": "npx rimraf .angular && ng serve --host 0.0.0.0 --allowed-hosts all --port=8130 --configuration development",
"schematics": "schematics",
"do-install": "NPM_TOKEN=$(cat .npmtoken) npm install",
"update-scripts": "npx update-scripts",
"on-first-run": "npx update-scripts --boot",
"set-git-auth": "git config url.\"https://api:$(cat .token)@github.com/\".insteadOf \"https://github.com/\" && git config url.\"https://ssh:$(cat .token)@github.com/\".insteadOf \"ssh://git@github.com/\" && git config url.\"https://git:$(cat .token)@github.com/\".insteadOf \"git@github.com:\"",
"flash-forward": "npx npm-check-updates -u && npm run do-install",
"update-dependencies": "NPM_TOKEN=$(cat .npmtoken) PREFIX=\"decaf-ts\"; npm ls | grep \"$PREFIX\" | awk -F/ '{print $NF}' | sed 's/@.*//' | xargs -I package npm update --force @\"$PREFIX\"/package && ng cache clean",
"update-decaf": "NPM_TOKEN=$(cat .npmtoken) PREFIX=\"decaf-ts\"; npm ls | grep \"$PREFIX\" | awk -F/ '{print $NF}' | sed 's/@.*//' | xargs -I package npm update @\"$PREFIX\"/package",
"reset": "rm -rf * && git checkout . && git pull && npm run do-install",
"build:prod": "npm run lint && ng build for-angular && ng build for-angular-app",
"build": "npx rimraf .angular && npm run lint && ng build for-angular --configuration development && ng build for-angular-app --configuration development && npm run build:cli",
"build:cli": "tsc --project tsconfig.cli.json --outDir dist/for-angular/cli",
"build:schematics": "node ./bin/build-schematics.js",
"server": "npm run start",
"watch": "ng build for-angular --watch --configuration development",
"test": "npm run test:all",
"test:all": "jest --runInBand --passWithNoTests",
"test:components": "jest --runInBand --passWithNoTests src/lib/components",
"test:services": "jest --runInBand --passWithNoTests src/lib/services",
"lint": "ng lint for-angular",
"lint-fix": "ng lint --fix",
"coverage": "npx rimraf ./workdocs/reports/data/*.json && npm run test:all -- --coverage --config=./workdocs/reports/jest.coverage.config.ts",
"prepare-pr": "npm run lint-fix && npm run build:prod && npm run coverage && npm run docs",
"prepare-release": "npm run lint-fix && npm run build:prod && npm run coverage && npm run docs",
"release": "./bin/tag-release.sh",
"clean-publish": "npx clean-publish",
"drawings": "for FILE in workdocs/drawings/*.drawio; do echo \"converting $FILE to image...\" && docker run --rm -v $(pwd):/data rlespinasse/drawio-export --format png $FILE; done && cp -rf workdocs/drawings/export/* workdocs/resources/",
"uml": "cd workdocs/uml && for FILE in ./*.puml; do docker run --rm -v $(pwd):/work -w /work miy4/plantuml -DPLANTUML_LIMIT_SIZE=8192 -tpng $FILE; done && cd ../.. && cp -fr workdocs/uml/*.png workdocs/resources/",
"docs": "npx rimraf ./docs && mkdir docs && decaf build --docs",
"publish-docs": "docker run -it --rm --user $(id -u):$(id -g) -v \"$(pwd)/workdocs/confluence:/content\" -e ATLASSIAN_API_TOKEN=$(cat .confluence-token) ghcr.io/markdown-confluence/publish:latest",
"storybook": "ng run for-angular:storybook --debug-webpack",
"storybook:build": "ng run for-angular:build-storybook",
"playwright": "npx playwright test --config=./playwright.config.ts",
"playwright-ui": "npx playwright test --config=./playwright.config.ts --ui",
"playwright-setup": "npm init playwright@latest",
"increase:fs:watches": "sudo sysctl -n -w fs.inotify.max_user_watches=1048576 && sudo sysctl -n -w fs.inotify.max_user_instances=512",
"resources": "npm run resources:pwa",
"resources:android": "npx capacitor-assets generate --android --assetPath='resources' && npm run resources",
"resources:ios": "npx capacitor-assets generate --ios --assetPath='resources' && npm run resources",
"resources:pwa": "npx capacitor-assets generate --pwa --assetPath='resources' --pwaManifestPath='src/manifest.webmanifest'",
"repo:init": "codex exec \"$(cat ./.codex/prompts/repo-setup.md)\nbase_path is `./`, initialize the repository\"",
"repo:setup": "codex exec \"$(cat ./.codex/prompts/repo-setup.md)\nbase_path is ./\"",
"repo:doc": "codex exec \"$(cat ./.codex/prompts/doc.md) $(cat ./.codex/prompts/bulk-docs.md)\nbase_path is ./\"",
"repo:tests": "codex exec \"$(cat ./.codex/prompts/bulk-tests.md)\nbase_path is ./ and coverage is 95%\" -s workspace-write",
"repo:readme": "codex exec \"$(cat ./.codex/prompts/update-readme.md)\nbase_path is ./\"",
"repo:pr": "npm run repo:doc && npm run repo:tests && npm run repo:readme",
"sync-codex": "./bin/sync-codex.sh"
},
"author": "Tiago Venceslau and Contributors",
"license": "MPL-2.0 OR AGPL-3.0",
"repository": {
"type": "git",
"url": "git+https://github.com/decaf-ts/for-angular.git"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"devDependencies": {
"@angular-devkit/schematics": "^21.2.9",
"@angular-devkit/schematics-cli": "^21.2.9",
"@angular-eslint/builder": "^21.3.1",
"@angular-eslint/schematics": "^21.2.9",
"@angular/cli": "^21.2.9",
"@angular/compiler-cli": "^21.2.9",
"@decaf-ts/cli": "latest",
"@decaf-ts/utils": "latest",
"@faker-js/faker": "^9.9.0",
"@playwright/test": "^1.54.1",
"@storybook/addon-docs": "10.3.6",
"@storybook/addon-onboarding": "10.3.6",
"@storybook/angular": "10.3.6",
"@types/bwip-js": "^3.2.3",
"@types/jest": "^30.0.0",
"@types/node": "^22.15.24",
"ajv": "^6.14.0",
"angular-eslint": "^21.2.9",
"eslint": "^9.29.0",
"eslint-plugin-storybook": "10.3.6",
"eslint-plugin-unused-imports": "^4.4.1",
"ffmpeg-static": "5.2.0",
"jest-environment-jsdom": "^30.4.1",
"jest-preset-angular": "^16.1.4",
"ng-packagr": "^21.2.3",
"storybook": "^10.3.6",
"ts-node": "^10.9.2",
"tslib": "^2.3.0",
"typescript": "~5.9.0",
"typescript-eslint": "8.59.2"
},
"peerDependencies": {
"@angular-builders/custom-webpack": "^21.0.3",
"@angular/animations": "^21.2.11",
"@angular/common": "^21.2.11",
"@angular/compiler": "^21.2.11",
"@angular/core": "^21.2.11",
"@angular/forms": "^21.2.11",
"@angular/platform-browser": "^21.2.11",
"@angular/platform-browser-dynamic": "^21.2.11",
"@angular/router": "^21.2.11",
"@bwip-js/browser": "^4.8.0",
"@decaf-ts/core": "latest",
"@decaf-ts/db-decorators": "latest",
"@decaf-ts/decoration": "latest",
"@decaf-ts/decorator-validation": "latest",
"@decaf-ts/for-http": "latest",
"@decaf-ts/injectable-decorators": "latest",
"@decaf-ts/logging": "latest",
"@decaf-ts/styles": "latest",
"@decaf-ts/transactional-decorators": "latest",
"@decaf-ts/ui-decorators": "latest",
"@ionic/angular": "^8.7.4",
"@ngx-translate/core": "^17.0.0",
"@ngx-translate/http-loader": "^17.0.0",
"@tabler/icons-webfont": "3.31.0",
"ionicons": "^7.4.0",
"reflect-metadata": "^0.2.1",
"rxjs": "~7.8.0",
"zone.js": "^0.15.1"
},
"schematics": "./schematics/collection.json",
"eslintConfig": {
"extends": [
"plugin:storybook/recommended"
]
}
}