{
  "name": "shakapacker",
  "version": "10.3.2",
  "description": "Use webpack to manage app-like JavaScript modules in Rails",
  "homepage": "https://github.com/shakacode/shakapacker",
  "bugs": {
    "url": "https://github.com/shakacode/shakapacker/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/shakacode/shakapacker.git"
  },
  "license": "MIT",
  "author": "David Heinemeier Hansson <david@basecamp.com>, Justin Gordon <justin@shakacode.com>",
  "main": "package/index.js",
  "types": "package/index.d.ts",
  "exports": {
    ".": "./package/index.js",
    "./types": "./package/types/index.js",
    "./webpack": "./package/webpack/index.js",
    "./rspack": "./package/rspack/index.js",
    "./swc": "./package/swc/index.js",
    "./esbuild": "./package/esbuild/index.js",
    "./configExporter": "./package/configExporter/index.js",
    "./package.json": "./package.json",
    "./package/babel/preset.js": "./package/babel/preset.js",
    "./package/config": "./package/config.js",
    "./package/*": "./package/*"
  },
  "bin": {
    "shakapacker-config": "package/bin/shakapacker-config.cjs",
    "diff-bundler-config": "package/bin/diff-bundler-config.cjs"
  },
  "files": [
    "package",
    "lib/install/config/shakapacker.yml"
  ],
  "scripts": {
    "clean:ts": "find package -name '*.ts' -not -name '*.d.ts' | sed 's/\\.ts$//' | xargs -I {} rm -f {}.js {}.d.ts {}.d.ts.map {}.js.map",
    "build": "tsc && cp package/index.d.ts.template package/index.d.ts && node scripts/remove-use-strict.js && yarn prettier --write 'package/**/*.js' 'package/**/*.ts'",
    "build:types": "tsc",
    "knip": "knip",
    "knip:production": "knip --production",
    "lint": "eslint . --cache",
    "lint:fast": "eslint . --config eslint.config.fast.js --cache",
    "test": "jest",
    "type-check": "tsc --noEmit",
    "prepublishOnly": "yarn build && yarn type-check"
  },
  "dependencies": {
    "js-yaml": "^4.1.0",
    "pack-config-diff": "^0.1.0",
    "path-complete-extname": "^1.0.0",
    "webpack-merge": "^5.8.0",
    "yargs": "^17.7.2"
  },
  "devDependencies": {
    "@babel/core": "7.29.0",
    "@eslint/eslintrc": "^3.2.0",
    "@eslint/js": "^9.37.0",
    "@rspack/cli": "2.2.0",
    "@rspack/core": "2.2.0",
    "@swc/core": "1.15.33",
    "@types/babel__core": "^7.20.5",
    "@types/js-yaml": "^4.0.9",
    "@types/node": "^24.5.2",
    "@types/path-complete-extname": "^1.0.3",
    "@types/webpack": "^5.28.5",
    "@types/webpack-dev-server": "^4.7.2",
    "@types/webpack-merge": "^5.0.0",
    "@types/yargs": "^17.0.33",
    "@typescript-eslint/eslint-plugin": "^8.46.0",
    "@typescript-eslint/parser": "^8.46.0",
    "babel-loader": "10.1.1",
    "compression-webpack-plugin": "^9.0.0",
    "css-loader": "7.1.4",
    "esbuild-loader": "4.4.3",
    "eslint": "^9.37.0",
    "eslint-config-airbnb": "^19.0.4",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-import": "^2.32.0",
    "eslint-plugin-jest": "^29.0.1",
    "eslint-plugin-jsx-a11y": "^6.10.2",
    "eslint-plugin-react": "^7.37.5",
    "eslint-plugin-react-hooks": "^7.0.0",
    "husky": "^9.1.7",
    "jest": "^29.7.0",
    "knip": "^5.64.2",
    "lint-staged": "^15.2.10",
    "memory-fs": "^0.5.0",
    "mini-css-extract-plugin": "2.10.2",
    "prettier": "^3.6.2",
    "rspack-manifest-plugin": "5.2.2",
    "sass-loader": "16.0.7",
    "swc-loader": "0.2.7",
    "thenify": "^3.3.1",
    "ts-jest": "^29.4.5",
    "typescript": "^5.9.2",
    "webpack": "5.106.2",
    "webpack-assets-manifest": "6.5.1",
    "webpack-cli": "7.0.2",
    "webpack-subresource-integrity": "5.1.0"
  },
  "peerDependencies": {
    "@babel/core": "^7.17.9 || ^8.0.0",
    "@babel/plugin-transform-runtime": "^7.17.0 || ^8.0.0",
    "@babel/preset-env": "^7.16.11 || ^8.0.0",
    "@babel/runtime": "^7.17.9 || ^8.0.0",
    "@rspack/cli": "^2.0.0",
    "@rspack/core": "^2.0.0",
    "@rspack/dev-server": "^2.0.0",
    "@rspack/plugin-react-refresh": "^2.0.0",
    "@swc/core": "^1.3.0",
    "@types/babel__core": "^7.0.0",
    "@types/webpack": "^5.0.0",
    "babel-loader": "^8.2.4 || ^9.0.0 || ^10.0.0",
    "compression-webpack-plugin": "^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0",
    "css-loader": "^6.8.1 || ^7.0.0",
    "esbuild": ">=0.14.0 <1.0.0",
    "esbuild-loader": "^2.0.0 || ^3.0.0 || ^4.0.0",
    "mini-css-extract-plugin": "^2.0.0",
    "rspack-manifest-plugin": "^5.2.2",
    "sass": "^1.50.0",
    "sass-loader": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
    "swc-loader": "^0.1.15 || ^0.2.0",
    "terser-webpack-plugin": "^5.3.1",
    "webpack": "^5.101.0",
    "webpack-assets-manifest": "^5.0.6 || ^6.0.0",
    "webpack-cli": "^4.9.2 || ^5.0.0 || ^6.0.0 || ^7.0.0",
    "webpack-dev-server": "^5.2.2 || ^6.0.0",
    "webpack-subresource-integrity": "^5.1.0"
  },
  "peerDependenciesMeta": {
    "@babel/core": {
      "optional": true
    },
    "@babel/plugin-transform-runtime": {
      "optional": true
    },
    "@babel/preset-env": {
      "optional": true
    },
    "@babel/runtime": {
      "optional": true
    },
    "@rspack/core": {
      "optional": true
    },
    "@rspack/cli": {
      "optional": true
    },
    "@rspack/dev-server": {
      "optional": true
    },
    "@rspack/plugin-react-refresh": {
      "optional": true
    },
    "@swc/core": {
      "optional": true
    },
    "@types/babel__core": {
      "optional": true
    },
    "@types/webpack": {
      "optional": true
    },
    "babel-loader": {
      "optional": true
    },
    "compression-webpack-plugin": {
      "optional": true
    },
    "css-loader": {
      "optional": true
    },
    "esbuild": {
      "optional": true
    },
    "esbuild-loader": {
      "optional": true
    },
    "mini-css-extract-plugin": {
      "optional": true
    },
    "rspack-manifest-plugin": {
      "optional": true
    },
    "sass": {
      "optional": true
    },
    "sass-loader": {
      "optional": true
    },
    "swc-loader": {
      "optional": true
    },
    "terser-webpack-plugin": {
      "optional": true
    },
    "webpack": {
      "optional": true
    },
    "webpack-assets-manifest": {
      "optional": true
    },
    "webpack-cli": {
      "optional": true
    },
    "webpack-dev-server": {
      "optional": true
    },
    "webpack-subresource-integrity": {
      "optional": true
    }
  },
  "packageManager": "yarn@1.22.22",
  "lint-staged": {
    "*.{js,jsx}": [
      "eslint --fix",
      "prettier --write"
    ],
    "*.{ts,tsx}": [
      "eslint --fix",
      "prettier --write",
      "node scripts/type-check-no-emit.js"
    ],
    "*.{json,yml,yaml,md}": [
      "prettier --write"
    ]
  },
  "engines": {
    "node": "^20.19.0 || >=22.12.0",
    "yarn": ">=1 <5"
  },
  "publishConfig": {
    "access": "public"
  }
}
