{
  "author": "GitHub Inc.",
  "files": {{{ json distPaths }}},
  "type": {{#if esm}}"module"{{else}}{{{ del }}}{{/if}},
  "scripts": {
    {{#if eslint}}
    "eslint": "eslint \"**/*.{{{ extGlob lintExtensions }}}\"",
    "lint": "{{ localNpmPath }} run eslint {{~#if prettier}} && {{ localNpmPath }} run prettier -- --check{{/if}}",
    "lintfix": "{{ localNpmPath }} run eslint -- --fix {{~#if prettier}} && {{ localNpmPath }} run prettier -- --write{{/if}}",
    {{#if prettier}}
    "prettier": "prettier \"**/*.{{{ extGlob formatExtensions }}}\"",
    {{/if}}
    {{else}}
    "eslint": {{{ del }}},
    "lint": "echo linting disabled",
    "lintfix": {{{ del }}},
    {{/if}}
    "postlint": "template-oss-check",
    "template-oss-apply": "template-oss-apply --force",
    {{#if isNodeTest}}
    "snap": "node --test --test-update-snapshots './test/**/*.js'",
    "test": "node --test './test/**/*.js'",
    "test:node20": "node --test test",
    "test:cover": "node --test --experimental-test-coverage --test-timeout=3000{{#if coverageThreshold}} --test-coverage-lines={{coverageThreshold}} --test-coverage-functions={{coverageThreshold}} --test-coverage-branches={{coverageThreshold}}{{/if}} './test/**/*.js'",
    {{else}}
    "snap": "{{#if typescript}}{{#if tap16}}c8 {{/if}}{{/if}}tap",
    "test": "{{#if typescript}}{{#if tap16}}c8 {{/if}}{{/if}}tap",
    "test:cover": {{{ del }}},
    "test:nocover": {{{ del }}},
    {{/if}}
    "posttest": "{{ localNpmPath }} run lint",
    {{#if isRootMono}}
    "test-all": "{{ localNpmPath }} run test {{ allFlags }}",
    "lint-all": "{{ localNpmPath }} run lint {{ allFlags }}",
    {{/if}}
    {{#if typescript}}
    "prepare": "tshy",
    {{/if}}
    "template-copy": {{{ del }}},
    "lint:fix": {{{ del }}},
    "preversion": {{{ del }}},
    "postversion": {{{ del }}},
    "prepublishOnly": {{{ del }}},
    "postpublish": {{{ del }}}
  },
  "repository": {{#if repository}}{{{ json repository }}}{{else}}{{{ del }}}{{/if}},
  {{{ json __CONFIG_KEY__ }}}: {
    "version": {{#if isDogFood}}{{{ del }}}{{else}}{{{ json __VERSION__ }}}{{/if}}
  },
  "templateVersion": {{{ del }}},
  "standard": {{{ del }}},
  {{#if isNodeTest}}
  "nyc": {{{ del }}},
  "tap": {{{ del }}}
  {{else}}
  "nyc": {{#if tap18}}{
    "exclude": {{{ json workspaceGlobs }}}
  }{{else}}{{{ del }}}{{/if}},
  "tap": {
    {{#if tap18}}
    {{#if workspaceGlobs}}
    "exclude": {{{ json workspaceGlobs }}},
    {{/if}}
    "test-ignore": {{{ del }}},
    {{else}}
    "exclude": {{{ del }}},
    {{#if workspacePaths}}
      "exclude": {{#if tap18}}[
        "{{ json workspaceGlobs }}"
        ]{{else }}{{{ del }}}{{/if}},
      "test-ignore": {{#if tap18}}{{{ del }}}{{else}}"^({{ join workspacePaths "|" }})/"{{/if}},
    {{/if}}
    {{/if}}
    {{#if typescript}}
    {{#if tap16}}
    "coverage": false,
    "node-arg": [
      "--no-warnings",
      "--loader",
      "ts-node/esm"
    ],
    {{/if}}
    {{/if}}
    "show-full-coverage": {{#if tap18}}true{{else}}{{{ del }}}{{/if}},
    "nyc-arg": {{#if tap18}}{{{ del }}}{{else}}[
      {{#each workspaceGlobs}}
      "--exclude",
      "{{ . }}",
      {{/each}}
      "--exclude",
      "tap-snapshots/**"
    ]{{/if}}
  }
  {{/if}}
}
