<commit_before>{
  "name": "phraseanet-common",
  "version": "0.1.1",
  "description": "Phraseanet frontend shared libraries",
  "scripts": {
    "clean": "rimraf dist",
    "dev": "npm run clean && set NODE_ENV=devlopment && webpack --config ./config/webpack/webpack.development.config.js --progress --profile --colors",
    "production": "npm run clean && set NODE_ENV=production && webpack --config ./config/webpack/webpack.production.config.js --progress --profile --colors",
    "dist": "npm run clean && set NODE_ENV=production && webpack --config ./config/webpack/webpack.production.config.js --progress --profile --colors && webpack --config ./config/webpack/webpack.production.minified.config.js --progress --profile --colors",
    "test": "npm run test:server && npm run test:browser",
    "test:server": "mocha --opts config/mocha.opts",
    "test:browser": "./node_modules/.bin/karma start --single-run",
    "watch:server": "npm run test:server -- --watch",
    "watch:browser": "./node_modules/.bin/karma start --auto-watch --no-single-run",
    "eslint:source": "eslint ./src/**/*.js",
    "eslint:fix": "eslint --fix ./src/**/*.js",
    "eslint:common": "eslint ./test/**/*.common.js",
    "eslint:server": "eslint ./test/**/*.server.js",
    "eslint:browser": "eslint ./test/**/*.browser.js",
    "karma:firefox": "./node_modules/.bin/karma start --browsers=Firefox",
    "karma:chrome": "./node_modules/.bin/karma start --browsers=Chrome",
    "karma:ie": "./node_modules/.bin/karma start --browsers=IE",
    "karma:all": "./node_modules/.bin/karma start --browsers=PhantomJS,Chrome,Firefox",
    "packages": "npm list --depth=0",
    "package:purge": "rm -rf node_modules",
    "package:reinstall": "npm run package:purge && npm install",
    "package:check": "./node_modules/.bin/ncu",
    "package:upgrade": "./node_modules/.bin/ncu -u",
    "package:prod": "./node_modules/.bin/ncu -u",
    "package:dev": "./node_modules/.bin/ncu -p -u",
    "asset-server": "node config/webpack/webpack.hot.assets.config",
    "prepublish": "[[ -z $(git status --porcelain) ]] && npm run dist",
    "preversion": "[[ -z $(git status --porcelain) ]] && npm run dist && git add -A dist && git commit -m 'Build lib'",
    "postpublish": "git push origin master --follow-tags"
  },
  "pre-commit": [
    "test"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/lostdalek/Phraseanet-common.git"
  },
  "keywords": [
    "phraseanet"
  ],
  "files": [
    "dist",
    "src"
  ],
  "devDependencies": {
    "babel-cli": "^6.4.5",
    "babel-core": "^6.4.5",
    "babel-eslint": "^5.0.0-beta6",
    "babel-loader": "^6.2.1",
    "babel-plugin-syntax-jsx": "^6.3.13",
    "babel-polyfill": "^6.3.14",
    "babel-preset-es2015": "^6.3.13",
    "babel-preset-stage-0": "^6.3.13",
    "chai": "^3.5.0",
    "chai-as-promised": "^5.2.0",
    "coveralls": "^2.11.6",
    "dotenv": "^2.0.0",
    "eslint": "^1.10.3",
    "eslint-config-airbnb": "^4.0.0",
    "eslint-loader": "^1.2.1",
    "eslint-plugin-react": "^3.16.1",
    "istanbul-instrumenter-loader": "^0.1.3",
    "karma": "^0.13.19",
    "karma-chai": "^0.1.0",
    "karma-chrome-launcher": "^0.2.2",
    "karma-cli": "^0.1.2",
    "karma-coverage": "^0.5.3",
    "karma-firefox-launcher": "^0.1.7",
    "karma-ie-launcher": "^0.2.0",
    "karma-mocha": "^0.2.1",
    "karma-mocha-reporter": "^1.1.5",
    "karma-phantomjs-launcher": "^1.0.0",
    "karma-sinon": "^1.0.4",
    "karma-sinon-chai": "^1.1.0",
    "karma-sourcemap-loader": "^0.3.7",
    "karma-spec-reporter": "0.0.23",
    "karma-webpack": "^1.7.0",
    "lodash": "4.0.1",
    "mocha": "^2.4.5",
    "npm-check-updates": "^2.5.7",
    "npmlog": "^2.0.2",
    "phantomjs": "^2.1.3",
    "phantomjs-polyfill": "0.0.1",
    "phantomjs-prebuilt": "^2.1.3",
    "pre-commit": "^1.1.2",
    "rimraf": "^2.5.1",
    "sinon": "^1.17.3",
    "sinon-chai": "^2.8.0",
    "webpack": "^1.12.12",
    "webpack-dev-server": "^1.14.1",
    "webpack-notifier": "1.2.1"
  },
  "babel": {
    "ignore": [
      "packages/babel-cli/src/babel-plugin/templates"
    ]
  },
  "devEngines": {
    "node": ">=4.1 <6",
    "npm": ">=3.1 <5"
  },
  "author": {
    "name": "<NAME>",
    "email": "<EMAIL>"
  },
  "main": "dist/common.js",
  "bugs": "https://github.com/lostdalek/Phraseanet-common/issues",
  "homepage": "https://github.com/lostdalek/Phraseanet-common",
  "license": "MIT",
  "dependencies": {
    "es6-promise": "^3.0.2",
    "humane-js": "^3.2.2",
    "imports-loader": "^0.6.5",
    "jquery": "^1.11.3",
    "js-cookie": "^2.1.0"
  }
}
<commit_msg>update npm dist command<commit_after>{
  "name": "phraseanet-common",
  "version": "0.1.1",
  "description": "Phraseanet frontend shared libraries",
  "scripts": {
    "clean": "rimraf dist",
    "dev": "npm run clean && set NODE_ENV=devlopment && webpack --config ./config/webpack/webpack.development.config.js --progress --profile --colors",
    "production": "npm run clean && set NODE_ENV=production && webpack --config ./config/webpack/webpack.production.config.js --progress --profile --colors",
    "dist": "npm run clean && set NODE_ENV=production && webpack --config ./config/webpack/webpack.production.config.js --progress --profile --colors && webpack --config ./config/webpack/webpack.production.minified.config.js --progress --profile --colors",
    "test": "npm run test:server && npm run test:browser",
    "test:server": "mocha --opts config/mocha.opts",
    "test:browser": "./node_modules/.bin/karma start --single-run",
    "watch:server": "npm run test:server -- --watch",
    "watch:browser": "./node_modules/.bin/karma start --auto-watch --no-single-run",
    "eslint:source": "eslint ./src/**/*.js",
    "eslint:fix": "eslint --fix ./src/**/*.js",
    "eslint:common": "eslint ./test/**/*.common.js",
    "eslint:server": "eslint ./test/**/*.server.js",
    "eslint:browser": "eslint ./test/**/*.browser.js",
    "karma:firefox": "./node_modules/.bin/karma start --browsers=Firefox",
    "karma:chrome": "./node_modules/.bin/karma start --browsers=Chrome",
    "karma:ie": "./node_modules/.bin/karma start --browsers=IE",
    "karma:all": "./node_modules/.bin/karma start --browsers=PhantomJS,Chrome,Firefox",
    "packages": "npm list --depth=0",
    "package:purge": "rm -rf node_modules",
    "package:reinstall": "npm run package:purge && npm install",
    "package:check": "./node_modules/.bin/ncu",
    "package:upgrade": "./node_modules/.bin/ncu -u",
    "package:prod": "./node_modules/.bin/ncu -u",
    "package:dev": "./node_modules/.bin/ncu -p -u",
    "asset-server": "node config/webpack/webpack.hot.assets.config",
    "prepublish": "npm run dist",
    "preversion": "[[ -z $(git status --porcelain) ]] && npm run dist && git add -A dist && git commit -m 'Build lib'",
    "postpublish": "git push origin master --follow-tags"
  },
  "pre-commit": [
    "test"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/lostdalek/Phraseanet-common.git"
  },
  "keywords": [
    "phraseanet"
  ],
  "files": [
    "dist",
    "src"
  ],
  "devDependencies": {
    "babel-cli": "^6.4.5",
    "babel-core": "^6.4.5",
    "babel-eslint": "^5.0.0-beta6",
    "babel-loader": "^6.2.1",
    "babel-plugin-syntax-jsx": "^6.3.13",
    "babel-polyfill": "^6.3.14",
    "babel-preset-es2015": "^6.3.13",
    "babel-preset-stage-0": "^6.3.13",
    "chai": "^3.5.0",
    "chai-as-promised": "^5.2.0",
    "coveralls": "^2.11.6",
    "dotenv": "^2.0.0",
    "eslint": "^1.10.3",
    "eslint-config-airbnb": "^4.0.0",
    "eslint-loader": "^1.2.1",
    "eslint-plugin-react": "^3.16.1",
    "istanbul-instrumenter-loader": "^0.1.3",
    "karma": "^0.13.19",
    "karma-chai": "^0.1.0",
    "karma-chrome-launcher": "^0.2.2",
    "karma-cli": "^0.1.2",
    "karma-coverage": "^0.5.3",
    "karma-firefox-launcher": "^0.1.7",
    "karma-ie-launcher": "^0.2.0",
    "karma-mocha": "^0.2.1",
    "karma-mocha-reporter": "^1.1.5",
    "karma-phantomjs-launcher": "^1.0.0",
    "karma-sinon": "^1.0.4",
    "karma-sinon-chai": "^1.1.0",
    "karma-sourcemap-loader": "^0.3.7",
    "karma-spec-reporter": "0.0.23",
    "karma-webpack": "^1.7.0",
    "lodash": "4.0.1",
    "mocha": "^2.4.5",
    "npm-check-updates": "^2.5.7",
    "npmlog": "^2.0.2",
    "phantomjs": "^2.1.3",
    "phantomjs-polyfill": "0.0.1",
    "phantomjs-prebuilt": "^2.1.3",
    "pre-commit": "^1.1.2",
    "rimraf": "^2.5.1",
    "sinon": "^1.17.3",
    "sinon-chai": "^2.8.0",
    "webpack": "^1.12.12",
    "webpack-dev-server": "^1.14.1",
    "webpack-notifier": "1.2.1"
  },
  "babel": {
    "ignore": [
      "packages/babel-cli/src/babel-plugin/templates"
    ]
  },
  "devEngines": {
    "node": ">=4.1 <6",
    "npm": ">=3.1 <5"
  },
  "author": {
    "name": "<NAME>",
    "email": "<EMAIL>"
  },
  "main": "dist/common.js",
  "bugs": "https://github.com/lostdalek/Phraseanet-common/issues",
  "homepage": "https://github.com/lostdalek/Phraseanet-common",
  "license": "MIT",
  "dependencies": {
    "es6-promise": "^3.0.2",
    "humane-js": "^3.2.2",
    "imports-loader": "^0.6.5",
    "jquery": "^1.11.3",
    "js-cookie": "^2.1.0"
  }
}

{'fraction_non_alphanumeric': 0.2541557305336833, 'fraction_numerical': 0.04046369203849519, 'mean_word_length': 2.9316423043852105, 'pattern_counts': {'":': 208, '<': 11, '<?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': '5470090', 'n_tokens_mistral': 3905, 'n_tokens_neox': 3669, 'n_words': 623}