diff options
author | Luke Karrys <luke@lukekarrys.com> | 2022-09-20 00:13:49 +0300 |
---|---|---|
committer | Luke Karrys <luke@lukekarrys.com> | 2022-09-20 02:39:21 +0300 |
commit | d3ff2aa9b57d7448c5770ba307118ce4c3b6a888 (patch) | |
tree | ba8683405a9078746eb8076c0752093802765558 /package.json | |
parent | 83f8942df9440bdcfe6c99ca0c294de6ffb5fc72 (diff) |
chore: apply template-oss changes
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/package.json b/package.json index f5441bea2..a9e872d72 100644 --- a/package.json +++ b/package.json @@ -8,11 +8,11 @@ "workspaces/*" ], "files": [ + "bin/", + "lib/", "index.js", - "bin", "docs/content/**/*.md", "docs/output/**/*.html", - "lib", "man" ], "keywords": [ @@ -26,10 +26,10 @@ "publishtest": false }, "homepage": "https://docs.npmjs.com/", - "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)", + "author": "GitHub Inc.", "repository": { "type": "git", - "url": "https://github.com/npm/cli" + "url": "https://github.com/npm/cli.git" }, "bugs": { "url": "https://github.com/npm/cli/issues" @@ -221,16 +221,16 @@ "authors": "bash scripts/update-authors.sh", "licenses": "licensee --production --errors-only", "test": "tap", - "test-all": "npm run test --if-present --workspaces --include-workspace-root", + "test-all": "node . run test -ws -iwr --if-present", "snap": "tap", "postsnap": "make -s docs", "test:nocleanup": "NO_TEST_CLEANUP=1 node . run test --", - "sudotest": "sudo node . run test --", + "sudotest": "sudo node . run run test --", "sudotest:nocleanup": "sudo NO_TEST_CLEANUP=1 node . run test --", - "posttest": "npm run lint", + "posttest": "node . run lint", "lint": "eslint \"**/*.js\"", - "lintfix": "npm run lint -- --fix", - "lint-all": "npm run lint --if-present --workspaces --include-workspace-root", + "lintfix": "node . run lint -- --fix", + "lint-all": "node . run lint -ws -iwr --if-present", "prelint": "rimraf test/npm_cache*", "resetdeps": "bash scripts/resetdeps.sh", "rp-pull-request": "node . run authors && node scripts/release-manager.js", @@ -246,12 +246,18 @@ "timeout": 600, "nyc-arg": [ "--exclude", + "docs/**", + "--exclude", + "smoke-tests/**", + "--exclude", "workspaces/**", "--exclude", "tap-snapshots/**" - ] + ], + "test-ignore": "^(docs|smoke-tests|workspaces)/**" }, "templateOSS": { + "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", "version": "4.3.2", "content": "./scripts/template-oss/root.js" }, |