UNPKG

better-npm-init

Version:

A better version of npm init, with templates and more. Usage: better-npm-init <template> [--yarn] [--install] [--git] [--yes] [--help]

156 lines (155 loc) 4.93 kB
{ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { "ng-new-app": { "projectType": "application", "schematics": { "@schematics/angular:component": { "style": "scss" }, "@schematics/angular:application": { "strict": true } }, "root": "", "sourceRoot": "src", "prefix": "app", "architect": { "build": { "builder": "@angular-devkit/build-angular:browser", "options": { "outputPath": "dist", "index": "src/index.html", "main": "src/main.ts", "polyfills": "src/polyfills.ts", "tsConfig": "src/tsconfig.app.json", "inlineStyleLanguage": "scss", "assets": ["src/favicon.ico", "src/assets"], "styles": ["src/styles/styles.scss"], "stylePreprocessorOptions": { "includePaths": ["src/styles/shared"] }, "scripts": [] }, "configurations": { "production": { "buildOptimizer": true, "optimization": true, "vendorChunk": false, "extractLicenses": true, "sourceMap": false, "namedChunks": false, "outputHashing": "all", "budgets": [ { "type": "initial", "maximumWarning": "3mb", "maximumError": "3mb" }, { "type": "anyComponentStyle", "maximumWarning": "3mb", "maximumError": "4kb" } ], "fileReplacements": [ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.prod.ts" } ] }, "development": { "buildOptimizer": false, "optimization": false, "vendorChunk": true, "extractLicenses": false, "sourceMap": true, "namedChunks": true } }, "defaultConfiguration": "production" }, "serve": { "builder": "ngx-build-plus:dev-server", "configurations": { "production": { "browserTarget": "ng-new-app:build:production" }, "development": { "browserTarget": "ng-new-app:build:development" } }, "defaultConfiguration": "development", "options": { "browserTarget": "ng-new-app:build", "extraWebpackConfig": "./cypress/coverage.webpack.js" } }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { "browserTarget": "ng-new-app:build" } }, "test": { "builder": "@angular-builders/jest:run", "options": { "polyfills": "src/polyfills.ts", "tsConfig": "tsconfig.spec.json", "inlineStyleLanguage": "scss", "assets": ["src/favicon.ico", "src/assets"], "styles": ["src/styles.scss"], "scripts": [] } }, "lint": { "builder": "@angular-eslint/builder:lint", "options": { "lintFilePatterns": ["src/**/*.ts", "src/**/*.html"] } }, "cypress-run": { "builder": "@briebug/cypress-schematic:cypress", "options": { "devServerTarget": "ng-new-app:serve" }, "configurations": { "production": { "devServerTarget": "ng-new-app:serve:production" } } }, "cypress-open": { "builder": "@briebug/cypress-schematic:cypress", "options": { "devServerTarget": "ng-new-app:serve", "watch": true, "headless": false }, "configurations": { "production": { "devServerTarget": "ng-new-app:serve:production" } } }, "e2e": { "builder": "@briebug/cypress-schematic:cypress", "options": { "devServerTarget": "ng-new-app:serve", "watch": true, "headless": false }, "configurations": { "production": { "devServerTarget": "ng-new-app:serve:production" } } } } } }, "defaultProject": "ng-new-app", "cli": { "defaultCollection": "@angular-eslint/schematics" } }