<commit_before>{
  "name": "bookreader",
  "version": "4.11.1",
  "description": "The Internet Archive BookReader.",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/internetarchive/bookreader.git"
  },
  "keywords": [
    "online",
    "bookreader",
    "interface",
    "ebooks",
    "internet archive"
  ],
  "author": "Internet Archive",
  "license": "AGPL-3.0",
  "bugs": {
    "url": "https://github.com/internetarchive/bookreader/issues"
  },
  "homepage": "https://github.com/internetarchive/bookreader#readme",
  "dependencies": {
    "jquery": "3.4.1"
  },
  "private": true,
  "devDependencies": {
    "@babel/core": "7.6.0",
    "@babel/preset-env": "7.6.0",
    "@types/jest": "24.0.15",
    "babel-loader": "8.0.6",
    "codecov": "3.7.0",
    "concurrently": "5.1.0",
    "core-js": "3.3.3",
    "eslint": "5.16.0",
    "http-server": "0.12.1",
    "iso-language-codes": "1.0.7",
    "jest": "25.1.0",
    "live-server": "1.2.1",
    "node-fetch": "2.6.0",
    "regenerator-runtime": "0.13.3",
    "sass": "1.22.12",
    "sinon": "7.3.2",
    "testcafe": "1.8.1",
    "webpack": "4.39.3",
    "webpack-cli": "3.3.9"
  },
  "jest": {
    "setupFiles": [
      "./env-setup.js"
    ],
    "testPathIgnorePatterns": [
      "tests/e2e"
    ]
  },
  "scripts": {
    "preversion": "npm run test && node scripts/preversion.js",
    "version": "node scripts/version.js",
    "postversion": "node scripts/postversion.js",
    "build": "npm run build-js && npm run build-css",
    "build-js": "npx webpack",
    "build-js:watch": "npx webpack --watch",
    "build-css": "npx sass --no-source-map ./src/css/BookReader.scss ./BookReader/BookReader.css",
    "build-css:watch": "npx sass --watch --no-source-map ./src/css/BookReader.scss ./BookReader/BookReader.css",
    "lint": "eslint src/js",
    "lint:fix": "eslint --fix src/js",
    "serve": "npx http-server . --port 8000",
    "serve-live": "npx live-server . --port 8000 --ignore=coverage,tests,src",
    "serve-dev": "npx concurrently --kill-others npm:serve-live npm:build-js:watch npm:build-css:watch",
    "test": "jest",
    "test:e2e": "BASE_URL=http://127.0.0.1:8000/BookReaderDemo/ testcafe",
    "test:e2e:dev": "BASE_URL=http://127.0.0.1:8000/BookReaderDemo/ testcafe --live --dev",
    "test:watch": "jest --watch",<commit_msg>Use env to set environment variables in package.json<commit_after>{
  "name": "bookreader",
  "version": "4.11.1",
  "description": "The Internet Archive BookReader.",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/internetarchive/bookreader.git"
  },
  "keywords": [
    "online",
    "bookreader",
    "interface",
    "ebooks",
    "internet archive"
  ],
  "author": "Internet Archive",
  "license": "AGPL-3.0",
  "bugs": {
    "url": "https://github.com/internetarchive/bookreader/issues"
  },
  "homepage": "https://github.com/internetarchive/bookreader#readme",
  "dependencies": {
    "jquery": "3.4.1"
  },
  "private": true,
  "devDependencies": {
    "@babel/core": "7.6.0",
    "@babel/preset-env": "7.6.0",
    "@types/jest": "24.0.15",
    "babel-loader": "8.0.6",
    "codecov": "3.7.0",
    "concurrently": "5.1.0",
    "core-js": "3.3.3",
    "eslint": "5.16.0",
    "http-server": "0.12.1",
    "iso-language-codes": "1.0.7",
    "jest": "25.1.0",
    "live-server": "1.2.1",
    "node-fetch": "2.6.0",
    "regenerator-runtime": "0.13.3",
    "sass": "1.22.12",
    "sinon": "7.3.2",
    "testcafe": "1.8.1",
    "webpack": "4.39.3",
    "webpack-cli": "3.3.9"
  },
  "jest": {
    "setupFiles": [
      "./env-setup.js"
    ],
    "testPathIgnorePatterns": [
      "tests/e2e"
    ]
  },
  "scripts": {
    "preversion": "npm run test && node scripts/preversion.js",
    "version": "node scripts/version.js",
    "postversion": "node scripts/postversion.js",
    "build": "npm run build-js && npm run build-css",
    "build-js": "npx webpack",
    "build-js:watch": "npx webpack --watch",
    "build-css": "npx sass --no-source-map ./src/css/BookReader.scss ./BookReader/BookReader.css",
    "build-css:watch": "npx sass --watch --no-source-map ./src/css/BookReader.scss ./BookReader/BookReader.css",
    "lint": "eslint src/js",
    "lint:fix": "eslint --fix src/js",
    "serve": "npx http-server . --port 8000",
    "serve-live": "npx live-server . --port 8000 --ignore=coverage,tests,src",
    "serve-dev": "npx concurrently --kill-others npm:serve-live npm:build-js:watch npm:build-css:watch",
    "test": "jest",
    "test:e2e": "env BASE_URL=http://127.0.0.1:8000/BookReaderDemo/ testcafe",
    "test:e2e:dev": "env BASE_URL=http://127.0.0.1:8000/BookReaderDemo/ testcafe --live --dev",
    "test:watch": "jest --watch",
{'fraction_non_alphanumeric': 0.2327017245050032, 'fraction_numerical': 0.045135192676176286, 'mean_word_length': 2.9379715004191116, 'pattern_counts': {'":': 112, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '3041849', 'n_tokens_mistral': 1970, 'n_tokens_neox': 1869, 'n_words': 326}