module-id
Version:
Parses commonjs module id into name, version and path.
62 lines (61 loc) • 1.47 kB
JSON
{
"name": "module-id",
"version": "2.0.6",
"description": "Parses commonjs module id into name, version and path.",
"main": "lib",
"scripts": {
"test": "NODE_DEBUG=module-id nyc ava --timeout=10s --verbose",
"test:dev": "NODE_DEBUG=module-id nyc ava --timeout=10s --verbose && npm run report:dev",
"lint": "eslint .",
"fix": "eslint . --fix",
"posttest": "npm run report",
"build": "babel src --out-dir lib",
"prepublishOnly": "npm run build",
"report": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"report:dev": "nyc report --reporter=html && npm run report:open",
"report:open": "open coverage/index.html"
},
"files": [
"lib",
"src"
],
"repository": {
"type": "git",
"url": "git://github.com/kaelzhang/node-module-id.git"
},
"keywords": [
"commonjs",
"neuron",
"module",
"package",
"id",
"parser",
"name",
"version",
"path"
],
"engines": {
"node": ">= 6"
},
"ava": {
"babel": false,
"files": [
"test/*.test.js"
]
},
"author": "kaelzhang",
"license": "MIT",
"bugs": {
"url": "https://github.com/kaelzhang/node-module-id/issues"
},
"devDependencies": {
"@ostai/eslint-config": "^3.1.0",
"@babel/cli": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"ava": "^1.4.1",
"codecov": "^3.4.0",
"eslint": "^5.16.0",
"eslint-plugin-import": "^2.17.2",
"nyc": "^14.1.1"
}
}