{
  "name": "escorn",
  "version": "0.7.0",
  "description": "Acorn transpiler with a babel compat layer",
  "main": "dist/cjs/index.js",
  "module": "dist/module/index.js",
  "types": "dist/types/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/esm/index.mjs",
      "require": "./dist/cjs/index.js"
    },
    "./package.json": "./package.json",
    "./": "./"
  },
  "scripts": {
    "test": "jest",
    "lint": "eslint src/**/*.ts",
    "size": "ts-node tools/check-size.ts",
    "debug-sourcemap": "ts-node tools/debug-sourcemap.ts",
    "build": "rimraf dist/ && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && npm run build:esm",
    "build:esm": "ts-node tools/build-esm.ts",
    "prepublishOnly": "npm run lint && npm test && npm run build"
  },
  "files": [
    "dist/"
  ],
  "keywords": [
    "acorn",
    "babel",
    "transpiler"
  ],
  "author": "The Preact Team (https://preactjs.com)",
  "license": "MIT",
  "dependencies": {
    "acorn": "^8.4.1",
    "acorn-class-fields": "^1.0.0",
    "acorn-import-assertions": "^1.7.5",
    "acorn-jsx": "^5.3.2",
    "acorn-logical-assignment": "^0.1.4",
    "acorn-private-methods": "^1.0.0",
    "acorn-static-class-features": "^1.0.0",
    "astring": "^1.7.5",
    "glob": "^7.1.7",
    "sourcemap-codec": "^1.4.8"
  },
  "devDependencies": {
    "@babel/core": "^7.14.6",
    "@babel/plugin-syntax-jsx": "^7.14.5",
    "@babel/preset-env": "^7.14.7",
    "@babel/preset-typescript": "^7.14.5",
    "@changesets/changelog-github": "^0.4.0",
    "@changesets/cli": "^2.16.0",
    "@prefresh/babel-plugin": "^0.4.1",
    "@rollup/plugin-commonjs": "^19.0.1",
    "@rollup/plugin-node-resolve": "^13.0.2",
    "@types/estree": "^0.0.50",
    "@types/glob": "^7.1.4",
    "@types/jest": "^26.0.24",
    "@types/ncp": "^2.0.5",
    "@typescript-eslint/eslint-plugin": "^4.28.3",
    "@typescript-eslint/parser": "^4.28.3",
    "babel-plugin-transform-hook-names": "^1.0.2",
    "babel-plugin-transform-jsx-to-htm": "^2.2.0",
    "eslint": "^7.31.0",
    "eslint-plugin-jest": "^24.3.6",
    "gzip-size": "^6.0.0",
    "husky": "^7.0.1",
    "jest": "^27.0.6",
    "kolorist": "^1.5.0",
    "lint-staged": "^11.0.1",
    "ncp": "^2.0.0",
    "prettier": "^2.3.2",
    "pretty-bytes": "^5.6.0",
    "rimraf": "^3.0.2",
    "rollup": "^2.53.2",
    "simple-code-frame": "^1.1.1",
    "ts-node": "^10.1.0",
    "typescript": "^4.3.5"
  },
  "prettier": {
    "arrowParens": "avoid"
  },
  "eslintConfig": {
    "env": {
      "browser": true,
      "node": true,
      "es2021": true
    },
    "extends": [
      "eslint:recommended",
      "plugin:@typescript-eslint/recommended"
    ],
    "parser": "@typescript-eslint/parser",
    "parserOptions": {
      "ecmaVersion": 12,
      "sourceType": "module"
    },
    "plugins": [
      "@typescript-eslint",
      "jest"
    ],
    "rules": {
      "@typescript-eslint/explicit-module-boundary-types": "off",
      "@typescript-eslint/no-explicit-any": "off",
      "@typescript-eslint/no-this-alias": "off",
      "@typescript-eslint/no-non-null-assertion": "off",
      "@typescript-eslint/ban-ts-comment": "off",
      "jest/no-focused-tests": "error",
      "jest/no-identical-title": "error",
      "prefer-const": "off"
    }
  },
  "lint-staged": {
    "packages/**/*.{js,ts}": [
      "eslint --fix",
      "prettier --write"
    ],
    "*.md": [
      "prettier --write"
    ],
    "*.json": [
      "prettier --write"
    ]
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  }
}
