<commit_before>{
  "name": "node-angular-shopping-cart",
  "version": "0.1.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "pretest": "npm run lint",
    "test": "_mocha tests/**/*-tests.js -r babel-core/register",
    "test:watch": "npm test -- --watch",
    "lint": "node_modules/eslint/bin/eslint.js .",
    "mock:init": "node ./scripts/initMockData.js",
    "build:views": "cp -r src/client/views dist/views",
    "build:server": "babel src/server --out-dir dist/server",
    "build:client:min": "webpack --config webpack.config.production.js --progress --colors",
    "preserve:dev": "rimraf dist && npm run build:server && npm run build:views",
    "serve:dev": "NODE_ENV=development node ./dist/server/index.js -- -d",
    "preserve:production": "rimraf dist && npm run build:server && npm run build:views && npm run build:client:min",
    "serve:production": "NODE_ENV=production PORT=8080 node ./dist/server/index.js"
  },
  "author": "yjcxy12 <<EMAIL>>",
  "license": "MIT",
  "devDependencies": {
    "babel-core": "^6.4.5",
    "babel-eslint": "^5.0.0-beta6",
    "babel-loader": "^6.2.1",
    "babel-preset-es2015": "^6.3.13",
    "chai": "^3.5.0",
    "css-loader": "^0.23.1",
    "eslint": "^1.10.3",
    "eslint-config-airbnb": "^4.0.0",
    "eslint-plugin-react": "^3.16.1",
    "extract-text-webpack-plugin": "^1.0.1",
    "html-webpack-plugin": "^2.7.2",
    "istanbul": "^0.4.2",
    "mocha": "^2.4.5",
    "node-sass": "^3.4.2",
    "rimraf": "^2.5.1",
    "sass-loader": "^3.1.2",
    "style-loader": "^0.13.0",
    "webpack": "^1.12.12",
    "webpack-dev-middleware": "^1.5.1",
    "webpack-hot-middleware": "^2.6.4"
  },
  "dependencies": {
    "angular": "^1.4.9",
    "angular-ui-router": "^0.2.17",
    "body-parser": "^1.14.2",
    "ejs": "^2.4.1",
    "express": "^4.13.4",
    "faker": "^3.0.1",
    "morgan": "^1.6.1"
  }
}
<commit_msg>fix mock:init when mock dir does not exist<commit_after>{
  "name": "node-angular-shopping-cart",
  "version": "0.1.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "pretest": "npm run lint",
    "test": "_mocha tests/**/*-tests.js -r babel-core/register",
    "test:watch": "npm test -- --watch",
    "lint": "node_modules/eslint/bin/eslint.js .",
    "mock:init": "rm -rf mock && mkdir mock && node ./scripts/initMockData.js",
    "build:views": "cp -r src/client/views dist/views",
    "build:server": "babel src/server --out-dir dist/server",
    "build:client:min": "webpack --config webpack.config.production.js --progress --colors",
    "preserve:dev": "rimraf dist && npm run build:server && npm run build:views",
    "serve:dev": "NODE_ENV=development node ./dist/server/index.js -- -d",
    "preserve:production": "rimraf dist && npm run build:server && npm run build:views && npm run build:client:min",
    "serve:production": "NODE_ENV=production PORT=8080 node ./dist/server/index.js"
  },
  "author": "yjcxy12 <<EMAIL>>",
  "license": "MIT",
  "devDependencies": {
    "babel-core": "^6.4.5",
    "babel-eslint": "^5.0.0-beta6",
    "babel-loader": "^6.2.1",
    "babel-preset-es2015": "^6.3.13",
    "chai": "^3.5.0",
    "css-loader": "^0.23.1",
    "eslint": "^1.10.3",
    "eslint-config-airbnb": "^4.0.0",
    "eslint-plugin-react": "^3.16.1",
    "extract-text-webpack-plugin": "^1.0.1",
    "html-webpack-plugin": "^2.7.2",
    "istanbul": "^0.4.2",
    "mocha": "^2.4.5",
    "node-sass": "^3.4.2",
    "rimraf": "^2.5.1",
    "sass-loader": "^3.1.2",
    "style-loader": "^0.13.0",
    "webpack": "^1.12.12",
    "webpack-dev-middleware": "^1.5.1",
    "webpack-hot-middleware": "^2.6.4"
  },
  "dependencies": {
    "angular": "^1.4.9",
    "angular-ui-router": "^0.2.17",
    "body-parser": "^1.14.2",
    "ejs": "^2.4.1",
    "express": "^4.13.4",
    "faker": "^3.0.1",
    "morgan": "^1.6.1"
  }
}

{'fraction_non_alphanumeric': 0.25705329153605017, 'fraction_numerical': 0.054858934169279, 'mean_word_length': 3.0220588235294117, 'pattern_counts': {'":': 96, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '5672031', 'n_tokens_mistral': 1675, 'n_tokens_neox': 1548, 'n_words': 282}