<commit_before>{
  "private": true,
  "name": "",
  "version": "0.0.1",
  "description": "",
  "main": "main.js",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/lgeorgieff/js_base.git"
  },
  "keywords": [
    "web-spider",
    "web-crawler",
    "web-search",
    "jsspider",
    "js-spider",
    "js_spider"
  ],
  "author": {
    "name": "<NAME>",
    "email": "<EMAIL>"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/lgeorgieff/js_base/issues"
  },
  "homepage": "https://github.com/lgeorgieff/js_base#readme",
  "engines": {
    "node": ">=4.0.0"
  },
  "devDependencies": {
    "jasmine": "^2.3.2",
    "jscs": "^2.4.0"
  },
  "scripts": {
    "postinstall": "npm run get_git_dependencies && npm run compile_closure_compiler",
    "get_git_dependencies": "git submodule init && git submodule update",
    "postget_git_dependencies": "cd tools/node.js_closure_compiler_externs/ && git apply ../node.js_closure_compiler_externs_annotation_fixes.patch 2>/dev/null || true",
    "compile_closure_compiler": "if [ ! -e tools/closure_compiler/target/closure-compiler-1.0-SNAPSHOT.jar ]; then mvn clean install -DskipTests --file tools/closure_compiler/pom.xml; fi",
    "test": "echo \"Error: no test specified\" && exit 1",
    "lint": "if [ $(find src -name '*.js' | wc -l) -gt 0 ]; then jscs --config src/.jscsrc src/; fi",
    "precompile": "npm run compile_closure_compiler",
    "compile": "java -jar tools/closure_compiler/target/closure-compiler-1.0-SNAPSHOT.jar --flagfile src/.closure_compiler.flagfile --js src/ > /dev/null",
    "validate": "npm run lint && npm run compile && npm run test"
  }
}<commit_msg>npm: Add test script based on jasmine to package.json<commit_after>{
  "private": true,
  "name": "",
  "version": "0.0.1",
  "description": "",
  "main": "main.js",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/lgeorgieff/js_base.git"
  },
  "keywords": [
    "web-spider",
    "web-crawler",
    "web-search",
    "jsspider",
    "js-spider",
    "js_spider"
  ],
  "author": {
    "name": "<NAME>",
    "email": "<EMAIL>"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/lgeorgieff/js_base/issues"
  },
  "homepage": "https://github.com/lgeorgieff/js_base#readme",
  "engines": {
    "node": ">=4.0.0"
  },
  "devDependencies": {
    "jasmine": "^2.3.2",
    "jscs": "^2.4.0"
  },
  "scripts": {
    "postinstall": "npm run get_git_dependencies && npm run compile_closure_compiler",
    "get_git_dependencies": "git submodule init && git submodule update",
    "postget_git_dependencies": "cd tools/node.js_closure_compiler_externs/ && git apply ../node.js_closure_compiler_externs_annotation_fixes.patch 2>/dev/null || true",
    "compile_closure_compiler": "if [ ! -e tools/closure_compiler/target/closure-compiler-1.0-SNAPSHOT.jar ]; then mvn clean install -DskipTests --file tools/closure_compiler/pom.xml; fi",
    "test": "JASMINE_CONFIG_PATH=test/jasmine.spec.json jasmine",
    "lint": "if [ $(find src -name '*.js' | wc -l) -gt 0 ]; then jscs --config src/.jscsrc src/; fi",
    "precompile": "npm run compile_closure_compiler",
    "compile": "java -jar tools/closure_compiler/target/closure-compiler-1.0-SNAPSHOT.jar --flagfile src/.closure_compiler.flagfile --js src/ > /dev/null",
    "validate": "npm run lint && npm run compile && npm run test"
  }
}
{'fraction_non_alphanumeric': 0.19621189701095, 'fraction_numerical': 0.010949985202722699, 'mean_word_length': 3.512683578104139, 'pattern_counts': {'":': 62, '<': 7, '<?xml version=': 0, '>': 13, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1589653', 'n_tokens_mistral': 1306, 'n_tokens_neox': 1260, 'n_words': 249}