package.json — astro Source File
Architecture documentation for package.json, a json file in the astro codebase.
Entity Profile
Source Code
{
"name": "@astrojs/upgrade",
"version": "0.7.0-beta.2",
"type": "module",
"author": "withastro",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/withastro/astro.git",
"directory": "packages/upgrade"
},
"bugs": "https://github.com/withastro/astro/issues",
"homepage": "https://astro.build",
"exports": {
".": "./upgrade.mjs"
},
"main": "./upgrade.mjs",
"bin": "./upgrade.mjs",
"scripts": {
"build": "astro-scripts build \"src/index.ts\" --bundle && tsc",
"build:ci": "astro-scripts build \"src/index.ts\" --bundle",
"dev": "astro-scripts dev \"src/**/*.ts\"",
"test": "astro-scripts test \"test/**/*.test.js\""
},
"files": [
"dist",
"upgrade.js"
],
"//a": "MOST PACKAGES SHOULD GO IN DEV_DEPENDENCIES! THEY WILL BE BUNDLED.",
"//b": "DEPENDENCIES IS FOR UNBUNDLED PACKAGES",
"dependencies": {
"@astrojs/cli-kit": "^0.4.1",
"package-manager-detector": "^1.6.0",
"semver": "^7.7.4",
"terminal-link": "^5.0.0"
},
"devDependencies": {
"@types/semver": "^7.7.1",
"arg": "^5.0.2",
"astro-scripts": "workspace:*"
},
"engines": {
"node": "^20.19.1 || >=22.12.0"
}
}
Source
Frequently Asked Questions
What does package.json do?
package.json is a source file in the astro codebase, written in json.
Where is package.json in the architecture?
package.json is located at packages/upgrade/package.json (directory: packages/upgrade).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free