| 1 | {
|
|---|
| 2 | "name": "@jridgewell/gen-mapping",
|
|---|
| 3 | "version": "0.3.13",
|
|---|
| 4 | "description": "Generate source maps",
|
|---|
| 5 | "keywords": [
|
|---|
| 6 | "source",
|
|---|
| 7 | "map"
|
|---|
| 8 | ],
|
|---|
| 9 | "main": "dist/gen-mapping.umd.js",
|
|---|
| 10 | "module": "dist/gen-mapping.mjs",
|
|---|
| 11 | "types": "types/gen-mapping.d.cts",
|
|---|
| 12 | "files": [
|
|---|
| 13 | "dist",
|
|---|
| 14 | "src",
|
|---|
| 15 | "types"
|
|---|
| 16 | ],
|
|---|
| 17 | "exports": {
|
|---|
| 18 | ".": [
|
|---|
| 19 | {
|
|---|
| 20 | "import": {
|
|---|
| 21 | "types": "./types/gen-mapping.d.mts",
|
|---|
| 22 | "default": "./dist/gen-mapping.mjs"
|
|---|
| 23 | },
|
|---|
| 24 | "default": {
|
|---|
| 25 | "types": "./types/gen-mapping.d.cts",
|
|---|
| 26 | "default": "./dist/gen-mapping.umd.js"
|
|---|
| 27 | }
|
|---|
| 28 | },
|
|---|
| 29 | "./dist/gen-mapping.umd.js"
|
|---|
| 30 | ],
|
|---|
| 31 | "./package.json": "./package.json"
|
|---|
| 32 | },
|
|---|
| 33 | "scripts": {
|
|---|
| 34 | "benchmark": "run-s build:code benchmark:*",
|
|---|
| 35 | "benchmark:install": "cd benchmark && npm install",
|
|---|
| 36 | "benchmark:only": "node --expose-gc benchmark/index.js",
|
|---|
| 37 | "build": "run-s -n build:code build:types",
|
|---|
| 38 | "build:code": "node ../../esbuild.mjs gen-mapping.ts",
|
|---|
| 39 | "build:types": "run-s build:types:force build:types:emit build:types:mts",
|
|---|
| 40 | "build:types:force": "rimraf tsconfig.build.tsbuildinfo",
|
|---|
| 41 | "build:types:emit": "tsc --project tsconfig.build.json",
|
|---|
| 42 | "build:types:mts": "node ../../mts-types.mjs",
|
|---|
| 43 | "clean": "run-s -n clean:code clean:types",
|
|---|
| 44 | "clean:code": "tsc --build --clean tsconfig.build.json",
|
|---|
| 45 | "clean:types": "rimraf dist types",
|
|---|
| 46 | "test": "run-s -n test:types test:only test:format",
|
|---|
| 47 | "test:format": "prettier --check '{src,test}/**/*.ts'",
|
|---|
| 48 | "test:only": "mocha",
|
|---|
| 49 | "test:types": "eslint '{src,test}/**/*.ts'",
|
|---|
| 50 | "lint": "run-s -n lint:types lint:format",
|
|---|
| 51 | "lint:format": "npm run test:format -- --write",
|
|---|
| 52 | "lint:types": "npm run test:types -- --fix",
|
|---|
| 53 | "prepublishOnly": "npm run-s -n build test"
|
|---|
| 54 | },
|
|---|
| 55 | "homepage": "https://github.com/jridgewell/sourcemaps/tree/main/packages/gen-mapping",
|
|---|
| 56 | "repository": {
|
|---|
| 57 | "type": "git",
|
|---|
| 58 | "url": "git+https://github.com/jridgewell/sourcemaps.git",
|
|---|
| 59 | "directory": "packages/gen-mapping"
|
|---|
| 60 | },
|
|---|
| 61 | "author": "Justin Ridgewell <justin@ridgewell.name>",
|
|---|
| 62 | "license": "MIT",
|
|---|
| 63 | "dependencies": {
|
|---|
| 64 | "@jridgewell/sourcemap-codec": "^1.5.0",
|
|---|
| 65 | "@jridgewell/trace-mapping": "^0.3.24"
|
|---|
| 66 | }
|
|---|
| 67 | }
|
|---|