summaryrefslogtreecommitdiff
path: root/node_modules/source-map/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/source-map/package.json')
-rw-r--r--node_modules/source-map/package.json37
1 files changed, 28 insertions, 9 deletions
diff --git a/node_modules/source-map/package.json b/node_modules/source-map/package.json
index 048e3ae8..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.5.7",
+ "version": "0.7.4",
"homepage": "https://github.com/mozilla/source-map",
"author": "Nick Fitzgerald <nfitzgerald@mozilla.com>",
"contributors": [
@@ -47,26 +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"
}