<commit_before>{
  "name": "preact",
  "amdName": "preact",
  "version": "10.0.1",
  "private": false,
  "description": "Fast 3kb React-compatible Virtual DOM library.",
  "main": "dist/preact.js",
  "module": "dist/preact.module.js",
  "umd:main": "dist/preact.umd.js",
  "source": "src/index.js",
  "license": "MIT",
  "types": "src/index.d.ts",
  "scripts": {
    "build": "npm-run-all --parallel build:*",
    "build:core": "microbundle build --raw",
    "build:debug": "microbundle build --raw --cwd debug",
    "build:hooks": "microbundle build --raw --cwd hooks",
    "build:test-utils": "microbundle build --raw --cwd test-utils",
    "build:compat": "microbundle build --raw --cwd compat --globals 'preact/hooks=preactHooks'",
    "dev": "microbundle watch --raw --format cjs",
    "dev:hooks": "microbundle watch --raw --format cjs --cwd hooks",
    "dev:compat": "microbundle watch --raw --format cjs --cwd compat --globals 'preact/hooks=preactHooks'",
    "test": "npm-run-all lint build --parallel test:mocha test:karma test:ts",
    "test:ts": "tsc -p test/ts/ && mocha --require babel-register test/ts/**/*-test.js",
    "test:mocha": "mocha --recursive --require babel-register test/shared test/node",
    "test:karma": "cross-env COVERAGE=true karma start karma.conf.js --single-run",
    "test:mocha:watch": "npm run test:mocha -- --watch",
    "test:karma:watch": "karma start karma.conf.js --no-single-run",
    "test:karma:hooks": "cross-env COVERAGE=false karma start karma.conf.js --grep=hooks/test/browser/**.js --no-single-run",
    "test:karma:test-utils": "cross-env PERFORMANCE=false COVERAGE=false karma start karma.conf.js --grep=test-utils/test/shared/**.js --no-single-run",
    "test:karma:bench": "cross-env PERFORMANCE=true COVERAGE=false karma start karma.conf.js --grep=test/benchmarks/**.js --single-run",
    "benchmark": "npm run test:karma:bench -- no-single-run",
    "lint": "eslint src test debug compat hooks test-utils",
    "postinstall": "node -e \"console.log('\\u001b[35m\\u001b[1mLove Preact? You can now donate to our open collective:\\u001b[22m\\u001b[39m\\n > \\u001b[34mhttps://opencollective.com/preact/donate\\u001b[0m')\""
  },
  "eslintConfig": {
    "extends": "developit",<commit_msg>Add npm script to run compat TS tests (#2017)<commit_after>{
  "name": "preact",
  "amdName": "preact",
  "version": "10.0.1",
  "private": false,
  "description": "Fast 3kb React-compatible Virtual DOM library.",
  "main": "dist/preact.js",
  "module": "dist/preact.module.js",
  "umd:main": "dist/preact.umd.js",
  "source": "src/index.js",
  "license": "MIT",
  "types": "src/index.d.ts",
  "scripts": {
    "build": "npm-run-all --parallel build:*",
    "build:core": "microbundle build --raw",
    "build:debug": "microbundle build --raw --cwd debug",
    "build:hooks": "microbundle build --raw --cwd hooks",
    "build:test-utils": "microbundle build --raw --cwd test-utils",
    "build:compat": "microbundle build --raw --cwd compat --globals 'preact/hooks=preactHooks'",
    "dev": "microbundle watch --raw --format cjs",
    "dev:hooks": "microbundle watch --raw --format cjs --cwd hooks",
    "dev:compat": "microbundle watch --raw --format cjs --cwd compat --globals 'preact/hooks=preactHooks'",
    "test": "npm-run-all lint build --parallel test:mocha test:karma test:ts",
    "test:ts": "run-p test:ts:*",
    "test:ts:core": "tsc -p test/ts/ && mocha --require babel-register test/ts/**/*-test.js",
    "test:ts:compat": "tsc -p compat/test/ts/",
    "test:mocha": "mocha --recursive --require babel-register test/shared test/node",
    "test:karma": "cross-env COVERAGE=true karma start karma.conf.js --single-run",
    "test:mocha:watch": "npm run test:mocha -- --watch",
    "test:karma:watch": "karma start karma.conf.js --no-single-run",
    "test:karma:hooks": "cross-env COVERAGE=false karma start karma.conf.js --grep=hooks/test/browser/**.js --no-single-run",
    "test:karma:test-utils": "cross-env PERFORMANCE=false COVERAGE=false karma start karma.conf.js --grep=test-utils/test/shared/**.js --no-single-run",
    "test:karma:bench": "cross-env PERFORMANCE=true COVERAGE=false karma start karma.conf.js --grep=test/benchmarks/**.js --single-run",
    "benchmark": "npm run test:karma:bench -- no-single-run",
    "lint": "eslint src test debug compat hooks test-utils",
    "postinstall": "node -e \"console.log('\\u001b[35m\\u001b[1mLove Preact? You can now donate to our open collective:\\u001b[22m\\u001b[39m\\n > \\u001b[34mhttps://opencollective.com/preact/donate\\u001b[0m')\""
  },
  "eslintConfig": {
    "extends": "developit",
{'fraction_non_alphanumeric': 0.20026036016489476, 'fraction_numerical': 0.015187676285528313, 'mean_word_length': 3.7282051282051283, 'pattern_counts': {'":': 72, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '48650', 'n_tokens_mistral': 1756, 'n_tokens_neox': 1688, 'n_words': 380}