1 | {
|
2 | "name": "source-map-explorer",
|
3 | "version": "2.5.2",
|
4 | "description": "Analyze and debug space usage through source maps",
|
5 | "main": "lib/index.js",
|
6 | "bin": {
|
7 | "source-map-explorer": "bin/cli.js",
|
8 | "sme": "bin/cli.js"
|
9 | },
|
10 | "engines": {
|
11 | "node": ">=10"
|
12 | },
|
13 | "scripts": {
|
14 | "build": "npm-run-all build:*",
|
15 | "watch": "chokidar src/**/*.* -c \"npm run build\" --silent --initial --debounce=700",
|
16 | "test:unit": "mocha --config tests/.mocharc.unit.js",
|
17 | "test:e2e": "mocha --config tests/.mocharc.e2e.js",
|
18 | "test:perf": "mocha --config tests/.mocharc.perf.js",
|
19 | "test": "npm-run-all test:unit test:e2e test:perf",
|
20 | "coverage": "nyc --reporter=lcov --reporter=text npm run test:unit",
|
21 | "test:update-snapshots": "cross-env SNAPSHOT_UPDATE=1 npm run test",
|
22 | "test:generate-data": "ts-node --dir tests generate-data/index.ts",
|
23 | "build:clean": "rimraf lib/**/* bin/**/*",
|
24 | "build:compile": "tsc --build",
|
25 | "build:copy": "copyfiles -u 2 src/lib/vendor/*.* src/lib/tree-viz.ejs src/lib/types.d.ts lib",
|
26 | "build:format": "prettier lib/*.js bin/*.js --write",
|
27 | "pretest:e2e": "npm run build",
|
28 | "coverage:ci": "nyc npm run test:unit && nyc report --reporter=text-lcov | coveralls",
|
29 | "lint": "eslint src/**/*.* tests/**/*.* --fix",
|
30 | "update-dependencies": "npx npm-check-updates -u && npm i",
|
31 | "prepublishOnly": "npm run build"
|
32 | },
|
33 | "lint-staged": {
|
34 | "*.{js,ts}": [
|
35 | "eslint --fix",
|
36 | "git add"
|
37 | ]
|
38 | },
|
39 | "husky": {
|
40 | "hooks": {
|
41 | "pre-commit": "npm run test && lint-staged"
|
42 | }
|
43 | },
|
44 | "snap-shot-it": {
|
45 | "useRelativePath": true,
|
46 | "extension": ".snap"
|
47 | },
|
48 | "repository": {
|
49 | "type": "git",
|
50 | "url": "git+https://github.com/danvk/source-map-explorer.git"
|
51 | },
|
52 | "keywords": [
|
53 | "source-map",
|
54 | "browser",
|
55 | "minification"
|
56 | ],
|
57 | "author": "Dan Vanderkam (danvdk@gmail.com)",
|
58 | "maintainers": [
|
59 | "Nikolay Borzov <nikolay.n.borzov@gmail.com>"
|
60 | ],
|
61 | "license": "Apache-2.0",
|
62 | "bugs": {
|
63 | "url": "https://github.com/danvk/source-map-explorer/issues"
|
64 | },
|
65 | "homepage": "https://github.com/danvk/source-map-explorer#readme",
|
66 | "files": [
|
67 | "bin",
|
68 | "lib",
|
69 | "!*.tsbuildinfo"
|
70 | ],
|
71 | "dependencies": {
|
72 | "btoa": "^1.2.1",
|
73 | "chalk": "^4.1.0",
|
74 | "convert-source-map": "^1.7.0",
|
75 | "ejs": "^3.1.5",
|
76 | "escape-html": "^1.0.3",
|
77 | "glob": "^7.1.6",
|
78 | "gzip-size": "^6.0.0",
|
79 | "lodash": "^4.17.20",
|
80 | "open": "^7.3.1",
|
81 | "source-map": "^0.7.3",
|
82 | "temp": "^0.9.4",
|
83 | "yargs": "^16.2.0"
|
84 | },
|
85 | "devDependencies": {
|
86 | "@babel/core": "^7.12.10",
|
87 | "@babel/preset-env": "^7.12.11",
|
88 | "@istanbuljs/nyc-config-typescript": "^1.0.1",
|
89 | "@smpx/snap-shot-it": "^6.6.1",
|
90 | "@types/browserify": "^12.0.36",
|
91 | "@types/btoa": "^1.2.3",
|
92 | "@types/chai": "^4.2.14",
|
93 | "@types/chai-as-promised": "^7.1.3",
|
94 | "@types/concat-stream": "^1.6.0",
|
95 | "@types/convert-source-map": "^1.5.1",
|
96 | "@types/cross-spawn": "^6.0.2",
|
97 | "@types/ejs": "^3.0.5",
|
98 | "@types/escape-html": "1.0.0",
|
99 | "@types/glob": "^7.1.3",
|
100 | "@types/lodash": "^4.14.167",
|
101 | "@types/mocha": "^8.2.0",
|
102 | "@types/node": "^14.x",
|
103 | "@types/rimraf": "^3.0.0",
|
104 | "@types/temp": "^0.8.34",
|
105 | "@types/yargs": "^15.0.12",
|
106 | "@typescript-eslint/eslint-plugin": "^4.12.0",
|
107 | "@typescript-eslint/parser": "^4.12.0",
|
108 | "babelify": "^10.0.0",
|
109 | "browserify": "^17.0.0",
|
110 | "chai": "^4.2.0",
|
111 | "chai-as-promised": "^7.1.1",
|
112 | "chokidar-cli": "^2.1.0",
|
113 | "concat-stream": "^2.0.0",
|
114 | "copyfiles": "^2.4.1",
|
115 | "coveralls": "^3.1.0",
|
116 | "cross-env": "^7.0.3",
|
117 | "cross-spawn": "^7.0.3",
|
118 | "eslint": "^7.17.0",
|
119 | "eslint-config-prettier": "^7.1.0",
|
120 | "eslint-plugin-prettier": "^3.3.1",
|
121 | "generate-source-map": "0.0.5",
|
122 | "husky": "^4.3.7",
|
123 | "lint-staged": "^10.5.3",
|
124 | "mocha": "^8.2.1",
|
125 | "npm-run-all": "^4.1.5",
|
126 | "nyc": "^15.1.0",
|
127 | "prettier": "^2.2.1",
|
128 | "rewiremock": "^3.14.3",
|
129 | "rimraf": "^3.0.2",
|
130 | "source-map-support": "^0.5.19",
|
131 | "terser": "^5.5.1",
|
132 | "terser-webpack-plugin": "^5.0.3",
|
133 | "ts-node": "^9.1.1",
|
134 | "typescript": "^4.1.3",
|
135 | "webpack": "^5.12.0"
|
136 | }
|
137 | }
|