mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
feat: move all frontend projects under the same Angular workspace (#1141)
* feat: move all frontend projects under the same Angular workspace * Refactor/angular workspace (#1154) * update frontend build steps Co-authored-by: waterplea <alexander@inkin.ru> Co-authored-by: Matt Hill <matthewonthemoon@gmail.com> Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
This commit is contained in:
85
frontend/package.json
Normal file
85
frontend/package.json
Normal file
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"name": "embassy-os",
|
||||
"version": "0.3.0",
|
||||
"author": "Start9 Labs, Inc",
|
||||
"homepage": "https://start9.com/",
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"check": "npm run check:shared && npm run check:ui && npm run check:setup-wizard && npm run check:diagnostic-ui",
|
||||
"check:shared": "tsc --project projects/shared/tsconfig.lib.json --noEmit --skipLibCheck",
|
||||
"check:diagnostic-ui": "tsc --project projects/diagnostic-ui/tsconfig.app.json --noEmit --skipLibCheck",
|
||||
"check:setup-wizard": "tsc --project projects/setup-wizard/tsconfig.app.json --noEmit --skipLibCheck",
|
||||
"check:ui": "tsc --project projects/ui/tsconfig.app.json --noEmit --skipLibCheck",
|
||||
"build:deps": "cd ../patch-db/client && npm install && npm run build",
|
||||
"build:diagnostic-ui": "ng run diagnostic-ui:build",
|
||||
"build:setup-wizard": "ng run setup-wizard:build",
|
||||
"build:ui": "ng run ui:build && tsc projects/ui/postprocess.ts && node projects/ui/postprocess.js && git log | head -n1 > dist/ui/git-hash.txt",
|
||||
"build:all": "npm run build:deps && npm run build:diagnostic-ui && npm run build:setup-wizard && npm run build:ui",
|
||||
"start:diagnostic-ui": "ionic serve --project diagnostic-ui",
|
||||
"start:setup-wizard": "ionic serve --project setup-wizard",
|
||||
"start:ui": "ionic serve --project ui"
|
||||
},
|
||||
"dependencies": {
|
||||
"@angular/animations": "^13.2.0",
|
||||
"@angular/common": "^13.2.0",
|
||||
"@angular/compiler": "^13.2.0",
|
||||
"@angular/core": "^13.2.0",
|
||||
"@angular/forms": "^13.2.0",
|
||||
"@angular/platform-browser": "^13.2.0",
|
||||
"@angular/platform-browser-dynamic": "^13.2.0",
|
||||
"@angular/router": "^13.2.0",
|
||||
"@ionic/angular": "^6.0.3",
|
||||
"@ionic/storage-angular": "^3.0.6",
|
||||
"@start9labs/argon2": "^0.1.0",
|
||||
"@start9labs/emver": "^0.1.5",
|
||||
"@types/aes-js": "^3.1.1",
|
||||
"@types/pbkdf2": "^3.1.0",
|
||||
"aes-js": "^3.1.2",
|
||||
"ajv": "^6.12.6",
|
||||
"ansi-to-html": "^0.7.2",
|
||||
"core-js": "^3.17.2",
|
||||
"dompurify": "^2.3.3",
|
||||
"fast-json-patch": "^3.1.0",
|
||||
"fuse.js": "^6.4.6",
|
||||
"marked": "^3.0.0",
|
||||
"mustache": "^4.2.0",
|
||||
"ng-qrcode": "^6.0.0",
|
||||
"patch-db-client": "file: ../../../patch-db/client",
|
||||
"pbkdf2": "^3.1.2",
|
||||
"rxjs": "^6.6.7",
|
||||
"tslib": "^2.3.0",
|
||||
"uuid": "^8.3.2",
|
||||
"zone.js": "^0.11.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "^13.1.4",
|
||||
"@angular/cli": "^13.1.4",
|
||||
"@angular/compiler-cli": "^13.2.0",
|
||||
"@angular/language-service": "^13.2.0",
|
||||
"@ionic/angular-toolkit": "^4.0.0",
|
||||
"@ionic/cli": "^6.18.1",
|
||||
"@types/json-pointer": "^1.0.31",
|
||||
"@types/marked": "^3.0.0",
|
||||
"@types/mustache": "^4.1.2",
|
||||
"@types/node": "^16.9.1",
|
||||
"@types/uuid": "^8.3.1",
|
||||
"husky": "^4.3.8",
|
||||
"lint-staged": "^12.1.2",
|
||||
"ng-packagr": "^13.0.0",
|
||||
"node-html-parser": "^4.1.4",
|
||||
"prettier": "^2.5.1",
|
||||
"raw-loader": "^4.0.2",
|
||||
"ts-node": "^10.4.0",
|
||||
"tslint": "^6.1.3",
|
||||
"typescript": "^4.5.2"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged && npm run check"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"**/*.{js,ts,html,md,less,json}": "prettier --write",
|
||||
"*.ts": "tslint --fix"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user