mirror of https://github.com/bitwarden/web.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
310 lines
11 KiB
310 lines
11 KiB
{ |
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
|
"version": 1, |
|
"newProjectRoot": "projects", |
|
"projects": { |
|
"web-vault": { |
|
"projectType": "application", |
|
"schematics": { |
|
"@schematics/angular:component": { |
|
"style": "scss" |
|
}, |
|
"@schematics/angular:application": { |
|
"strict": true |
|
} |
|
}, |
|
"root": "projects/web-vault", |
|
"sourceRoot": "projects/web-vault/src", |
|
"prefix": "app", |
|
"architect": { |
|
"build": { |
|
"builder": "@angular-builders/custom-webpack:browser", |
|
"options": { |
|
"customWebpackConfig": { |
|
"path": "extra-webpack.config.ts" |
|
}, |
|
"outputPath": "dist/web-vault", |
|
"index": "projects/web-vault/src/index.html", |
|
"main": "projects/web-vault/src/main.ts", |
|
"polyfills": "projects/web-vault/src/polyfills.ts", |
|
"tsConfig": "projects/web-vault/tsconfig.app.json", |
|
"inlineStyleLanguage": "scss", |
|
"assets": [ |
|
"projects/web-vault/src/assets", |
|
{ "glob": "favicon.ico", "input": "projects/web-vault-internal/src", "output": "" }, |
|
{ "glob": ".nojekyll", "input": "projects/web-vault-internal/src", "output": "" }, |
|
{ "glob": "manifest.json", "input": "projects/web-vault-internal/src", "output": "" }, |
|
{ "glob": "app-id.json", "input": "projects/web-vault-internal/src", "output": "" }, |
|
{ "glob": "404.html", "input": "projects/web-vault-internal/src", "output": "" }, |
|
{ "glob": "**/*", "input": "projects/web-vault-internal/src/404", "output": "404" }, |
|
{ |
|
"glob": "**/*", |
|
"input": "projects/web-vault-internal/src/locales", |
|
"output": "locales" |
|
}, |
|
{ |
|
"glob": "**/*", |
|
"input": "projects/web-vault-internal/src/images", |
|
"output": "images" |
|
}, |
|
{ "glob": "qrious.min.js", "input": "node_modules/qrious/dist", "output": "scripts" }, |
|
{ |
|
"glob": "dropin.js", |
|
"input": "node_modules/braintree-web-drop-in/dist/browser", |
|
"output": "scripts" |
|
} |
|
], |
|
"styles": [ |
|
"projects/web-vault/src/scss/styles.scss", |
|
{ |
|
"input": "projects/web-vault-internal/src/connectors/captcha.scss", |
|
"inject": false |
|
}, |
|
{ |
|
"input": "projects/web-vault-internal/src/connectors/captcha-mobile.scss", |
|
"inject": false |
|
}, |
|
{ |
|
"input": "projects/web-vault-internal/src/connectors/duo.scss", |
|
"inject": false |
|
}, |
|
{ |
|
"input": "projects/web-vault-internal/src/connectors/sso.scss", |
|
"inject": false |
|
}, |
|
{ |
|
"input": "projects/web-vault-internal/src/connectors/webauthn.scss", |
|
"inject": false |
|
} |
|
], |
|
"resourcesOutputPath": "resources", |
|
"scripts": ["projects/web-vault-internal/src/theme.js"] |
|
}, |
|
"configurations": { |
|
"production": { |
|
"budgets": [ |
|
{ |
|
"type": "initial", |
|
"maximumWarning": "7mb", |
|
"maximumError": "8mb" |
|
}, |
|
{ |
|
"type": "anyComponentStyle", |
|
"maximumWarning": "2kb", |
|
"maximumError": "4kb" |
|
} |
|
], |
|
"fileReplacements": [ |
|
{ |
|
"replace": "projects/web-vault/src/environments/environment.ts", |
|
"with": "projects/web-vault/src/environments/environment.prod.ts" |
|
} |
|
], |
|
"outputHashing": "all" |
|
}, |
|
"development": { |
|
"buildOptimizer": false, |
|
"optimization": false, |
|
"vendorChunk": true, |
|
"extractLicenses": false, |
|
"sourceMap": true, |
|
"namedChunks": true |
|
} |
|
}, |
|
"defaultConfiguration": "production" |
|
}, |
|
"serve": { |
|
"builder": "@angular-builders/custom-webpack:dev-server", |
|
"options": { |
|
"ssl": true, |
|
"proxyConfig": "proxy.config.js" |
|
}, |
|
"configurations": { |
|
"production": { |
|
"browserTarget": "web-vault:build:production" |
|
}, |
|
"development": { |
|
"browserTarget": "web-vault:build:development" |
|
} |
|
}, |
|
"defaultConfiguration": "development" |
|
}, |
|
"extract-i18n": { |
|
"builder": "@angular-devkit/build-angular:extract-i18n", |
|
"options": { |
|
"browserTarget": "web-vault:build" |
|
} |
|
}, |
|
"test": { |
|
"builder": "@angular-devkit/build-angular:karma", |
|
"options": { |
|
"main": "projects/web-vault/src/test.ts", |
|
"polyfills": "projects/web-vault/src/polyfills.ts", |
|
"tsConfig": "projects/web-vault/tsconfig.spec.json", |
|
"karmaConfig": "projects/web-vault/karma.conf.js", |
|
"inlineStyleLanguage": "scss", |
|
"assets": ["projects/web-vault/src/favicon.ico", "projects/web-vault/src/assets"], |
|
"styles": ["projects/web-vault/src/styles.scss"], |
|
"scripts": [] |
|
} |
|
} |
|
} |
|
}, |
|
"oss-vault": { |
|
"projectType": "application", |
|
"schematics": { |
|
"@schematics/angular:component": { |
|
"style": "scss" |
|
}, |
|
"@schematics/angular:application": { |
|
"strict": true |
|
} |
|
}, |
|
"root": "projects/oss-vault", |
|
"sourceRoot": "projects/oss-vault/src", |
|
"prefix": "app", |
|
"architect": { |
|
"build": { |
|
"builder": "@angular-devkit/build-angular:browser", |
|
"options": { |
|
"outputPath": "dist/oss-vault", |
|
"index": "projects/oss-vault/src/index.html", |
|
"main": "projects/oss-vault/src/main.ts", |
|
"polyfills": "projects/oss-vault/src/polyfills.ts", |
|
"tsConfig": "projects/oss-vault/tsconfig.app.json", |
|
"inlineStyleLanguage": "scss", |
|
"assets": ["projects/oss-vault/src/favicon.ico", "projects/oss-vault/src/assets"], |
|
"styles": ["projects/oss-vault/src/styles.scss"], |
|
"scripts": [] |
|
}, |
|
"configurations": { |
|
"production": { |
|
"budgets": [ |
|
{ |
|
"type": "initial", |
|
"maximumWarning": "500kb", |
|
"maximumError": "1mb" |
|
}, |
|
{ |
|
"type": "anyComponentStyle", |
|
"maximumWarning": "2kb", |
|
"maximumError": "4kb" |
|
} |
|
], |
|
"fileReplacements": [ |
|
{ |
|
"replace": "projects/oss-vault/src/environments/environment.ts", |
|
"with": "projects/oss-vault/src/environments/environment.prod.ts" |
|
} |
|
], |
|
"outputHashing": "all" |
|
}, |
|
"development": { |
|
"buildOptimizer": false, |
|
"optimization": false, |
|
"vendorChunk": true, |
|
"extractLicenses": false, |
|
"sourceMap": true, |
|
"namedChunks": true |
|
} |
|
}, |
|
"defaultConfiguration": "production" |
|
}, |
|
"serve": { |
|
"builder": "@angular-devkit/build-angular:dev-server", |
|
"configurations": { |
|
"production": { |
|
"browserTarget": "oss-vault:build:production" |
|
}, |
|
"development": { |
|
"browserTarget": "oss-vault:build:development" |
|
} |
|
}, |
|
"defaultConfiguration": "development" |
|
}, |
|
"extract-i18n": { |
|
"builder": "@angular-devkit/build-angular:extract-i18n", |
|
"options": { |
|
"browserTarget": "oss-vault:build" |
|
} |
|
}, |
|
"test": { |
|
"builder": "@angular-devkit/build-angular:karma", |
|
"options": { |
|
"main": "projects/oss-vault/src/test.ts", |
|
"polyfills": "projects/oss-vault/src/polyfills.ts", |
|
"tsConfig": "projects/oss-vault/tsconfig.spec.json", |
|
"karmaConfig": "projects/oss-vault/karma.conf.js", |
|
"inlineStyleLanguage": "scss", |
|
"assets": ["projects/oss-vault/src/favicon.ico", "projects/oss-vault/src/assets"], |
|
"styles": ["projects/oss-vault/src/styles.scss"], |
|
"scripts": [] |
|
} |
|
} |
|
} |
|
}, |
|
"web": { |
|
"projectType": "library", |
|
"root": "projects/web", |
|
"sourceRoot": "projects/web/src", |
|
"prefix": "lib", |
|
"architect": { |
|
"build": { |
|
"builder": "@angular-devkit/build-angular:ng-packagr", |
|
"options": { |
|
"project": "projects/web/ng-package.json" |
|
}, |
|
"configurations": { |
|
"production": { |
|
"tsConfig": "projects/web/tsconfig.lib.prod.json" |
|
}, |
|
"development": { |
|
"tsConfig": "projects/web/tsconfig.lib.json" |
|
} |
|
}, |
|
"defaultConfiguration": "production" |
|
}, |
|
"test": { |
|
"builder": "@angular-devkit/build-angular:karma", |
|
"options": { |
|
"main": "projects/web/src/test.ts", |
|
"tsConfig": "projects/web/tsconfig.spec.json", |
|
"karmaConfig": "projects/web/karma.conf.js" |
|
} |
|
} |
|
} |
|
}, |
|
"webs": { |
|
"projectType": "library", |
|
"root": "projects/webs", |
|
"sourceRoot": "projects/webs/src", |
|
"prefix": "bitwarden", |
|
"architect": { |
|
"build": { |
|
"builder": "@angular-devkit/build-angular:ng-packagr", |
|
"options": { |
|
"project": "projects/webs/ng-package.json" |
|
}, |
|
"configurations": { |
|
"production": { |
|
"tsConfig": "projects/webs/tsconfig.lib.prod.json" |
|
}, |
|
"development": { |
|
"tsConfig": "projects/webs/tsconfig.lib.json" |
|
} |
|
}, |
|
"defaultConfiguration": "production" |
|
}, |
|
"test": { |
|
"builder": "@angular-devkit/build-angular:karma", |
|
"options": { |
|
"main": "projects/webs/src/test.ts", |
|
"tsConfig": "projects/webs/tsconfig.spec.json", |
|
"karmaConfig": "projects/webs/karma.conf.js" |
|
} |
|
} |
|
} |
|
} |
|
}, |
|
"defaultProject": "web-vault" |
|
}
|
|
|