diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-08-30 17:21:18 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-08-30 17:21:18 +0800 |
| commit | efbc2ffe6a1ee5ec38a4396305561d6515d0943e (patch) | |
| tree | 2b4c94f18f2c792dfda813050755d5c0273fae22 /node_modules/source-map/package.json | |
| parent | 43acceb75957c880a5ba5a31aae221394a36d5f6 (diff) | |
node fixes, 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" } |
