diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-10-14 20:57:16 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-10-14 20:57:16 +0800 |
| commit | 924a88fab5466307aba0b76d36b30ab06b11dcb5 (patch) | |
| tree | 088b6e0beeef92d55e2b2ca523af3501b27a2830 /node_modules/source-map/package.json | |
| parent | a240fe4a4810b7f0c678a8519832fa37afaad265 (diff) | |
updates
Diffstat (limited to 'node_modules/source-map/package.json')
| -rw-r--r-- | node_modules/source-map/package.json | 36 |
1 files changed, 27 insertions, 9 deletions
diff --git a/node_modules/source-map/package.json b/node_modules/source-map/package.json index 24663417..1d67accb 100644 --- a/node_modules/source-map/package.json +++ b/node_modules/source-map/package.json @@ -1,7 +1,7 @@ { "name": "source-map", "description": "Generates and consumes source maps", - "version": "0.6.1", + "version": "0.7.4", "homepage": "https://github.com/mozilla/source-map", "author": "Nick Fitzgerald <nfitzgerald@mozilla.com>", "contributors": [ @@ -47,27 +47,45 @@ "url": "http://github.com/mozilla/source-map.git" }, "main": "./source-map.js", + "types": "./source-map.d.ts", "files": [ "source-map.js", "source-map.d.ts", "lib/", - "dist/source-map.debug.js", - "dist/source-map.js", - "dist/source-map.min.js", - "dist/source-map.min.js.map" + "dist/source-map.js" ], "engines": { - "node": ">=0.10.0" + "node": ">= 8" }, "license": "BSD-3-Clause", "scripts": { - "test": "npm run build && node test/run-tests.js", + "lint": "eslint *.js lib/ test/", + "prebuild": "npm run lint", "build": "webpack --color", + "pretest": "npm run build", + "test": "node test/run-tests.js", + "precoverage": "npm run build", + "coverage": "nyc node test/run-tests.js", + "setup": "mkdir -p coverage && cp -n .waiting.html coverage/index.html || true", + "dev:live": "live-server --port=4103 --ignorePattern='(js|css|png)$' coverage", + "dev:watch": "watch 'npm run coverage' lib/ test/", + "predev": "npm run setup", + "dev": "npm-run-all -p --silent dev:*", + "clean": "rm -rf coverage .nyc_output", "toc": "doctoc --title '## Table of Contents' README.md && doctoc --title '## Table of Contents' CONTRIBUTING.md" }, "devDependencies": { - "doctoc": "^0.15.0", - "webpack": "^1.12.0" + "doctoc": "^1.3.1", + "eslint": "^4.19.1", + "live-server": "^1.2.0", + "npm-run-all": "^4.1.2", + "nyc": "^11.7.1", + "watch": "^1.0.2", + "webpack": "^4.9.1", + "webpack-cli": "^3.1" + }, + "nyc": { + "reporter": "html" }, "typings": "source-map" } |
