<h1 dir="auto">What / Why</h1>

<p dir="auto">For better or for worse the content within package.json has been growing with greater and greater complexity. In the nascent days of npm, the file was simply just some metadata on the dependencies that a project/package depended on. Projects grew in complexity and now testing, frameworks, other libraries are all dependencies that would appear sitting together. There was some separation with <code class="notranslate">dependencies</code> and <code class="notranslate">devDependencies</code>, but that is a rough categorization. We have tools now contributing and taking residence within the package.json with greater complexity... monorepo configurations, lint configurations, commit configurations, git hooks, nodemon, jest, the list goes on...</p>
<p dir="auto">Comments offer a way to explain all the complexity.</p>
<p dir="auto">I still think that library maintainers should still be using pure JSON for backwards compatibility, but at least offering this moving forward will allow project creators (the vast majority of users) the ability to document their package.json. Granted, json allows for duplicate keys to serve as comments, but this feels too much like a hack.</p>
<h2 dir="auto">How</h2>
<h3 dir="auto">Current Behavior</h3>
<p dir="auto">A redacted and contrived example:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  &quot;name&quot;: &quot;my-project&quot;,
  &quot;version&quot;: &quot;0.0.1&quot;,
  &quot;license&quot;: &quot;MIT&quot;,
  &quot;scripts&quot;: {
    &quot;build&quot;: &quot;a bunch of scripts&quot;,
    &quot;ci&quot;: &quot;a bunch of scripts&quot;,
    &quot;ci:local&quot;: &quot;a bunch of scripts&quot;,
    &quot;docsite&quot;: &quot;a bunch of scripts&quot;,
    &quot;docsite:combiner&quot;: &quot;a bunch of scripts&quot;,
    &quot;docsite:sassdoc&quot;: &quot;a bunch of scripts&quot;,
    &quot;docsite:tsdoc&quot;: &quot;a bunch of scripts&quot;,
    &quot;e2e&quot;: &quot;a bunch of scripts&quot;,
    &quot;html-sketchapp-install&quot;: &quot;a bunch of scripts&quot;,
    &quot;html-sketchapp&quot;: &quot;a bunch of scripts&quot;,
    &quot;lint&quot;: &quot;a bunch of scripts&quot;,
    &quot;sassdoc&quot;: &quot;a bunch of scripts&quot;,
    &quot;sassdoc:comp&quot;: &quot;a bunch of scripts&quot;,
    &quot;sassdoc:core&quot;: &quot;a bunch of scripts&quot;,
    &quot;start&quot;: &quot;a bunch of scripts&quot;,
    &quot;start:hmr&quot;: &quot;a bunch of scripts&quot;,
    &quot;start:qa&quot;: &quot;a bunch of scripts&quot;,
    &quot;start:dev&quot;: &quot;a bunch of scripts&quot;,
    &quot;generate-examples&quot;: &quot;a bunch of scripts&quot;,
    &quot;rebuild-markdown&quot;: &quot;a bunch of scripts&quot;,
    &quot;watch-examples&quot;: &quot;a bunch of scripts&quot;,
    &quot;test:cov&quot;: &quot;a bunch of scripts&quot;,

    &quot;test&quot;: &quot;jest&quot;,
    &quot;test:watch&quot;: &quot;jest --watch&quot;,
    &quot;test:cc&quot;: &quot;jest --coverage&quot;
  },
  &quot;config&quot;: {
    &quot;commitizen&quot;: {
      &quot;path&quot;: &quot;./node_modules/cz-conventional-changelog&quot;
    }
  },
  &quot;dependencies&quot;: {
    &quot;@angular-devkit/build-angular&quot;: &quot;~0.900.1&quot;,
    &quot;@angular-devkit/build-ng-packagr&quot;: &quot;~0.900.1&quot;,
    &quot;@angular-devkit/core&quot;: &quot;~9.0.0&quot;,
    &quot;@angular-devkit/schematics&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/animations&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/cdk&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/cli&quot;: &quot;~9.0.1&quot;,
    &quot;@angular/common&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/compiler&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/compiler-cli&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/core&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/forms&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/language-service&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/platform-browser&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/platform-browser-dynamic&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/router&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/service-worker&quot;: &quot;~9.0.0&quot;,
    &quot;@angularclass/hmr&quot;: &quot;2.1.3&quot;,
    &quot;@ngrx/effects&quot;: &quot;~8.6.0&quot;,
    &quot;@ngrx/entity&quot;: &quot;~8.6.0&quot;,
    &quot;@ngrx/router-store&quot;: &quot;~8.6.0&quot;,
    &quot;@ngrx/schematics&quot;: &quot;~8.6.0&quot;,
    &quot;@ngrx/store&quot;: &quot;~8.6.0&quot;,
    &quot;@ngrx/store-devtools&quot;: &quot;~8.6.0&quot;,
    &quot;@types/jasmine&quot;: &quot;~3.5.0&quot;,
    &quot;@types/jasminewd2&quot;: &quot;~2.0.3&quot;,
    &quot;@types/lodash-es&quot;: &quot;^4.17.3&quot;,
    &quot;@types/node&quot;: &quot;^12.11.1&quot;,
    &quot;classlist.js&quot;: &quot;1.1.20150312&quot;,
    &quot;codelyzer&quot;: &quot;^5.1.2&quot;,
    &quot;console-polyfill&quot;: &quot;0.3.0&quot;,
    &quot;core-js&quot;: &quot;^2.5.4&quot;,
    &quot;cz-conventional-changelog&quot;: &quot;1.2.0&quot;,
    &quot;date-fns&quot;: &quot;1.30.1&quot;,
    &quot;highcharts&quot;: &quot;^7.2.1&quot;,
    &quot;highcharts-angular&quot;: &quot;^2.4.0&quot;,
    &quot;html2canvas&quot;: &quot;^1.0.0-rc.5&quot;,
    &quot;jasmine-core&quot;: &quot;~3.5.0&quot;,
    &quot;jasmine-spec-reporter&quot;: &quot;~4.2.1&quot;,
    &quot;karma&quot;: &quot;~4.3.0&quot;,
    &quot;karma-chrome-launcher&quot;: &quot;~3.1.0&quot;,
    &quot;karma-coverage-istanbul-reporter&quot;: &quot;~2.1.0&quot;,
    &quot;karma-jasmine&quot;: &quot;~2.0.1&quot;,
    &quot;karma-jasmine-html-reporter&quot;: &quot;^1.4.2&quot;,
    &quot;lodash-es&quot;: &quot;^4.17.11&quot;,
    &quot;mime&quot;: &quot;~2.4.2&quot;,
    &quot;ngrx-store-freeze&quot;: &quot;0.2.4&quot;,
    &quot;ngx-monaco-editor&quot;: &quot;~8.0.0&quot;,
    &quot;ngx-quill&quot;: &quot;^7.3.12&quot;,
    &quot;pdfmake&quot;: &quot;^0.1.64&quot;,
    &quot;prettier&quot;: &quot;1.19.1&quot;,
    &quot;protractor&quot;: &quot;~5.4.3&quot;,
    &quot;quill&quot;: &quot;^1.3.7&quot;,
    &quot;rxjs&quot;: &quot;~6.5.4&quot;,
    &quot;rxjs-compat&quot;: &quot;^6.0.0&quot;,
    &quot;standard-changelog&quot;: &quot;1.0.19&quot;,
    &quot;svgxuse&quot;: &quot;1.2.6&quot;,
    &quot;ts-node&quot;: &quot;~8.3.0&quot;,
    &quot;tsickle&quot;: &quot;^0.35.0&quot;,
    &quot;tslib&quot;: &quot;^1.10.0&quot;,
    &quot;tslint&quot;: &quot;~5.18.0&quot;,
    &quot;typescript&quot;: &quot;~3.7.5&quot;,
    &quot;web-animations-js&quot;: &quot;~2.3.1&quot;,
    &quot;zone.js&quot;: &quot;~0.10.2&quot;
  },
  &quot;devDependencies&quot;: {
    &quot;@types/jest&quot;: &quot;^24.0.6&quot;,
    &quot;jest&quot;: &quot;^24.1.0&quot;,
    &quot;jest-preset-angular&quot;: &quot;^6.0.2&quot;,
    &quot;ts-node&quot;: &quot;~7.0.1&quot;,
    &quot;typescript&quot;: &quot;3.2.4&quot;
  },
  &quot;jest&quot;: {
    &quot;preset&quot;: &quot;jest-preset-angular&quot;,
    &quot;setupTestFrameworkScriptFile&quot;: &quot;&lt;rootDir&gt;/setupJest.ts&quot;
  },
  &quot;nodemonConfig&quot;: {
    &quot;ignore&quot;: [
      &quot;**/example-module.ts&quot;
    ],
    &quot;watch&quot;: [
      &quot;./a/bunch/of/stuff&quot;
    ],
    &quot;ext&quot;: &quot;js ts md html&quot;
  },
  &quot;workspaces&quot;: {
    &quot;packages&quot;: [
      &quot;packages/*&quot;
    ],
    &quot;nohoist&quot;: [
      &quot;**&quot;
    ]
  }
}"><pre class="notranslate">{
  <span class="pl-ent">"name"</span>: <span class="pl-s"><span class="pl-pds">"</span>my-project<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"version"</span>: <span class="pl-s"><span class="pl-pds">"</span>0.0.1<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"license"</span>: <span class="pl-s"><span class="pl-pds">"</span>MIT<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"scripts"</span>: {
    <span class="pl-ent">"build"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"ci"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"ci:local"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"docsite"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"docsite:combiner"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"docsite:sassdoc"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"docsite:tsdoc"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"e2e"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"html-sketchapp-install"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"html-sketchapp"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"lint"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"sassdoc"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"sassdoc:comp"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"sassdoc:core"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"start"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"start:hmr"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"start:qa"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"start:dev"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"generate-examples"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"rebuild-markdown"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"watch-examples"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"test:cov"</span>: <span class="pl-s"><span class="pl-pds">"</span>a bunch of scripts<span class="pl-pds">"</span></span>,

    <span class="pl-ent">"test"</span>: <span class="pl-s"><span class="pl-pds">"</span>jest<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"test:watch"</span>: <span class="pl-s"><span class="pl-pds">"</span>jest --watch<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"test:cc"</span>: <span class="pl-s"><span class="pl-pds">"</span>jest --coverage<span class="pl-pds">"</span></span>
  },
  <span class="pl-ent">"config"</span>: {
    <span class="pl-ent">"commitizen"</span>: {
      <span class="pl-ent">"path"</span>: <span class="pl-s"><span class="pl-pds">"</span>./node_modules/cz-conventional-changelog<span class="pl-pds">"</span></span>
    }
  },
  <span class="pl-ent">"dependencies"</span>: {
    <span class="pl-ent">"@angular-devkit/build-angular"</span>: <span class="pl-s"><span class="pl-pds">"</span>~0.900.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@angular-devkit/build-ng-packagr"</span>: <span class="pl-s"><span class="pl-pds">"</span>~0.900.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@angular-devkit/core"</span>: <span class="pl-s"><span class="pl-pds">"</span>~9.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@angular-devkit/schematics"</span>: <span class="pl-s"><span class="pl-pds">"</span>~9.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@angular/animations"</span>: <span class="pl-s"><span class="pl-pds">"</span>~9.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@angular/cdk"</span>: <span class="pl-s"><span class="pl-pds">"</span>~9.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@angular/cli"</span>: <span class="pl-s"><span class="pl-pds">"</span>~9.0.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@angular/common"</span>: <span class="pl-s"><span class="pl-pds">"</span>~9.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@angular/compiler"</span>: <span class="pl-s"><span class="pl-pds">"</span>~9.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@angular/compiler-cli"</span>: <span class="pl-s"><span class="pl-pds">"</span>~9.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@angular/core"</span>: <span class="pl-s"><span class="pl-pds">"</span>~9.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@angular/forms"</span>: <span class="pl-s"><span class="pl-pds">"</span>~9.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@angular/language-service"</span>: <span class="pl-s"><span class="pl-pds">"</span>~9.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@angular/platform-browser"</span>: <span class="pl-s"><span class="pl-pds">"</span>~9.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@angular/platform-browser-dynamic"</span>: <span class="pl-s"><span class="pl-pds">"</span>~9.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@angular/router"</span>: <span class="pl-s"><span class="pl-pds">"</span>~9.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@angular/service-worker"</span>: <span class="pl-s"><span class="pl-pds">"</span>~9.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@angularclass/hmr"</span>: <span class="pl-s"><span class="pl-pds">"</span>2.1.3<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@ngrx/effects"</span>: <span class="pl-s"><span class="pl-pds">"</span>~8.6.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@ngrx/entity"</span>: <span class="pl-s"><span class="pl-pds">"</span>~8.6.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@ngrx/router-store"</span>: <span class="pl-s"><span class="pl-pds">"</span>~8.6.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@ngrx/schematics"</span>: <span class="pl-s"><span class="pl-pds">"</span>~8.6.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@ngrx/store"</span>: <span class="pl-s"><span class="pl-pds">"</span>~8.6.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@ngrx/store-devtools"</span>: <span class="pl-s"><span class="pl-pds">"</span>~8.6.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@types/jasmine"</span>: <span class="pl-s"><span class="pl-pds">"</span>~3.5.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@types/jasminewd2"</span>: <span class="pl-s"><span class="pl-pds">"</span>~2.0.3<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@types/lodash-es"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.17.3<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"@types/node"</span>: <span class="pl-s"><span class="pl-pds">"</span>^12.11.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"classlist.js"</span>: <span class="pl-s"><span class="pl-pds">"</span>1.1.20150312<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"codelyzer"</span>: <span class="pl-s"><span class="pl-pds">"</span>^5.1.2<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"console-polyfill"</span>: <span class="pl-s"><span class="pl-pds">"</span>0.3.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"core-js"</span>: <span class="pl-s"><span class="pl-pds">"</span>^2.5.4<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"cz-conventional-changelog"</span>: <span class="pl-s"><span class="pl-pds">"</span>1.2.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"date-fns"</span>: <span class="pl-s"><span class="pl-pds">"</span>1.30.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"highcharts"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.2.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"highcharts-angular"</span>: <span class="pl-s"><span class="pl-pds">"</span>^2.4.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"html2canvas"</span>: <span class="pl-s"><span class="pl-pds">"</span>^1.0.0-rc.5<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"jasmine-core"</span>: <span class="pl-s"><span class="pl-pds">"</span>~3.5.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"jasmine-spec-reporter"</span>: <span class="pl-s"><span class="pl-pds">"</span>~4.2.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"karma"</span>: <span class="pl-s"><span class="pl-pds">"</span>~4.3.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"karma-chrome-launcher"</span>: <span class="pl-s"><span class="pl-pds">"</span>~3.1.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"karma-coverage-istanbul-reporter"</span>: <span class="pl-s"><span class="pl-pds">"</span>~2.1.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"karma-jasmine"</span>: <span class="pl-s"><span class="pl-pds">"</span>~2.0.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"karma-jasmine-html-reporter"</span>: <span class="pl-s"><span class="pl-pds">"</span>^1.4.2<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"lodash-es"</span>: <span class="pl-s"><span class="pl-pds">"</span>^4.17.11<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"mime"</span>: <span class="pl-s"><span class="pl-pds">"</span>~2.4.2<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"ngrx-store-freeze"</span>: <span class="pl-s"><span class="pl-pds">"</span>0.2.4<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"ngx-monaco-editor"</span>: <span class="pl-s"><span class="pl-pds">"</span>~8.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"ngx-quill"</span>: <span class="pl-s"><span class="pl-pds">"</span>^7.3.12<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"pdfmake"</span>: <span class="pl-s"><span class="pl-pds">"</span>^0.1.64<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"prettier"</span>: <span class="pl-s"><span class="pl-pds">"</span>1.19.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"protractor"</span>: <span class="pl-s"><span class="pl-pds">"</span>~5.4.3<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"quill"</span>: <span class="pl-s"><span class="pl-pds">"</span>^1.3.7<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"rxjs"</span>: <span class="pl-s"><span class="pl-pds">"</span>~6.5.4<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"rxjs-compat"</span>: <span class="pl-s"><span class="pl-pds">"</span>^6.0.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"standard-changelog"</span>: <span class="pl-s"><span class="pl-pds">"</span>1.0.19<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"svgxuse"</span>: <span class="pl-s"><span class="pl-pds">"</span>1.2.6<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"ts-node"</span>: <span class="pl-s"><span class="pl-pds">"</span>~8.3.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"tsickle"</span>: <span class="pl-s"><span class="pl-pds">"</span>^0.35.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"tslib"</span>: <span class="pl-s"><span class="pl-pds">"</span>^1.10.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"tslint"</span>: <span class="pl-s"><span class="pl-pds">"</span>~5.18.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"typescript"</span>: <span class="pl-s"><span class="pl-pds">"</span>~3.7.5<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"web-animations-js"</span>: <span class="pl-s"><span class="pl-pds">"</span>~2.3.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"zone.js"</span>: <span class="pl-s"><span class="pl-pds">"</span>~0.10.2<span class="pl-pds">"</span></span>
  },
  <span class="pl-ent">"devDependencies"</span>: {
    <span class="pl-ent">"@types/jest"</span>: <span class="pl-s"><span class="pl-pds">"</span>^24.0.6<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"jest"</span>: <span class="pl-s"><span class="pl-pds">"</span>^24.1.0<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"jest-preset-angular"</span>: <span class="pl-s"><span class="pl-pds">"</span>^6.0.2<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"ts-node"</span>: <span class="pl-s"><span class="pl-pds">"</span>~7.0.1<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"typescript"</span>: <span class="pl-s"><span class="pl-pds">"</span>3.2.4<span class="pl-pds">"</span></span>
  },
  <span class="pl-ent">"jest"</span>: {
    <span class="pl-ent">"preset"</span>: <span class="pl-s"><span class="pl-pds">"</span>jest-preset-angular<span class="pl-pds">"</span></span>,
    <span class="pl-ent">"setupTestFrameworkScriptFile"</span>: <span class="pl-s"><span class="pl-pds">"</span>&lt;rootDir&gt;/setupJest.ts<span class="pl-pds">"</span></span>
  },
  <span class="pl-ent">"nodemonConfig"</span>: {
    <span class="pl-ent">"ignore"</span>: [
      <span class="pl-s"><span class="pl-pds">"</span>**/example-module.ts<span class="pl-pds">"</span></span>
    ],
    <span class="pl-ent">"watch"</span>: [
      <span class="pl-s"><span class="pl-pds">"</span>./a/bunch/of/stuff<span class="pl-pds">"</span></span>
    ],
    <span class="pl-ent">"ext"</span>: <span class="pl-s"><span class="pl-pds">"</span>js ts md html<span class="pl-pds">"</span></span>
  },
  <span class="pl-ent">"workspaces"</span>: {
    <span class="pl-ent">"packages"</span>: [
      <span class="pl-s"><span class="pl-pds">"</span>packages/*<span class="pl-pds">"</span></span>
    ],
    <span class="pl-ent">"nohoist"</span>: [
      <span class="pl-s"><span class="pl-pds">"</span>**<span class="pl-pds">"</span></span>
    ]
  }
}</pre></div>
<h3 dir="auto">Expected Behavior</h3>
<p dir="auto">An example of a package.json with comments.</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  &quot;name&quot;: &quot;my-project&quot;,
  &quot;version&quot;: &quot;0.0.1&quot;,
  &quot;license&quot;: &quot;MIT&quot;,
  &quot;scripts&quot;: {
    &quot;build&quot;: &quot;a bunch of scripts&quot;,
    &quot;ci&quot;: &quot;a bunch of scripts&quot;,
    &quot;ci:local&quot;: &quot;a bunch of scripts&quot;,
    // for building our documentation site
    &quot;docsite&quot;: &quot;a bunch of scripts&quot;,
    &quot;docsite:combiner&quot;: &quot;a bunch of scripts&quot;,
    &quot;docsite:sassdoc&quot;: &quot;a bunch of scripts&quot;,
    &quot;docsite:tsdoc&quot;: &quot;a bunch of scripts&quot;,
    &quot;e2e&quot;: &quot;a bunch of scripts&quot;,
    &quot;lint&quot;: &quot;a bunch of scripts&quot;,
    &quot;sassdoc&quot;: &quot;a bunch of scripts&quot;,
    &quot;sassdoc:comp&quot;: &quot;a bunch of scripts&quot;,
    &quot;sassdoc:core&quot;: &quot;a bunch of scripts&quot;,
    &quot;start&quot;: &quot;a bunch of scripts&quot;,
    &quot;start:hmr&quot;: &quot;a bunch of scripts&quot;,
    &quot;start:qa&quot;: &quot;a bunch of scripts&quot;,
    &quot;start:dev&quot;: &quot;a bunch of scripts&quot;,
    &quot;generate-examples&quot;: &quot;a bunch of scripts&quot;,
    &quot;rebuild-markdown&quot;: &quot;a bunch of scripts&quot;,
    &quot;watch-examples&quot;: &quot;a bunch of scripts&quot;,
    &quot;test:cov&quot;: &quot;a bunch of scripts&quot;,

    &quot;test&quot;: &quot;jest&quot;,
    &quot;test:watch&quot;: &quot;jest --watch&quot;,
    &quot;test:cc&quot;: &quot;jest --coverage&quot;
  },
  &quot;config&quot;: {
    &quot;commitizen&quot;: {
      &quot;path&quot;: &quot;./node_modules/cz-conventional-changelog&quot;
    }
  },
  &quot;dependencies&quot;: {
    // ANGULAR
    &quot;@angular-devkit/build-angular&quot;: &quot;~0.900.1&quot;,
    &quot;@angular-devkit/build-ng-packagr&quot;: &quot;~0.900.1&quot;,
    &quot;@angular-devkit/core&quot;: &quot;~9.0.0&quot;,
    &quot;@angular-devkit/schematics&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/animations&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/cdk&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/cli&quot;: &quot;~9.0.1&quot;,
    &quot;@angular/common&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/compiler&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/compiler-cli&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/core&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/forms&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/language-service&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/platform-browser&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/platform-browser-dynamic&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/router&quot;: &quot;~9.0.0&quot;,
    &quot;@angular/service-worker&quot;: &quot;~9.0.0&quot;,
    &quot;@angularclass/hmr&quot;: &quot;2.1.3&quot;,

    &quot;zone.js&quot;: &quot;~0.10.2&quot;,
    &quot;rxjs&quot;: &quot;~6.5.4&quot;,
    &quot;rxjs-compat&quot;: &quot;^6.0.0&quot;,


    // polyfills for angular 
    &quot;console-polyfill&quot;: &quot;0.3.0&quot;,
    &quot;core-js&quot;: &quot;^2.5.4&quot;,
    &quot;classlist.js&quot;: &quot;1.1.20150312&quot;,
    &quot;svgxuse&quot;: &quot;1.2.6&quot;,
    &quot;web-animations-js&quot;: &quot;~2.3.1&quot;,

    // lint management

    &quot;codelyzer&quot;: &quot;^5.1.2&quot;,
    &quot;prettier&quot;: &quot;1.19.1&quot;,
    &quot;tslint&quot;: &quot;~5.18.0&quot;,

    // changelog creation
    &quot;cz-conventional-changelog&quot;: &quot;1.2.0&quot;,
    &quot;standard-changelog&quot;: &quot;1.0.19&quot;,

    // ngrx state management 
    &quot;@ngrx/effects&quot;: &quot;~8.6.0&quot;,
    &quot;@ngrx/entity&quot;: &quot;~8.6.0&quot;,
    &quot;@ngrx/router-store&quot;: &quot;~8.6.0&quot;,
    &quot;@ngrx/schematics&quot;: &quot;~8.6.0&quot;,
    &quot;@ngrx/store&quot;: &quot;~8.6.0&quot;,
    &quot;@ngrx/store-devtools&quot;: &quot;~8.6.0&quot;,
    &quot;ngrx-store-freeze&quot;: &quot;0.2.4&quot;,


    // library deps

    // Graphs support
    &quot;highcharts&quot;: &quot;^7.2.1&quot;,
    &quot;highcharts-angular&quot;: &quot;^2.4.0&quot;,

    // for creating pdfs
    &quot;html2canvas&quot;: &quot;^1.0.0-rc.5&quot;,
    &quot;pdfmake&quot;: &quot;^0.1.64&quot;,

    // rich text support
    &quot;ngx-quill&quot;: &quot;^7.3.12&quot;,
    &quot;quill&quot;: &quot;^1.3.7&quot;,




    // testing
    &quot;jasmine-core&quot;: &quot;~3.5.0&quot;,
    &quot;jasmine-spec-reporter&quot;: &quot;~4.2.1&quot;,
    &quot;karma&quot;: &quot;~4.3.0&quot;,
    &quot;karma-chrome-launcher&quot;: &quot;~3.1.0&quot;,
    &quot;karma-coverage-istanbul-reporter&quot;: &quot;~2.1.0&quot;,
    &quot;karma-jasmine&quot;: &quot;~2.0.1&quot;,
    &quot;karma-jasmine-html-reporter&quot;: &quot;^1.4.2&quot;,

    // e2e testing
    &quot;protractor&quot;: &quot;~5.4.3&quot;,

    // typscript and compilation
    &quot;ts-node&quot;: &quot;~8.3.0&quot;,
    &quot;tsickle&quot;: &quot;^0.35.0&quot;,
    &quot;tslib&quot;: &quot;^1.10.0&quot;,
    &quot;typescript&quot;: &quot;~3.7.5&quot;,

    // misc deps
    &quot;date-fns&quot;: &quot;1.30.1&quot;,
    &quot;lodash-es&quot;: &quot;^4.17.11&quot;,
    &quot;mime&quot;: &quot;~2.4.2&quot;
  },
  &quot;devDependencies&quot;: {
    &quot;@types/jasmine&quot;: &quot;~3.5.0&quot;,
    &quot;@types/jasminewd2&quot;: &quot;~2.0.3&quot;,
    &quot;@types/lodash-es&quot;: &quot;^4.17.3&quot;,
    &quot;@types/node&quot;: &quot;^12.11.1&quot;,
    &quot;@types/jest&quot;: &quot;^24.0.6&quot;,
    &quot;jest&quot;: &quot;^24.1.0&quot;,
    &quot;jest-preset-angular&quot;: &quot;^6.0.2&quot;,
    &quot;ts-node&quot;: &quot;~7.0.1&quot;,
    &quot;typescript&quot;: &quot;3.2.4&quot;
  },
  // complicated jest configuration here
  &quot;jest&quot;: {
    &quot;preset&quot;: &quot;jest-preset-angular&quot;,
    &quot;setupTestFrameworkScriptFile&quot;: &quot;&lt;rootDir&gt;/setupJest.ts&quot;
  },
  // use nodemon to trigger stuff
  &quot;nodemonConfig&quot;: {
    &quot;ignore&quot;: [
      &quot;**/example-module.ts&quot;
    ],
    &quot;watch&quot;: [
      &quot;./a/bunch/of/stuff&quot;
    ],
    &quot;ext&quot;: &quot;js ts md html&quot;
  },
  // extra libraries we are creating internally
  &quot;workspaces&quot;: {
    &quot;packages&quot;: [
      &quot;packages/*&quot;
    ],
    &quot;nohoist&quot;: [
      &quot;**&quot;
    ]
  }
}"><pre class="notranslate"><span class="pl-kos">{</span>
  <span class="pl-s">"name"</span>: <span class="pl-s">"my-project"</span><span class="pl-kos">,</span>
  <span class="pl-s">"version"</span>: <span class="pl-s">"0.0.1"</span><span class="pl-kos">,</span>
  <span class="pl-s">"license"</span>: <span class="pl-s">"MIT"</span><span class="pl-kos">,</span>
  <span class="pl-s">"scripts"</span>: <span class="pl-kos">{</span>
    <span class="pl-s">"build"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>
    <span class="pl-s">"ci"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>
    <span class="pl-s">"ci:local"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>
    <span class="pl-c">// for building our documentation site</span>
    <span class="pl-s">"docsite"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>
    <span class="pl-s">"docsite:combiner"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>
    <span class="pl-s">"docsite:sassdoc"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>
    <span class="pl-s">"docsite:tsdoc"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>
    <span class="pl-s">"e2e"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>
    <span class="pl-s">"lint"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>
    <span class="pl-s">"sassdoc"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>
    <span class="pl-s">"sassdoc:comp"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>
    <span class="pl-s">"sassdoc:core"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>
    <span class="pl-s">"start"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>
    <span class="pl-s">"start:hmr"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>
    <span class="pl-s">"start:qa"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>
    <span class="pl-s">"start:dev"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>
    <span class="pl-s">"generate-examples"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>
    <span class="pl-s">"rebuild-markdown"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>
    <span class="pl-s">"watch-examples"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>
    <span class="pl-s">"test:cov"</span>: <span class="pl-s">"a bunch of scripts"</span><span class="pl-kos">,</span>

    <span class="pl-s">"test"</span>: <span class="pl-s">"jest"</span><span class="pl-kos">,</span>
    <span class="pl-s">"test:watch"</span>: <span class="pl-s">"jest --watch"</span><span class="pl-kos">,</span>
    <span class="pl-s">"test:cc"</span>: <span class="pl-s">"jest --coverage"</span>
  <span class="pl-kos">}</span><span class="pl-kos">,</span>
  <span class="pl-s">"config"</span>: <span class="pl-kos">{</span>
    <span class="pl-s">"commitizen"</span>: <span class="pl-kos">{</span>
      <span class="pl-s">"path"</span>: <span class="pl-s">"./node_modules/cz-conventional-changelog"</span>
    <span class="pl-kos">}</span>
  <span class="pl-kos">}</span><span class="pl-kos">,</span>
  <span class="pl-s">"dependencies"</span>: <span class="pl-kos">{</span>
    <span class="pl-c">// ANGULAR</span>
    <span class="pl-s">"@angular-devkit/build-angular"</span>: <span class="pl-s">"~0.900.1"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@angular-devkit/build-ng-packagr"</span>: <span class="pl-s">"~0.900.1"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@angular-devkit/core"</span>: <span class="pl-s">"~9.0.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@angular-devkit/schematics"</span>: <span class="pl-s">"~9.0.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@angular/animations"</span>: <span class="pl-s">"~9.0.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@angular/cdk"</span>: <span class="pl-s">"~9.0.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@angular/cli"</span>: <span class="pl-s">"~9.0.1"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@angular/common"</span>: <span class="pl-s">"~9.0.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@angular/compiler"</span>: <span class="pl-s">"~9.0.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@angular/compiler-cli"</span>: <span class="pl-s">"~9.0.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@angular/core"</span>: <span class="pl-s">"~9.0.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@angular/forms"</span>: <span class="pl-s">"~9.0.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@angular/language-service"</span>: <span class="pl-s">"~9.0.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@angular/platform-browser"</span>: <span class="pl-s">"~9.0.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@angular/platform-browser-dynamic"</span>: <span class="pl-s">"~9.0.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@angular/router"</span>: <span class="pl-s">"~9.0.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@angular/service-worker"</span>: <span class="pl-s">"~9.0.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@angularclass/hmr"</span>: <span class="pl-s">"2.1.3"</span><span class="pl-kos">,</span>

    <span class="pl-s">"zone.js"</span>: <span class="pl-s">"~0.10.2"</span><span class="pl-kos">,</span>
    <span class="pl-s">"rxjs"</span>: <span class="pl-s">"~6.5.4"</span><span class="pl-kos">,</span>
    <span class="pl-s">"rxjs-compat"</span>: <span class="pl-s">"^6.0.0"</span><span class="pl-kos">,</span>


    <span class="pl-c">// polyfills for angular </span>
    <span class="pl-s">"console-polyfill"</span>: <span class="pl-s">"0.3.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"core-js"</span>: <span class="pl-s">"^2.5.4"</span><span class="pl-kos">,</span>
    <span class="pl-s">"classlist.js"</span>: <span class="pl-s">"1.1.20150312"</span><span class="pl-kos">,</span>
    <span class="pl-s">"svgxuse"</span>: <span class="pl-s">"1.2.6"</span><span class="pl-kos">,</span>
    <span class="pl-s">"web-animations-js"</span>: <span class="pl-s">"~2.3.1"</span><span class="pl-kos">,</span>

    <span class="pl-c">// lint management</span>

    <span class="pl-s">"codelyzer"</span>: <span class="pl-s">"^5.1.2"</span><span class="pl-kos">,</span>
    <span class="pl-s">"prettier"</span>: <span class="pl-s">"1.19.1"</span><span class="pl-kos">,</span>
    <span class="pl-s">"tslint"</span>: <span class="pl-s">"~5.18.0"</span><span class="pl-kos">,</span>

    <span class="pl-c">// changelog creation</span>
    <span class="pl-s">"cz-conventional-changelog"</span>: <span class="pl-s">"1.2.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"standard-changelog"</span>: <span class="pl-s">"1.0.19"</span><span class="pl-kos">,</span>

    <span class="pl-c">// ngrx state management </span>
    <span class="pl-s">"@ngrx/effects"</span>: <span class="pl-s">"~8.6.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@ngrx/entity"</span>: <span class="pl-s">"~8.6.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@ngrx/router-store"</span>: <span class="pl-s">"~8.6.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@ngrx/schematics"</span>: <span class="pl-s">"~8.6.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@ngrx/store"</span>: <span class="pl-s">"~8.6.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@ngrx/store-devtools"</span>: <span class="pl-s">"~8.6.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"ngrx-store-freeze"</span>: <span class="pl-s">"0.2.4"</span><span class="pl-kos">,</span>


    <span class="pl-c">// library deps</span>

    <span class="pl-c">// Graphs support</span>
    <span class="pl-s">"highcharts"</span>: <span class="pl-s">"^7.2.1"</span><span class="pl-kos">,</span>
    <span class="pl-s">"highcharts-angular"</span>: <span class="pl-s">"^2.4.0"</span><span class="pl-kos">,</span>

    <span class="pl-c">// for creating pdfs</span>
    <span class="pl-s">"html2canvas"</span>: <span class="pl-s">"^1.0.0-rc.5"</span><span class="pl-kos">,</span>
    <span class="pl-s">"pdfmake"</span>: <span class="pl-s">"^0.1.64"</span><span class="pl-kos">,</span>

    <span class="pl-c">// rich text support</span>
    <span class="pl-s">"ngx-quill"</span>: <span class="pl-s">"^7.3.12"</span><span class="pl-kos">,</span>
    <span class="pl-s">"quill"</span>: <span class="pl-s">"^1.3.7"</span><span class="pl-kos">,</span>




    <span class="pl-c">// testing</span>
    <span class="pl-s">"jasmine-core"</span>: <span class="pl-s">"~3.5.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"jasmine-spec-reporter"</span>: <span class="pl-s">"~4.2.1"</span><span class="pl-kos">,</span>
    <span class="pl-s">"karma"</span>: <span class="pl-s">"~4.3.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"karma-chrome-launcher"</span>: <span class="pl-s">"~3.1.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"karma-coverage-istanbul-reporter"</span>: <span class="pl-s">"~2.1.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"karma-jasmine"</span>: <span class="pl-s">"~2.0.1"</span><span class="pl-kos">,</span>
    <span class="pl-s">"karma-jasmine-html-reporter"</span>: <span class="pl-s">"^1.4.2"</span><span class="pl-kos">,</span>

    <span class="pl-c">// e2e testing</span>
    <span class="pl-s">"protractor"</span>: <span class="pl-s">"~5.4.3"</span><span class="pl-kos">,</span>

    <span class="pl-c">// typscript and compilation</span>
    <span class="pl-s">"ts-node"</span>: <span class="pl-s">"~8.3.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"tsickle"</span>: <span class="pl-s">"^0.35.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"tslib"</span>: <span class="pl-s">"^1.10.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"typescript"</span>: <span class="pl-s">"~3.7.5"</span><span class="pl-kos">,</span>

    <span class="pl-c">// misc deps</span>
    <span class="pl-s">"date-fns"</span>: <span class="pl-s">"1.30.1"</span><span class="pl-kos">,</span>
    <span class="pl-s">"lodash-es"</span>: <span class="pl-s">"^4.17.11"</span><span class="pl-kos">,</span>
    <span class="pl-s">"mime"</span>: <span class="pl-s">"~2.4.2"</span>
  <span class="pl-kos">}</span><span class="pl-kos">,</span>
  <span class="pl-s">"devDependencies"</span>: <span class="pl-kos">{</span>
    <span class="pl-s">"@types/jasmine"</span>: <span class="pl-s">"~3.5.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@types/jasminewd2"</span>: <span class="pl-s">"~2.0.3"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@types/lodash-es"</span>: <span class="pl-s">"^4.17.3"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@types/node"</span>: <span class="pl-s">"^12.11.1"</span><span class="pl-kos">,</span>
    <span class="pl-s">"@types/jest"</span>: <span class="pl-s">"^24.0.6"</span><span class="pl-kos">,</span>
    <span class="pl-s">"jest"</span>: <span class="pl-s">"^24.1.0"</span><span class="pl-kos">,</span>
    <span class="pl-s">"jest-preset-angular"</span>: <span class="pl-s">"^6.0.2"</span><span class="pl-kos">,</span>
    <span class="pl-s">"ts-node"</span>: <span class="pl-s">"~7.0.1"</span><span class="pl-kos">,</span>
    <span class="pl-s">"typescript"</span>: <span class="pl-s">"3.2.4"</span>
  <span class="pl-kos">}</span><span class="pl-kos">,</span>
  <span class="pl-c">// complicated jest configuration here</span>
  <span class="pl-s">"jest"</span>: <span class="pl-kos">{</span>
    <span class="pl-s">"preset"</span>: <span class="pl-s">"jest-preset-angular"</span><span class="pl-kos">,</span>
    <span class="pl-s">"setupTestFrameworkScriptFile"</span>: <span class="pl-s">"&lt;rootDir&gt;/setupJest.ts"</span>
  <span class="pl-kos">}</span><span class="pl-kos">,</span>
  <span class="pl-c">// use nodemon to trigger stuff</span>
  <span class="pl-s">"nodemonConfig"</span>: <span class="pl-kos">{</span>
    <span class="pl-s">"ignore"</span>: <span class="pl-kos">[</span>
      <span class="pl-s">"**/example-module.ts"</span>
    <span class="pl-kos">]</span><span class="pl-kos">,</span>
    <span class="pl-s">"watch"</span>: <span class="pl-kos">[</span>
      <span class="pl-s">"./a/bunch/of/stuff"</span>
    <span class="pl-kos">]</span><span class="pl-kos">,</span>
    <span class="pl-s">"ext"</span>: <span class="pl-s">"js ts md html"</span>
  <span class="pl-kos">}</span><span class="pl-kos">,</span>
  <span class="pl-c">// extra libraries we are creating internally</span>
  <span class="pl-s">"workspaces"</span>: <span class="pl-kos">{</span>
    <span class="pl-s">"packages"</span>: <span class="pl-kos">[</span>
      <span class="pl-s">"packages/*"</span>
    <span class="pl-kos">]</span><span class="pl-kos">,</span>
    <span class="pl-s">"nohoist"</span>: <span class="pl-kos">[</span>
      <span class="pl-s">"**"</span>
    <span class="pl-kos">]</span>
  <span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<h2 dir="auto">References</h2>

<p dir="auto"><a href="https://github.com/microsoft/node-jsonc-parser">https://github.com/microsoft/node-jsonc-parser</a></p>
<p dir="auto">Typescript uses comments in their tsconfig.json files.</p>
<p dir="auto">#</p>
<blockquote>
<p dir="auto">n/a</p>
</blockquote>
<p dir="auto">the contents of the associated log file are</p>
<p dir="auto">0 info it worked if it ends with ok<br>
1 verbose cli [<br>
1 verbose cli   'C:\Program Files\nodejs\node.exe',<br>
1 verbose cli   'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',<br>
1 verbose cli   'info',<br>
1 verbose cli   'cordova'<br>
1 verbose cli ]<br>
2 info using npm@6.13.1<br>
3 info using node@v13.3.0<br>
4 verbose npm-session 8885ffcd267498aa<br>
5 timing npm Completed in 3432ms<br>
6 error cb() never called!<br>
7 error This is an error with npm itself. Please report this error at:<br>
8 error <a href="https://npm.community" rel="nofollow">https://npm.community</a></p>