blob: 578448f1ce9ca0762f828ac2b76ce0b72b262a09 [file] [log] [blame]
Samuel Shuert274a4d62023-12-01 15:04:55 -05001{
2 "name": "@jridgewell/sourcemap-codec",
3 "version": "1.4.15",
4 "description": "Encode/decode sourcemap mappings",
5 "keywords": [
6 "sourcemap",
7 "vlq"
8 ],
9 "main": "dist/sourcemap-codec.umd.js",
10 "module": "dist/sourcemap-codec.mjs",
11 "types": "dist/types/sourcemap-codec.d.ts",
12 "files": [
13 "dist"
14 ],
15 "exports": {
16 ".": [
17 {
18 "types": "./dist/types/sourcemap-codec.d.ts",
19 "browser": "./dist/sourcemap-codec.umd.js",
20 "require": "./dist/sourcemap-codec.umd.js",
21 "import": "./dist/sourcemap-codec.mjs"
22 },
23 "./dist/sourcemap-codec.umd.js"
24 ],
25 "./package.json": "./package.json"
26 },
27 "scripts": {
28 "benchmark": "run-s build:rollup benchmark:*",
29 "benchmark:install": "cd benchmark && npm install",
30 "benchmark:only": "node --expose-gc benchmark/index.js",
31 "build": "run-s -n build:*",
32 "build:rollup": "rollup -c rollup.config.js",
33 "build:ts": "tsc --project tsconfig.build.json",
34 "lint": "run-s -n lint:*",
35 "lint:prettier": "npm run test:lint:prettier -- --write",
36 "lint:ts": "npm run test:lint:ts -- --fix",
37 "prebuild": "rm -rf dist",
38 "prepublishOnly": "npm run preversion",
39 "preversion": "run-s test build",
40 "pretest": "run-s build:rollup",
41 "test": "run-s -n test:lint test:only",
42 "test:debug": "mocha --inspect-brk",
43 "test:lint": "run-s -n test:lint:*",
44 "test:lint:prettier": "prettier --check '{src,test}/**/*.ts'",
45 "test:lint:ts": "eslint '{src,test}/**/*.ts'",
46 "test:only": "mocha",
47 "test:coverage": "c8 mocha",
48 "test:watch": "mocha --watch"
49 },
50 "repository": {
51 "type": "git",
52 "url": "git+https://github.com/jridgewell/sourcemap-codec.git"
53 },
54 "author": "Rich Harris",
55 "license": "MIT",
56 "devDependencies": {
57 "@rollup/plugin-typescript": "8.3.0",
58 "@types/node": "17.0.15",
59 "@typescript-eslint/eslint-plugin": "5.10.0",
60 "@typescript-eslint/parser": "5.10.0",
61 "benchmark": "2.1.4",
62 "c8": "7.11.2",
63 "eslint": "8.7.0",
64 "eslint-config-prettier": "8.3.0",
65 "mocha": "9.2.0",
66 "npm-run-all": "4.1.5",
67 "prettier": "2.5.1",
68 "rollup": "2.64.0",
69 "source-map": "0.6.1",
70 "source-map-js": "1.0.2",
71 "sourcemap-codec": "1.4.8",
72 "typescript": "4.5.4"
73 }
74}