2013-12-18 05:07:58 +08:00
|
|
|
{
|
|
|
|
"name": "nvm",
|
2023-08-22 12:10:10 +08:00
|
|
|
"version": "0.39.5",
|
2013-12-18 05:07:58 +08:00
|
|
|
"description": "Node Version Manager - Simple bash script to manage multiple active node.js versions",
|
|
|
|
"directories": {
|
|
|
|
"test": "test"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2014-10-03 13:29:04 +08:00
|
|
|
"test": "shell=$(basename -- $(ps -o comm= $(ps -o ppid= -p $PPID)) | sed 's/^-//'); make test-$shell",
|
2020-11-04 08:05:34 +08:00
|
|
|
"test/fast": "shell=$(basename -- $(ps -o comm= $(ps -o ppid= -p $PPID)) | sed 's/^-//'); env -i TERM=\"$TERM\" bash -lc \"make TEST_SUITE=fast test-$shell\"",
|
2014-10-03 13:29:04 +08:00
|
|
|
"test/slow": "shell=$(basename -- $(ps -o comm= $(ps -o ppid= -p $PPID)) | sed 's/^-//'); make TEST_SUITE=slow test-$shell",
|
|
|
|
"test/install_script": "shell=$(basename -- $(ps -o comm= $(ps -o ppid= -p $PPID)) | sed 's/^-//'); make TEST_SUITE=install_script test-$shell",
|
2016-05-09 13:21:33 +08:00
|
|
|
"test/installation": "npm run --silent test/installation/node && npm run --silent test/installation/iojs",
|
|
|
|
"test/installation/node": "shell=$(basename -- $(ps -o comm= $(ps -o ppid= -p $PPID)) | sed 's/^-//'); make TEST_SUITE=installation_node test-$shell",
|
|
|
|
"test/installation/iojs": "shell=$(basename -- $(ps -o comm= $(ps -o ppid= -p $PPID)) | sed 's/^-//'); make TEST_SUITE=installation_iojs test-$shell",
|
2017-02-27 01:35:34 +08:00
|
|
|
"test/sourcing": "shell=$(basename -- $(ps -o comm= $(ps -o ppid= -p $PPID)) | sed 's/^-//'); make TEST_SUITE=sourcing test-$shell",
|
2018-02-26 02:29:38 +08:00
|
|
|
"doctoc": "doctoc --title='## Table of Contents' --github README.md",
|
2021-03-17 23:11:37 +08:00
|
|
|
"predoctoc:check": "cp README.md v-README.md.orig && npm run doctoc",
|
|
|
|
"doctoc:check": "diff -q README.md v-README.md.orig",
|
|
|
|
"postdoctoc:check": "mv v-README.md.orig README.md",
|
2018-07-12 12:14:06 +08:00
|
|
|
"eclint": "eclint check $(git ls-tree --name-only HEAD | xargs)",
|
2017-11-05 04:06:36 +08:00
|
|
|
"dockerfile_lint": "dockerfile_lint",
|
|
|
|
"markdown-link-check": "git ls-files | command grep -E '\\.md$' | xargs -n 1 markdown-link-check -p"
|
2013-12-18 05:07:58 +08:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2019-04-25 07:08:34 +08:00
|
|
|
"url": "git://github.com/nvm-sh/nvm.git"
|
2013-12-18 05:07:58 +08:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"nvm",
|
|
|
|
"node",
|
2015-12-21 17:43:29 +08:00
|
|
|
"iojs",
|
2013-12-18 05:07:58 +08:00
|
|
|
"version",
|
|
|
|
"manager"
|
|
|
|
],
|
|
|
|
"author": "Tim Caswell <tim@creationix.com>",
|
|
|
|
"license": "MIT",
|
|
|
|
"bugs": {
|
2019-04-25 07:08:34 +08:00
|
|
|
"url": "https://github.com/nvm-sh/nvm/issues"
|
2013-12-18 05:07:58 +08:00
|
|
|
},
|
2019-04-25 07:08:34 +08:00
|
|
|
"homepage": "https://github.com/nvm-sh/nvm",
|
2013-12-18 05:07:58 +08:00
|
|
|
"devDependencies": {
|
2021-03-30 03:49:02 +08:00
|
|
|
"dockerfile_lint": "^0.3.4",
|
2022-10-27 01:13:39 +08:00
|
|
|
"doctoc": "^2.2.1",
|
2021-03-30 03:49:02 +08:00
|
|
|
"eclint": "^2.8.1",
|
2023-07-25 09:24:39 +08:00
|
|
|
"markdown-link-check": "^3.11.2",
|
2022-10-27 01:13:39 +08:00
|
|
|
"replace": "^1.2.2",
|
2023-07-25 09:24:39 +08:00
|
|
|
"semver": "^7.5.4",
|
2020-10-23 11:40:04 +08:00
|
|
|
"urchin": "^0.0.5"
|
2013-12-18 05:07:58 +08:00
|
|
|
}
|
|
|
|
}
|