<commit_before>{
  "name": "jsnetworkx",
  "version": "0.3.0-wip",
  "description": "A port of the Python graph library NetworkX to JavaScript",
  "keywords": [
    "jsnetworkx",
    "graph",
    "science"
  ],
  "homepage": "http://felix-kling.de/JSNetworkX/",
  "repository": {
    "type": "git",
    "url": "https://github.com/fkling/JSNetworkX.git"
  },
  "bugs": "https://github.com/fkling/JSNetworkX/issues",
  "author": {
    "name": "<NAME>",
    "email": "<EMAIL>",
    "url": "http://jsnetworkx.org/"
  },
  "main": "node/index.js",
  "dependencies": {
    "babel-runtime": "^4.6.3",
    "lodash": "^3.3.1",
    "tiny-sprintf": "^0.3.0"
  },
  "devDependencies": {
    "acorn-6to5": "babel/acorn-babel#2e78b518",
    "babel-core": "^4.6.3",
    "browserify": "^9.0.3",
    "chai": "^2.1.0",
    "chai-as-promised": "^4.1.1",
    "chai-checkmark": "^1.0.1",
    "chai-members-deep": "0.0.1",
    "commoner": "^0.10.1",
    "d3": "^3.5.3",
    "istanbul": "^0.3.5",
    "mocha": "^2.0.1",
    "recast": "^0.10.1",
    "sinon": "^1.11.1",
    "source-map-support": "^0.2.8",
    "through": "^2.3.6",
    "uglify-js": "^2.4.16",
    "watchify": "^2.2.1"
  },
  "browser": {
    "./jsnx/_internals/delegate.js": "./jsnx/_internals/delegateToWorker.js"
  },
  "browserify": {
    "transform": [
      "./transforms/es7",
      "./transforms/replace"
    ]
  },
  "scripts": {
    "clean": "rm -rf node/ jsnetworkx.js jsnetworkx-dev.js",
    "build:node": "rm -rf node/ && node scripts/build-node.js jsnx/ node/",
    "build:node:dev": "rm -rf node/ && node scripts/build-node.js --dev jsnx/ node/",
    "watch:node": "npm run build:node:dev -- -w",
    "build:browser": "(export BUNDLE=jsnetworkx.js; rm -f $BUNDLE && browserify jsnx/browser.js -s jsnx | uglifyjs -cmo $BUNDLE)",
    "build:browser:dev": "(export BUNDLE=jsnetworkx-dev.js; rm -f $BUNDLE &&  NODE_ENV=dev browserify jsnx/browser.js -ds jsnx > $BUNDLE)",
    "watch:browser": "(export BUNDLE=jsnetworkx-dev.js; rm -f $BUNDLE && NODE_ENV=dev watchify jsnx/browser.js -vds jsnx -o $BUNDLE)",
    "test": "npm run build:node:dev && mocha --ui exports -R progress -r './mocha/setup' `find node/ -name *-test.js`",
    "test:fast": "mocha --ui exports -R progress -r './mocha/setup' `find node/ -name *-test.js`",
    "watch:test": "npm test -- -b -w",
    "cover": "npm run build:node && istanbul cover _mocha -x '**/__tests__/**' -x 'mocha/*' -- --ui exports -R progress -r './mocha/setup' `find node/ -name *-test.js`"
  }
}
<commit_msg>Add prepublish script<commit_after>{
  "name": "jsnetworkx",
  "version": "0.3.0-wip",
  "description": "A port of the Python graph library NetworkX to JavaScript",
  "keywords": [
    "jsnetworkx",
    "graph",
    "science"
  ],
  "homepage": "http://felix-kling.de/JSNetworkX/",
  "repository": {
    "type": "git",
    "url": "https://github.com/fkling/JSNetworkX.git"
  },
  "bugs": "https://github.com/fkling/JSNetworkX/issues",
  "author": {
    "name": "<NAME>",
    "email": "<EMAIL>",
    "url": "http://jsnetworkx.org/"
  },
  "main": "node/index.js",
  "dependencies": {
    "babel-runtime": "^4.6.3",
    "lodash": "^3.3.1",
    "tiny-sprintf": "^0.3.0"
  },
  "devDependencies": {
    "acorn-6to5": "babel/acorn-babel#2e78b518",
    "babel-core": "^4.6.3",
    "browserify": "^9.0.3",
    "chai": "^2.1.0",
    "chai-as-promised": "^4.1.1",
    "chai-checkmark": "^1.0.1",
    "chai-members-deep": "0.0.1",
    "commoner": "^0.10.1",
    "d3": "^3.5.3",
    "istanbul": "^0.3.5",
    "mocha": "^2.0.1",
    "recast": "^0.10.1",
    "sinon": "^1.11.1",
    "source-map-support": "^0.2.8",
    "through": "^2.3.6",
    "uglify-js": "^2.4.16",
    "watchify": "^2.2.1"
  },
  "browser": {
    "./jsnx/_internals/delegate.js": "./jsnx/_internals/delegateToWorker.js"
  },
  "browserify": {
    "transform": [
      "./transforms/es7",
      "./transforms/replace"
    ]
  },
  "scripts": {
    "prepublish": "npm run build:node",
    "clean": "rm -rf node/ jsnetworkx.js jsnetworkx-dev.js",
    "build:node": "rm -rf node/ && node scripts/build-node.js jsnx/ node/",
    "build:node:dev": "rm -rf node/ && node scripts/build-node.js --dev jsnx/ node/",
    "watch:node": "npm run build:node:dev -- -w",
    "build:browser": "(export BUNDLE=jsnetworkx.js; rm -f $BUNDLE && browserify jsnx/browser.js -s jsnx | uglifyjs -cmo $BUNDLE)",
    "build:browser:dev": "(export BUNDLE=jsnetworkx-dev.js; rm -f $BUNDLE &&  NODE_ENV=dev browserify jsnx/browser.js -ds jsnx > $BUNDLE)",
    "watch:browser": "(export BUNDLE=jsnetworkx-dev.js; rm -f $BUNDLE && NODE_ENV=dev watchify jsnx/browser.js -vds jsnx -o $BUNDLE)",
    "test": "npm run build:node:dev && mocha --ui exports -R progress -r './mocha/setup' `find node/ -name *-test.js`",
    "test:fast": "mocha --ui exports -R progress -r './mocha/setup' `find node/ -name *-test.js`",
    "watch:test": "npm test -- -b -w",
    "cover": "npm run build:node && istanbul cover _mocha -x '**/__tests__/**' -x 'mocha/*' -- --ui exports -R progress -r './mocha/setup' `find node/ -name *-test.js`"
  }
}

{'fraction_non_alphanumeric': 0.2410996835443038, 'fraction_numerical': 0.029272151898734177, 'mean_word_length': 2.887009992313605, 'pattern_counts': {'":': 105, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 4, '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': '1296361', 'n_tokens_mistral': 2185, 'n_tokens_neox': 2120, 'n_words': 420}