Home / File/ package.json — astro Source File

package.json — astro Source File

Architecture documentation for package.json, a json file in the astro codebase.

Entity Profile

Source Code

{
  "name": "@astrojs/underscore-redirects",
  "description": "Utilities to generate _redirects files in Astro projects",
  "version": "1.0.0",
  "type": "module",
  "author": "withastro",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/withastro/astro.git",
    "directory": "packages/underscore-redirects"
  },
  "bugs": "https://github.com/withastro/astro/issues",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": "./dist/index.js"
  },
  "files": [
    "dist"
  ],
  "scripts": {
    "prepublish": "pnpm build",
    "build": "astro-scripts build \"src/**/*.ts\" && tsc -p tsconfig.json",
    "build:ci": "astro-scripts build \"src/**/*.ts\"",
    "dev": "astro-scripts dev \"src/**/*.ts\"",
    "test": "astro-scripts test \"test/**/*.test.js\""
  },
  "devDependencies": {
    "astro": "workspace:*",
    "astro-scripts": "workspace:*"
  },
  "keywords": [
    "astro",
    "astro-component"
  ],
  "publishConfig": {
    "provenance": true
  }
}

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/underscore-redirects/package.json (directory: packages/underscore-redirects).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free