82 lines
2.5 KiB
JSON
82 lines
2.5 KiB
JSON
{
|
||
"name": "react-helmet-async",
|
||
"version": "3.0.0",
|
||
"description": "Thread-safe Helmet for React 16–18, with native support for React 19+",
|
||
"sideEffects": false,
|
||
"main": "./lib/index.js",
|
||
"module": "./lib/index.esm.js",
|
||
"types": "./lib/index.d.ts",
|
||
"exports": {
|
||
".": {
|
||
"import": {
|
||
"types": "./lib/index.d.ts",
|
||
"default": "./lib/index.esm.js"
|
||
},
|
||
"require": {
|
||
"types": "./lib/index.d.ts",
|
||
"default": "./lib/index.js"
|
||
}
|
||
}
|
||
},
|
||
"repository": "http://github.com/staylor/react-helmet-async",
|
||
"author": "Scott Taylor <scott.c.taylor@mac.com>",
|
||
"license": "Apache-2.0",
|
||
"files": [
|
||
"lib/"
|
||
],
|
||
"dependencies": {
|
||
"invariant": "^2.2.4",
|
||
"react-fast-compare": "^3.2.2",
|
||
"shallowequal": "^1.1.0"
|
||
},
|
||
"devDependencies": {
|
||
"@commitlint/cli": "18.4.3",
|
||
"@commitlint/config-conventional": "18.4.3",
|
||
"@playwright/test": "^1.58.2",
|
||
"@remix-run/eslint-config": "2.3.1",
|
||
"@testing-library/jest-dom": "6.1.5",
|
||
"@testing-library/react": "14.1.2",
|
||
"@types/eslint": "8.44.8",
|
||
"@types/invariant": "2.2.37",
|
||
"@types/jsdom": "21.1.6",
|
||
"@types/react": "18.2.39",
|
||
"@types/react-dom": "^18.3.7",
|
||
"@types/shallowequal": "1.1.5",
|
||
"@vitejs/plugin-react": "4.2.0",
|
||
"esbuild": "0.19.8",
|
||
"eslint": "8.54.0",
|
||
"eslint-config-prettier": "9.0.0",
|
||
"eslint-plugin-prettier": "5.0.1",
|
||
"husky": "8.0.3",
|
||
"jsdom": "22.1.0",
|
||
"playwright": "^1.58.2",
|
||
"prettier": "3.1.0",
|
||
"raf": "3.4.1",
|
||
"react": "18.2.0",
|
||
"react-dom": "18.2.0",
|
||
"rimraf": "5.0.5",
|
||
"tsx": "4.6.1",
|
||
"typescript": "5.2.2",
|
||
"vite": "4.5.0",
|
||
"vitest": "0.34.6"
|
||
},
|
||
"peerDependencies": {
|
||
"react": "^16.6.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
||
},
|
||
"scripts": {
|
||
"clean": "rimraf lib",
|
||
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint --report-unused-disable-directives .",
|
||
"lint-fix": "pnpm lint --fix",
|
||
"test": "vitest run",
|
||
"test:e2e:server": "vitest run --config e2e/vitest.config.ts",
|
||
"test:e2e:browser": "playwright test --config e2e/playwright.config.ts",
|
||
"test:e2e": "pnpm run test:e2e:server && pnpm run test:e2e:browser",
|
||
"test:all": "pnpm test && pnpm run test:e2e",
|
||
"test-watch": "pnpm test -- --watch",
|
||
"test-update": "pnpm test -- -u",
|
||
"compile": "pnpm run clean && NODE_ENV=production tsx build.ts && pnpm run types",
|
||
"prepare": "pnpm run compile && husky install",
|
||
"types": "tsc --project tsconfig.build.json"
|
||
}
|
||
}
|