Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

1.8 KB
Raw Blame
{
	"name": "harper.js",
	"version": "3.1.0",
	"license": "Apache-2.0",
	"author": "Elijah Potter",
	"description": "The grammar checker that respects your privacy.",
	"repository": {
		"type": "git",
		"url": "git+https://github.com/automattic/harper.git",
		"directory": "packages/harper.js"
	},
	"bugs": {
		"url": "https://github.com/automattic/harper/issues"
	},
	"homepage": "https://writewithharper.com",
	"type": "module",
	"scripts": {
		"dev": "vite",
		"build": "tsc && vite build -l warn",
		"test": "vitest run",
		"test:debug": "vitest run --browser.headless false --testTimeout 0",
		"api:extractor": "api-extractor run",
		"api:documenter": "api-documenter markdown -i temp"
	},
	"devDependencies": {
		"@microsoft/api-documenter": "^7.28.1",
		"@microsoft/api-extractor": "^7.55.1",
		"@types/node": "catalog:",
		"@vitest/browser": "4.1.12",
		"@vitest/browser-playwright": "4.1.12",
		"@vitest/ui": "4.1.12",
		"harper-wasm": "workspace:*",
		"marked": "^16.4.1",
		"p-lazy": "^5.0.0",
		"p-memoize": "^7.1.1",
		"playwright": "1.60.0",
		"type-fest": "^4.37.0",
		"typescript": "catalog:",
		"vite": "^8.3.5",
		"vite-plugin-dts": "^4.5.0",
		"vitest": "4.1.12"
	},
	"exports": {
		".": {
			"types": "./dist/index.d.ts",
			"import": "./dist/index.js"
		},
		"./binary": {
			"types": "./dist/binary.d.ts",
			"import": "./dist/binary.js"
		},
		"./slimBinary": {
			"types": "./dist/slimBinary.d.ts",
			"import": "./dist/slimBinary.js"
		},
		"./binaryInlined": {
			"types": "./dist/binaryInlined.d.ts",
			"import": "./dist/binaryInlined.js"
		},
		"./slimBinaryInlined": {
			"types": "./dist/slimBinaryInlined.d.ts",
			"import": "./dist/slimBinaryInlined.js"
		}
	},
	"main": "dist/harper.js",
	"types": "dist/harper.d.ts",
	"sideEffects": false,
	"files": [
		"dist"
	],
	"dependencies": {
		"fflate": "^0.8.2"
	}
}