<commit_before>{
  "name": "doodle",
  "version": "1.0.0",
  "description": "Canvas doodling JavaScript with an AngularJS directive for delivery",
  "main": "index.html",
  "repository": {
    "type": "git",
    "url": "https://github.com/jzacsh/doodle"
  },
  "author": "<NAME>",
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/jzacsh/doodle/issues"
  },
  "homepage": "https://github.com/jzacsh/doodle",
  "dependencies": {
    "angular": "^1.3.10",
    "browserify": "^8.1.1",
    "browserify-shim": "^3.8.2",
    "minimist": "^1.1.0",
    "ncp": "^1.0.1",
    "uglify-js2": "^2.1.11",
    "underscore": "^1.7.0",
    "watch": "^0.13.0"
  },
  "config": {
    "temp": "tmp",
    "source": "src",
    "tagver": "TAG_VERSION",
    "tagbug": "TAG_FEEDBACK_URL",
    "tagapp": "TAG_APP_URL",
    "appurl": "goo.gl/loJaO5",
    "devport": "8000"
  },
  "scripts": {
    "uglify": "uglifyjs2 --compress --reserve=angular",
    "browserify": "browserify $npm_package_config_source/doodle_app.js ",
    "setupbuild": "mkdir -p $npm_package_config_temp/",
    "compiledev": "npm run -s browserify > $npm_package_config_temp/app.js",
    "compile": "npm run -s browserify | npm run -s uglify > $npm_package_config_temp/app.js",

    "version": "git show-ref --hash heads/master | tee | cut -c 1-10",
    "bugurl": "echo \"$npm_package_homepage/issues/new?title=wrt+$(npm run -s version)\\&body=to+reproduce\"",

    "tagtarget": "echo \"$npm_package_config_temp/index.html\"",
    "tagversion": "sed -i \"s|$npm_package_config_tagver|`npm run -s version`|\" $(npm run -s tagtarget)",
    "tagbugurl": "sed -i \"s|$npm_package_config_tagbug|`npm run -s bugurl`|\" $(npm run -s tagtarget)",
    "tagapp": "sed -i \"s|$npm_package_config_tagapp|$npm_package_config_appurl|\" $(npm run -s tagtarget)",
    "tagbuild": "npm run tagversion && npm run tagbugurl && npm run tagapp",

    "test": "echo 'Error: no test specified' >&2 && exit 1",
    "stop": "./bin/killonport $npm_package_config_devport",
    "clean": "rm -rf $npm_package_config_temp && mkdir $npm_package_config_temp",
    "start": "cd $npm_package_config_temp && python -m SimpleHTTPServer $npm_package_config_devport",

    "mvassets": "cp -rf $npm_package_config_source/assets/* $npm_package_config_temp/",
    "assets": "npm run mvassets && npm run tagbuild",
    "clear": "npm run stop && npm run clean",
    "builddev": "npm run setupbuild && npm run compiledev && npm run assets",
    "build":    "npm run setupbuild && npm run compile    && npm run assets",

    "restartdev": "npm run clear && npm run builddev && npm start",
    "restart":    "npm run clear && npm run build    && npm start",

    "watchdev": "./bin/watchcode.js \"$(npm run restartdev)\" --wait=.25 $PWD/$npm_package_config_source",
    "watch":    "./bin/watchcode.js \"$(npm run restart   )\" --wait=.25 $PWD/$npm_package_config_source"<commit_msg>sticking to `npm run` pattern to avoid complicated special-case build steps.<commit_after>{
  "name": "doodle",
  "version": "1.0.0",
  "description": "Canvas doodling JavaScript with an AngularJS directive for delivery",
  "main": "index.html",
  "repository": {
    "type": "git",
    "url": "https://github.com/jzacsh/doodle"
  },
  "author": "<NAME>",
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/jzacsh/doodle/issues"
  },
  "homepage": "https://github.com/jzacsh/doodle",
  "dependencies": {
    "angular": "^1.3.10",
    "browserify": "^8.1.1",
    "browserify-shim": "^3.8.2",
    "minimist": "^1.1.0",
    "ncp": "^1.0.1",
    "uglify-js2": "^2.1.11",
    "underscore": "^1.7.0",
    "watch": "^0.13.0"
  },
  "config": {
    "temp": "tmp",
    "source": "src",
    "tagver": "TAG_VERSION",
    "tagbug": "TAG_FEEDBACK_URL",
    "tagapp": "TAG_APP_URL",
    "appurl": "goo.gl/loJaO5",
    "devport": "8000"
  },
  "scripts": {
    "uglify": "uglifyjs2 --compress --reserve=angular",
    "browserify": "browserify $npm_package_config_source/doodle_app.js ",
    "setupbuild": "mkdir -p $npm_package_config_temp/",
    "compiledev": "npm run -s browserify > $npm_package_config_temp/app.js",
    "compile": "npm run -s browserify | npm run -s uglify > $npm_package_config_temp/app.js",

    "version": "git show-ref --hash heads/master | tee | cut -c 1-10",
    "bugurl": "echo \"$npm_package_homepage/issues/new?title=wrt+$(npm run -s version)\\&body=to+reproduce\"",

    "tagtarget": "echo \"$npm_package_config_temp/index.html\"",
    "tagversion": "sed -i \"s|$npm_package_config_tagver|`npm run -s version`|\" $(npm run -s tagtarget)",
    "tagbugurl": "sed -i \"s|$npm_package_config_tagbug|`npm run -s bugurl`|\" $(npm run -s tagtarget)",
    "tagapp": "sed -i \"s|$npm_package_config_tagapp|$npm_package_config_appurl|\" $(npm run -s tagtarget)",
    "tagbuild": "npm run tagversion && npm run tagbugurl && npm run tagapp",

    "test": "echo 'Error: no test specified' >&2 && exit 1",
    "stop": "./bin/killonport $npm_package_config_devport",
    "clean": "rm -rf $npm_package_config_temp && mkdir $npm_package_config_temp",
    "start": "cd $npm_package_config_temp && python -m SimpleHTTPServer $npm_package_config_devport",

    "mvassets": "cp -rf $npm_package_config_source/assets/* $npm_package_config_temp/",
    "assets": "npm run mvassets && npm run tagbuild",
    "clear": "npm run stop && npm run clean",
    "builddev": "npm run setupbuild && npm run compiledev && npm run assets",
    "build":    "npm run setupbuild && npm run compile    && npm run assets",

    "restartdev": "npm run clear && npm run builddev && npm start",
    "restart":    "npm run clear && npm run build    && npm start",

    "watchdev": "./bin/watchcode.js \"$(npm run restartdev)\" --wait=.25 $PWD/$npm_package_config_source",
    "watch":    "./bin/watchcode.js \"$(npm run restart   )\" --wait=.25 $PWD/$npm_package_config_source",

    "deploy": "./bin/deploy.sh"
{'fraction_non_alphanumeric': 0.1961714382517364, 'fraction_numerical': 0.01626291716076571, 'mean_word_length': 3.6857142857142855, 'pattern_counts': {'":': 111, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 6, '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': '596178', 'n_tokens_mistral': 2350, 'n_tokens_neox': 2171, 'n_words': 501}