summaryrefslogtreecommitdiff
path: root/tools/node-lint-md-cli-rollup/package.json
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-12-03 11:58:59 -0800
committerRich Trott <rtrott@gmail.com>2018-12-05 14:02:17 -0800
commit630fed8f072b3a54e81b186155b883580d1a0c3e (patch)
treec724aa21df9e8b9a62fa9dc70d7e3cb8381586a0 /tools/node-lint-md-cli-rollup/package.json
parent76afdffdf4aed0ce944867d32545505d25b77118 (diff)
downloadandroid-node-v8-630fed8f072b3a54e81b186155b883580d1a0c3e.tar.gz
android-node-v8-630fed8f072b3a54e81b186155b883580d1a0c3e.tar.bz2
android-node-v8-630fed8f072b3a54e81b186155b883580d1a0c3e.zip
tools: replace rollup with ncc
Replace rollup + plugins + config file with zeit/ncc package designed to do the particular task that we're leveraging rollup for but with zero-ish configuration. (rollup can do a whole lot more, but we're using a tiny portion of its functionality.) PR-URL: https://github.com/nodejs/node/pull/24813 Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'tools/node-lint-md-cli-rollup/package.json')
-rw-r--r--tools/node-lint-md-cli-rollup/package.json10
1 files changed, 4 insertions, 6 deletions
diff --git a/tools/node-lint-md-cli-rollup/package.json b/tools/node-lint-md-cli-rollup/package.json
index 2efdb6404b..2dc99a64f2 100644
--- a/tools/node-lint-md-cli-rollup/package.json
+++ b/tools/node-lint-md-cli-rollup/package.json
@@ -3,10 +3,7 @@
"description": "remark packaged for node markdown linting",
"version": "1.0.0",
"devDependencies": {
- "rollup": "^0.55.5",
- "rollup-plugin-commonjs": "^8.0.2",
- "rollup-plugin-json": "^2.3.1",
- "rollup-plugin-node-resolve": "^3.4.0"
+ "@zeit/ncc": "^0.2.0"
},
"dependencies": {
"markdown-extensions": "^1.1.0",
@@ -16,8 +13,9 @@
"unified-args": "^6.0.0",
"unified-engine": "^5.1.0"
},
+ "main": "src/cli-entry.js",
"scripts": {
- "build": "rollup -c",
- "build-node": "npm run build && cp dist/* .."
+ "build": "ncc build",
+ "build-node": "npm run build && cp dist/index.js ../lint-md.js"
}
}