<commit_before>{
  "name": "kubernetes-dashboard",
  "version": "2.0.0-alpha0",
  "repository": {
    "type": "git",
    "url": "https://github.com/kubernetes/dashboard.git"
  },
  "license": "Apache-2.0",
  "scripts": {
    "start": "concurrently \"npm run start:backend\" \"npm run start:frontend\"",
    "start:https": "concurrently \"npm run start:backend:https\" \"npm run start:frontend:https\"",
    "start:frontend": "npm run postversion && ng serve --aot --progress=false --proxy-config aio/proxy.conf.json --host=0.0.0.0",
    "start:frontend:https": "node aio/scripts/version.js && ng serve --progress=false --aot --proxy-config aio/https-proxy.conf.json --ssl --host=0.0.0.0",
    "start:backend": "gulp serve --kubeconfig $npm_package_config_kubeconfig",
    "start:backend:https": "gulp serve --kubeconfig $npm_package_config_kubeconfig --autoGenerateCerts true --defaultCertDir $npm_package_config_kubeconfig_dir",
    "start:prod": "npm run build && ./$npm_package_config_dashboard_binary_path --kubeconfig $npm_package_config_kubeconfig",
    "build": "./aio/scripts/build.sh",
    "build:cross": "./aio/scripts/build.sh -c",
    "build:frontend": "npm run clean && ng build --aot --prod --outputPath=$npm_package_config_frontend_build_dir",
    "build:backend": "npm run clean && gulp backend:prod",
    "build:backend:cross": "npm run clean && gulp backend:prod:cross",
    "docker:build:cross": "npm run build:cross && gulp docker-image:release:cross",
    "docker:build:head": "npm run build && gulp docker-image:head",
    "docker:build:head:cross": "npm run build:cross && gulp docker-image:head:cross",
    "docker:push:head:cross": "npm run docker:build:head:cross && gulp push-to-docker:head:cross",
    "docker:push:release:cross": "npm run docker:build:release:cross && gulp push-to-gcr:head:cross",
    "test": "npm run test:frontend && npm run test:backend && npm run test:e2e",
    "test:frontend": "ng test --karma-config ./aio/karma.conf.js --watch=false",
    "test:frontend:coverage": "ng test --karma-config ./aio/karma.conf.js --watch=false --code-coverage",
    "test:frontend:watch": "ng test --karma-config ./aio/karma.conf.js",
    "test:backend": "go test github.com/kubernetes/dashboard/src/app/backend/...",
    "test:backend:coverage": "./aio/scripts/coverage-backend.sh",
    "test:coverage": "npm run test:frontend:coverage && npm run test:backend:coverage",
    "test:e2e": "ng e2e",
    "cluster:start": "./aio/scripts/start-cluster.sh",
    "cluster:stop": "./aio/scripts/stop-cluster.sh",
    "check": "concurrently \"npm run check:backend\" \"npm run check:frontend\" \"npm run check:license\"",
    "check:backend": "golangci-lint run -c .golangci.yml src/app/backend/...",
    "check:frontend": "concurrently \"npm run check:frontend:ts\" \"npm run check:frontend:scss\" \"npm run check:frontend:html\"",
    "check:frontend:ts": "gts check",
    "check:frontend:scss": "./aio/scripts/format.sh --styles --check && ./node_modules/sass-lint/bin/sass-lint.js -c .sass-lint.yml 'src/app/frontend/**/*.scss' -v -q",
    "check:frontend:html": "./aio/scripts/format.sh --html --check",
    "check:license": "gulp check-license-headers",
    "fix": "concurrently \"npm run fix:backend\" \"npm run fix:frontend\" \"npm run fix:license\"",
    "fix:backend": "golangci-lint run -c .golangci.yml --fix src/app/backend/...",
    "fix:frontend": "concurrently \"npm run fix:frontend:ts\" \"npm run fix:frontend:scss\" \"npm run fix:frontend:html\"",
    "fix:frontend:ts": "gts fix",
    "fix:frontend:scss": "scssfmt -r 'src/**/*.scss'",
    "fix:frontend:html": "./aio/scripts/format.sh --html",
    "fix:license": "gulp update-license-headers",
    "clean": "rm -rf .go_workspace .tmp coverage dist npm-debug.log",
    "postversion": "node aio/scripts/version.js",
    "postinstall": "node aio/scripts/version.js && ./node_modules/protractor/bin/webdriver-manager update --gecko=false && go get -u github.com/golangci/golangci-lint/cmd/golangci-lint"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "src/**/*.ts": [
      "gts fix",
      "git add"
    ],
    "src/**/*.scss": [
      "scssfmt",
      "git add"
    ]
  },
  "dependencies": {
    "@angular/animations": "7.1.4",
    "@angular/cdk": "7.3.6",
    "@angular/common": "7.1.4",
    "@angular/compiler": "7.1.4",
    "@angular/core": "7.1.4",
    "@angular/flex-layout": "7.0.0-beta.24",
    "@angular/forms": "7.1.4",
    "@angular/http": "7.1.4",
    "@angular/material": "7.3.6",
    "@angular/platform-browser": "7.1.4",
    "@angular/platform-browser-dynamic": "7.1.4",<commit_msg>Enable `golangci-lint` in `lint-staged` (#3678)<commit_after>{
  "name": "kubernetes-dashboard",
  "version": "2.0.0-alpha0",
  "repository": {
    "type": "git",
    "url": "https://github.com/kubernetes/dashboard.git"
  },
  "license": "Apache-2.0",
  "scripts": {
    "start": "concurrently \"npm run start:backend\" \"npm run start:frontend\"",
    "start:https": "concurrently \"npm run start:backend:https\" \"npm run start:frontend:https\"",
    "start:frontend": "npm run postversion && ng serve --aot --progress=false --proxy-config aio/proxy.conf.json --host=0.0.0.0",
    "start:frontend:https": "node aio/scripts/version.js && ng serve --progress=false --aot --proxy-config aio/https-proxy.conf.json --ssl --host=0.0.0.0",
    "start:backend": "gulp serve --kubeconfig $npm_package_config_kubeconfig",
    "start:backend:https": "gulp serve --kubeconfig $npm_package_config_kubeconfig --autoGenerateCerts true --defaultCertDir $npm_package_config_kubeconfig_dir",
    "start:prod": "npm run build && ./$npm_package_config_dashboard_binary_path --kubeconfig $npm_package_config_kubeconfig",
    "build": "./aio/scripts/build.sh",
    "build:cross": "./aio/scripts/build.sh -c",
    "build:frontend": "npm run clean && ng build --aot --prod --outputPath=$npm_package_config_frontend_build_dir",
    "build:backend": "npm run clean && gulp backend:prod",
    "build:backend:cross": "npm run clean && gulp backend:prod:cross",
    "docker:build:cross": "npm run build:cross && gulp docker-image:release:cross",
    "docker:build:head": "npm run build && gulp docker-image:head",
    "docker:build:head:cross": "npm run build:cross && gulp docker-image:head:cross",
    "docker:push:head:cross": "npm run docker:build:head:cross && gulp push-to-docker:head:cross",
    "docker:push:release:cross": "npm run docker:build:release:cross && gulp push-to-gcr:head:cross",
    "test": "npm run test:frontend && npm run test:backend && npm run test:e2e",
    "test:frontend": "ng test --karma-config ./aio/karma.conf.js --watch=false",
    "test:frontend:coverage": "ng test --karma-config ./aio/karma.conf.js --watch=false --code-coverage",
    "test:frontend:watch": "ng test --karma-config ./aio/karma.conf.js",
    "test:backend": "go test github.com/kubernetes/dashboard/src/app/backend/...",
    "test:backend:coverage": "./aio/scripts/coverage-backend.sh",
    "test:coverage": "npm run test:frontend:coverage && npm run test:backend:coverage",
    "test:e2e": "ng e2e",
    "cluster:start": "./aio/scripts/start-cluster.sh",
    "cluster:stop": "./aio/scripts/stop-cluster.sh",
    "check": "concurrently \"npm run check:backend\" \"npm run check:frontend\" \"npm run check:license\"",
    "check:backend": "golangci-lint run -c .golangci.yml src/app/backend/...",
    "check:frontend": "concurrently \"npm run check:frontend:ts\" \"npm run check:frontend:scss\" \"npm run check:frontend:html\"",
    "check:frontend:ts": "gts check",
    "check:frontend:scss": "./aio/scripts/format.sh --styles --check && ./node_modules/sass-lint/bin/sass-lint.js -c .sass-lint.yml 'src/app/frontend/**/*.scss' -v -q",
    "check:frontend:html": "./aio/scripts/format.sh --html --check",
    "check:license": "gulp check-license-headers",
    "fix": "concurrently \"npm run fix:backend\" \"npm run fix:frontend\" \"npm run fix:license\"",
    "fix:backend": "golangci-lint run -c .golangci.yml --fix src/app/backend/...",
    "fix:frontend": "concurrently \"npm run fix:frontend:ts\" \"npm run fix:frontend:scss\" \"npm run fix:frontend:html\"",
    "fix:frontend:ts": "gts fix",
    "fix:frontend:scss": "scssfmt -r 'src/**/*.scss'",
    "fix:frontend:html": "./aio/scripts/format.sh --html",
    "fix:license": "gulp update-license-headers",
    "clean": "rm -rf .go_workspace .tmp coverage dist npm-debug.log",
    "postversion": "node aio/scripts/version.js",
    "postinstall": "node aio/scripts/version.js && ./node_modules/protractor/bin/webdriver-manager update --gecko=false && go get -u github.com/golangci/golangci-lint/cmd/golangci-lint"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "src/**/*.ts": [
      "gts fix",
      "git add"
    ],
    "src/**/*.scss": [
      "scssfmt",
      "git add"
    ],
    "src/**/*.go": [
      "golangci-lint run -c .golangci.yml --fix src/app/backend/...",
      "git add"
    ]
  },
  "dependencies": {
    "@angular/animations": "7.1.4",
    "@angular/cdk": "7.3.6",
    "@angular/common": "7.1.4",
    "@angular/compiler": "7.1.4",
    "@angular/core": "7.1.4",
    "@angular/flex-layout": "7.0.0-beta.24",
    "@angular/forms": "7.1.4",
    "@angular/http": "7.1.4",
    "@angular/material": "7.3.6",
    "@angular/platform-browser": "7.1.4",
    "@angular/platform-browser-dynamic": "7.1.4",
{'fraction_non_alphanumeric': 0.20741525423728813, 'fraction_numerical': 0.011440677966101695, 'mean_word_length': 3.666831438457736, 'pattern_counts': {'":': 139, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6220155', 'n_tokens_mistral': 3536, 'n_tokens_neox': 3408, 'n_words': 660}