diff --git a/packages/inertia/package.json b/packages/inertia/package.json index 287681a..5e0db48 100755 --- a/packages/inertia/package.json +++ b/packages/inertia/package.json @@ -1,6 +1,6 @@ { - "name": "@inertiajs/inertia", - "version": "0.11.0", + "name": "inertia-local", + "version": "0.11.0b", "license": "MIT", "description": "A framework for creating server-driven single page apps.", "contributors": [ @@ -17,15 +17,20 @@ "bugs": { "url": "https://github.com/inertiajs/inertia/issues" }, - "files": ["dist", "types"], + "files": [ + "dist", + "types" + ], "source": "src/index.ts", "main": "dist/index.js", + "exports": "./dist/index.modern.js", + "module": "dist/index.module.js", "unpkg": "dist/index.umd.js", "types": "types/index.d.ts", "scripts": { - "build": "npm run clean && npm run build:cjs && npm run build:umd", - "build:cjs": "microbundle --format cjs", - "build:umd": "microbundle --format umd --name Inertia --external none", + "build": "npm run clean && npm run build:bundler && npm run build:browser", + "build:bundler": "microbundle --format es,cjs", + "build:browser": "microbundle --format modern,umd --name Inertia --external none", "clean": "rm -rf types && rm -rf dist", "prepublishOnly": "npm run build", "watch": "microbundle watch --format cjs" @@ -33,7 +38,7 @@ "dependencies": { "axios": "^0.26.0", "deepmerge": "^4.0.0", - "qs": "^6.9.0" + "qs": "^6.10.5" }, "devDependencies": { "@types/deepmerge": "^2.2.0",