70 lines
1.9 KiB
JSON
70 lines
1.9 KiB
JSON
{
|
|
"name": "@inertiajs/core",
|
|
"version": "2.3.13",
|
|
"license": "MIT",
|
|
"description": "A framework for creating server-driven single page apps.",
|
|
"contributors": [
|
|
"Jonathan Reinink <jonathan@reinink.ca>",
|
|
"Claudio Dekker <claudio@ubient.net>",
|
|
"Sebastian De Deyne <sebastiandedeyne@gmail.com>"
|
|
],
|
|
"homepage": "https://inertiajs.com/",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/inertiajs/inertia.git",
|
|
"directory": "packages/inertia"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/inertiajs/inertia/issues"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"types"
|
|
],
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"types": "types/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./types/index.d.ts",
|
|
"import": "./dist/index.esm.js",
|
|
"require": "./dist/index.js"
|
|
},
|
|
"./server": {
|
|
"types": "./types/server.d.ts",
|
|
"import": "./dist/server.esm.js",
|
|
"require": "./dist/server.js"
|
|
}
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"server": [
|
|
"types/server.d.ts"
|
|
]
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@types/lodash-es": "^4.17.12",
|
|
"axios": "^1.13.2",
|
|
"laravel-precognition": "^1.0.1",
|
|
"lodash-es": "^4.17.23",
|
|
"qs": "^6.14.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.19.130",
|
|
"@types/qs": "^6.14.0",
|
|
"es-check": "^9.5.3",
|
|
"esbuild": "^0.27.2",
|
|
"esbuild-node-externals": "^1.20.1",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"scripts": {
|
|
"build": "pnpm clean && ./build.js && tsc",
|
|
"build:with-deps": "./build.js --with-deps",
|
|
"clean": "rm -rf types && rm -rf dist",
|
|
"dev": "pnpx concurrently -c \"#ffcf00,#3178c6\" \"pnpm dev:build\" \"pnpm dev:types\" --names build,types",
|
|
"dev:build": "./build.js --watch",
|
|
"dev:types": "tsc --watch --preserveWatchOutput",
|
|
"es2020-check": "pnpm build:with-deps && es-check es2020 \"dist/index.esm.js\" --checkFeatures --module --noCache --verbose"
|
|
}
|
|
} |