comment-value
Version:
Instruments a Node program and updates its comments with computed expression values
150 lines • 5.33 kB
JSON
{
"name": "comment-value",
"description": "Instruments a Node program and updates its comments with computed expression values",
"version": "1.24.0",
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",
"bugs": "https://github.com/bahmutov/comment-value/issues",
"config": {
"pre-git": {
"commit-msg": "simple",
"pre-commit": [
"npm prune",
"npm run deps",
"npm test",
"npm run test-variable",
"npm run hook",
"npm run test-console",
"npm run test-nested",
"npm run test-symbols",
"npm run test-array",
"npm run test-chain",
"npm run test-compose",
"npm run test-comma",
"npm run test-property",
"npm run ban"
],
"pre-push": [
"npm run secure",
"npm run license",
"npm run ban -- --all",
"npm run size"
],
"post-commit": [],
"post-merge": []
}
},
"engines": {
"node": ">=6"
},
"files": [
"src/*.js",
"!src/*-spec.js",
"bin",
"images/*.png"
],
"homepage": "https://github.com/bahmutov/comment-value#readme",
"keywords": [
"comment",
"comments",
"cover",
"coverage",
"data",
"demo",
"demos",
"instrument",
"value"
],
"license": "MIT",
"main": "src/",
"bin": {
"cv": "bin/comment-value.sh",
"comment-value": "bin/comment-value.sh",
"values": "bin/comment-value.js",
"comment": "bin/comment-value.js",
"comments": "bin/comment-value.js"
},
"publishConfig": {
"registry": "http://registry.npmjs.org/"
},
"preferGlobal": true,
"repository": {
"type": "git",
"url": "https://github.com/bahmutov/comment-value.git"
},
"scripts": {
"ban": "ban",
"deps": "deps-ok",
"issues": "git-issues",
"license": "license-checker --production --onlyunknown --csv",
"lint": "standard --verbose --fix src/*.js test/property/*.js",
"pretest": "npm run lint",
"secure": "nsp check",
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";",
"unit": "mocha src/*-spec.js test/spec.js test/**/spec.js",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"test": "DEBUG=comment-value instrumented=1 npm run instrument && npm start && cat results.json && npm run update",
"posttest": "npm run unit",
"instrument": "instrumented=1 node src/instrument.js test/example.js",
"update": "node src/update.js test/example.js",
"start": "node instrumented.js",
"hook": "node -r ./src/index.js test/example.js",
"test-nested": "DEBUG=comment-value instrumented=1 node -r ./src/index.js test/nested/index.js",
"deploy": "gh-pages -d images",
"test-symbols": "DEBUG=comment-value instrumented=1 node -r . test/symbols/index.js",
"posttest-symbols": "diff test/symbols/index.js test/symbols/expected.js",
"test-types": "DEBUG=comment-value instrumented=1 node -r . test/types/index.js",
"posttest-types": "diff test/types/index.js test/types/expected.js",
"test-types2": "DEBUG=comment-value instrumented=1 node -r . test/types2/index.js",
"posttest-types2": "diff test/types2/index.js test/types2/expected.js",
"test-array": "DEBUG=comment-value instrumented=1 node -r . test/array/index.js",
"posttest-array": "diff test/array/index.js test/array/expected.js",
"test-chain": "DEBUG=comment-value instrumented=1 node -r . test/lodash-chain/index.js",
"posttest-chain": "diff test/lodash-chain/index.js test/lodash-chain/expected.js",
"test-compose": "DEBUG=comment-value instrumented=1 node -r . test/compose/index.js",
"posttest-compose": "diff test/compose/index.js test/compose/expected.js",
"test-console": "DEBUG=comment-value instrumented=1 node -r . test/console-log/index.js",
"posttest-console": "diff test/console-log/index.js test/console-log/expected.js",
"e2e": ".git/hooks/pre-commit",
"test-comma": "DEBUG=comment-value instrumented=1 node -r . test/comma/index.js",
"posttest-comma": "diff test/comma/index.js test/comma/expected.js",
"test-property": "DEBUG=comment-value instrumented=1 node -r . test/property/index.js",
"posttest-property": "diff test/property/index.js test/property/expected.js",
"test-variable": "DEBUG=comment-value instrumented=1 node -r . test/variable/index.js",
"posttest-variable": "diff test/variable/index.js test/variable/expected.js"
},
"devDependencies": {
"ban-sensitive-files": "1.9.0",
"dependency-check": "2.7.0",
"deps-ok": "1.2.0",
"dont-crack": "1.1.0",
"gh-pages": "0.12.0",
"git-issues": "1.3.1",
"license-checker": "8.0.3",
"mocha": "3.2.0",
"nsp": "2.6.2",
"pre-git": "3.12.0",
"semantic-release": "^6.3.2",
"standard": "8.6.0"
},
"dependencies": {
"check-more-types": "2.23.0",
"chokidar": "1.6.0",
"commander": "2.9.0",
"cross-spawn": "5.0.1",
"debug": "2.6.0",
"falafel": "2.0.0",
"first-existing": "1.2.0",
"js-beautify": "1.6.4",
"lazy-ass": "1.5.0",
"node-hook": "0.4.0",
"ramda": "0.23.0"
},
"release": {
"verifyRelease": {
"path": "dont-crack",
"test-against": [
"https://github.com/bahmutov/comment-value-test"
]
}
}
}