{
	"name": "@headstartwp/core",
	"version": "1.6.1",
	"description": "`@headstartwp/core` is the core package that houses framework-agnostic components and utilities for building headless sites with WordPress.",
	"homepage": "https://github.com/10up/headstartwp/blob/develop/packages/core/README.md",
	"license": "MIT",
	"author": "10up <info@10up.com> (https://10up.com/)",
	"main": "dist/cjs/index.js",
	"source": "src/index.ts",
	"types": "dist/mjs/index.d.ts",
	"typedocMain": "src/docs-entry-point.ts",
	"publishConfig": {
		"access": "public"
	},
	"exports": {
		".": {
			"require": "./dist/cjs/index.js",
			"import": "./dist/mjs/index.js",
			"types": "./dist/mjs/index.d.ts"
		},
		"./utils": {
			"require": "./dist/cjs/utils/index.js",
			"import": "./dist/mjs/utils/index.js",
			"types": "./dist/mjs/utils/index.d.ts"
		},
		"./react": {
			"react-server": {
				"import": "./dist/mjs/rsc/index.js",
				"require": "./dist/cjs/rsc/index.js",
				"types": "./dist/mjs/rsc/index.d.ts"
			},
			"require": "./dist/cjs/react/index.js",
			"import": "./dist/mjs/react/index.js",
			"types": "./dist/mjs/react/index.d.ts"
		},
		"./rsc": {
			"import": "./dist/mjs/rsc/index.js",
			"require": "./dist/cjs/rsc/index.js",
			"types": "./dist/mjs/rsc/index.d.ts"
		},
		"./test": "./test/server.ts"
	},
	"files": [
		"dist",
		"react.d.ts",
		"react.js",
		"test.d.ts",
		"utils.d.ts",
		"utils.js"
	],
	"sideEffects": false,
	"scripts": {
		"postbuild": "tsc-esm-fix --target dist/mjs && node ../../scripts/package.js",
		"build": "npm run ts && npm run ts:cjs",
		"ts:cjs": "tsc -b tsconfig-cjs.json",
		"ts": "tsc -b",
		"dev": "concurrently \"npm run watch:ts:cjs\" \"npm run watch:ts\"",
		"watch:ts:cjs": "npm run ts:cjs -- --watch",
		"watch:ts": "npm run ts -- --watch",
		"test": "jest",
		"test:watch": "jest --watch",
		"lint": "eslint src/"
	},
	"devDependencies": {
		"@testing-library/dom": "^10.3.1",
		"@testing-library/react": "^16.0.0",
		"@types/jest": "^29.0.3",
		"@types/node-fetch": "^2.5.3",
		"expect-type": "^0.15.0",
		"jest": "^29.3.1",
		"msw": "^0.35.0",
		"ts-jest": "^29.0.3",
		"typescript": "^5.5.3",
		"isomorphic-fetch": "^3.0.0",
		"tsc-esm-fix": "^2.20.27",
		"@types/react": "^18",
		"@types/react-dom": "^18"
	},
	"dependencies": {
		"@justinribeiro/lite-youtube": "^1.3.1",
		"html-react-parser": "^3.0.4",
		"path-to-regexp": "^6.2.0",
		"react-inspector": "^6.0.1",
		"swr": "^2.2.5",
		"xss": "^1.0.15",
		"deepmerge": "^4.3.1",
		"schema-dts": "^1.1.2"
	},
	"peerDependencies": {
		"react": ">= 17.0.2",
		"react-dom": ">= 17.0.2"
	}
}
