<commit_before>{
  "name": "data-hub-fe-beta2",
  "version": "1.2.0",
  "description": "Data Hub Beta 2",
  "main": "src/server.js",
  "repository": {
    "type": "git",
    "url": "https://github.com/uktrade/data-hub-fe-beta2"
  },
  "dependencies": {
    "@uktrade/trade_elements": "^3.2.1",
    "axios": "^0.15.2",
    "babel-core": "^6.23.1",
    "babel-eslint": "^7.2.3",
    "babel-loader": "^6.2.10",
    "babel-plugin-transform-class-properties": "^6.19.0",
    "babel-polyfill": "^6.20.0",
    "babel-preset-es2015": "^6.14.0",
    "body-parser": "^1.15.2",
    "browser-sync": "^2.14.2",
    "chai": "^3.5.0",
    "compression": "^1.6.2",
    "connect-flash": "0.1.1",
    "connect-redis-crypto": "3.1.1",
    "dotenv": "^4.0.0",
    "eslint": "^3.17.0",
    "express": "^4.14.0",
    "express-session": "^1.14.1",
    "font-awesome": "^4.6.3",
    "istanbul": "^0.4.5",
    "jsdom": "^10.1.0",
    "lodash": "^4.16.4",
    "mocha": "^3.0.2",
    "mocha-junit-reporter": "^1.12.0",
    "mocha-multi": "^0.9.1",
    "moment": "^2.17.1",
    "nock": "^9.0.13",
    "node-sass": "^4.0.0",
    "nodemon": "^1.11.0",
    "npm-parallel": "^2.0.1",
    "nunjucks": "^3.0.0",
    "nyc": "^10.2.0",
    "proxyquire": "^1.7.10",
    "q": "^1.4.1",
    "request": "^2.74.0",
    "request-promise": "^4.1.1",
    "sass-lint": "^1.10.2",
    "sinon": "^2.1.0",
    "sinon-chai": "^2.10.0",
    "sniffr": "^1.1.4",
    "standard": "^10.0.2",
    "uglify": "^0.1.5",
    "webpack": "^1.14.0",
    "winston": "^2.3.0"
  },
  "scripts": {
    "clean": "rm -rf build",
    "start": "node --use-strict src/server.js",
    "build": "npm run clean && npm run sass:compile && npm run js",
    "test": "mocha --require test/common.js --ui bdd test/**/*.test.js",
    "coverage": "nyc --reporter=html --reporter=text --reporter=lcov mocha --require test/common.js --ui bdd test/**/*.test.js",
    "lint": "npm run lint:js && npm run lint:sass",
    "lint:js": "eslint ./test ./src *.js",
    "lint:js:modified": "CHANGED_FILES=$(git diff --staged --name-only | grep .*.js$); if [ $CHANGED_FILES ]; then eslint $CHANGED_FILES; fi",
    "lint:sass": "sass-lint -c .sass-lint.yml 'src/**/*.scss' -v -q",
    "lint:sass:modified": "sass-lint -c .sass-lint.yml $(git diff --staged --name-only | grep .*.scss) -v -q",
    "develop": "parallel sass:watch js:client:watch js:server:watch",
    "client:watch": "parallel sass:watch js:client:watch",
    "js": "npm run js:client",
    "js:client": "webpack",
    "js:client:watch": "webpack --watch",
    "js:server": "babel src -d build",
    "js:server:watch": "nodemon --debug src/server.js",
    "sass": "node-sass src/sass/application.scss build/css/application.css --include-path ./node_modules/@uktrade/trade_elements/dist/sass/ --include-path ./node_modules/font-awesome/scss/ --source-map true --source-map-contents true",
    "sass:watch": "npm run sass && npm run sass -- -r -w",
    "sass:compile": "npm run sass -- -x --output-style compressed",
    "sync": "browser-sync start --proxy http://localhost:3000 --files build/css/*.css build/javascripts/*.js",
    "circle": "npm run lint && nyc --reporter=html --reporter=text npm test && npm run sass && npm run js",
    "heroku-postbuild": "npm rebuild node-sass && npm run sass && npm run js"
  },
  "pre-commit": [
    "lint:sass:modified",
    "lint:js:modified"
  ],
  "author": "<NAME> <<EMAIL>>",
  "license": "MIT",
  "engines": {
    "node": "6.10.2"
  },<commit_msg>Stop relying on grep in NPM script<commit_after>{
  "name": "data-hub-fe-beta2",
  "version": "1.2.0",
  "description": "Data Hub Beta 2",
  "main": "src/server.js",
  "repository": {
    "type": "git",
    "url": "https://github.com/uktrade/data-hub-fe-beta2"
  },
  "dependencies": {
    "@uktrade/trade_elements": "^3.2.1",
    "axios": "^0.15.2",
    "babel-core": "^6.23.1",
    "babel-eslint": "^7.2.3",
    "babel-loader": "^6.2.10",
    "babel-plugin-transform-class-properties": "^6.19.0",
    "babel-polyfill": "^6.20.0",
    "babel-preset-es2015": "^6.14.0",
    "body-parser": "^1.15.2",
    "browser-sync": "^2.14.2",
    "chai": "^3.5.0",
    "compression": "^1.6.2",
    "connect-flash": "0.1.1",
    "connect-redis-crypto": "3.1.1",
    "dotenv": "^4.0.0",
    "eslint": "^3.17.0",
    "express": "^4.14.0",
    "express-session": "^1.14.1",
    "font-awesome": "^4.6.3",
    "istanbul": "^0.4.5",
    "jsdom": "^10.1.0",
    "lodash": "^4.16.4",
    "mocha": "^3.0.2",
    "mocha-junit-reporter": "^1.12.0",
    "mocha-multi": "^0.9.1",
    "moment": "^2.17.1",
    "nock": "^9.0.13",
    "node-sass": "^4.0.0",
    "nodemon": "^1.11.0",
    "npm-parallel": "^2.0.1",
    "nunjucks": "^3.0.0",
    "nyc": "^10.2.0",
    "proxyquire": "^1.7.10",
    "q": "^1.4.1",
    "request": "^2.74.0",
    "request-promise": "^4.1.1",
    "sass-lint": "^1.10.2",
    "sinon": "^2.1.0",
    "sinon-chai": "^2.10.0",
    "sniffr": "^1.1.4",
    "standard": "^10.0.2",
    "uglify": "^0.1.5",
    "webpack": "^1.14.0",
    "winston": "^2.3.0"
  },
  "scripts": {
    "clean": "rm -rf build",
    "start": "node --use-strict src/server.js",
    "build": "npm run clean && npm run sass:compile && npm run js",
    "test": "mocha --require test/common.js --ui bdd test/**/*.test.js",
    "coverage": "nyc --reporter=html --reporter=text --reporter=lcov mocha --require test/common.js --ui bdd test/**/*.test.js",
    "lint": "npm run lint:js && npm run lint:sass",
    "lint:js": "eslint ./test ./src *.js",
    "lint:js:modified": "CHANGED_FILES=$(git diff --staged --name-only -- '*.js'); if [ $CHANGED_FILES ]; then eslint $CHANGED_FILES; fi",
    "lint:sass": "sass-lint -c .sass-lint.yml 'src/**/*.scss' -v -q",
    "lint:sass:modified": "sass-lint -c .sass-lint.yml $(git diff --staged --name-only -- '*.scss') -v -q",
    "develop": "parallel sass:watch js:client:watch js:server:watch",
    "client:watch": "parallel sass:watch js:client:watch",
    "js": "npm run js:client",
    "js:client": "webpack",
    "js:client:watch": "webpack --watch",
    "js:server": "babel src -d build",
    "js:server:watch": "nodemon --debug src/server.js",
    "sass": "node-sass src/sass/application.scss build/css/application.css --include-path ./node_modules/@uktrade/trade_elements/dist/sass/ --include-path ./node_modules/font-awesome/scss/ --source-map true --source-map-contents true",
    "sass:watch": "npm run sass && npm run sass -- -r -w",
    "sass:compile": "npm run sass -- -x --output-style compressed",
    "sync": "browser-sync start --proxy http://localhost:3000 --files build/css/*.css build/javascripts/*.js",
    "circle": "npm run lint && nyc --reporter=html --reporter=text npm test && npm run sass && npm run js",
    "heroku-postbuild": "npm rebuild node-sass && npm run sass && npm run js"
  },
  "pre-commit": [
    "lint:sass:modified",
    "lint:js:modified"
  ],
  "author": "Z<NAME> <<EMAIL>>",
  "license": "MIT",
  "engines": {
    "node": "6.10.2"
  },
{'fraction_non_alphanumeric': 0.25968601469105573, 'fraction_numerical': 0.05012242546449661, 'mean_word_length': 2.8470914127423823, 'pattern_counts': {'":': 162, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '596540', 'n_tokens_mistral': 3115, 'n_tokens_neox': 2872, 'n_words': 576}