64 lines
1.8 KiB
JSON
64 lines
1.8 KiB
JSON
{
|
|
"name": "@tanstack/history",
|
|
"version": "1.161.6",
|
|
"description": "Modern and scalable routing for React applications",
|
|
"author": "Tanner Linsley",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/TanStack/router.git",
|
|
"directory": "packages/history"
|
|
},
|
|
"homepage": "https://tanstack.com/router",
|
|
"funding": {
|
|
"type": "github",
|
|
"url": "https://github.com/sponsors/tannerlinsley"
|
|
},
|
|
"keywords": [
|
|
"history",
|
|
"typescript"
|
|
],
|
|
"type": "module",
|
|
"types": "dist/esm/index.d.ts",
|
|
"main": "dist/cjs/index.cjs",
|
|
"module": "dist/esm/index.js",
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/esm/index.d.ts",
|
|
"default": "./dist/esm/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/cjs/index.d.cts",
|
|
"default": "./dist/cjs/index.cjs"
|
|
}
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist",
|
|
"src"
|
|
],
|
|
"engines": {
|
|
"node": ">=20.19"
|
|
},
|
|
"devDependencies": {
|
|
"vite": "*"
|
|
},
|
|
"scripts": {
|
|
"clean": "rimraf ./dist && rimraf ./coverage",
|
|
"test:eslint": "eslint ./src",
|
|
"test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"",
|
|
"test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js",
|
|
"test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js",
|
|
"test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js",
|
|
"test:types:ts57": "node ../../node_modules/typescript57/lib/tsc.js",
|
|
"test:types:ts58": "node ../../node_modules/typescript58/lib/tsc.js",
|
|
"test:types:ts59": "tsc",
|
|
"test:build": "publint --strict && attw --ignore-rules no-resolution --pack .",
|
|
"test:unit": "vitest",
|
|
"test:unit:dev": "pnpm run test:unit --watch",
|
|
"build": "vite build"
|
|
}
|
|
} |