old_contents: // Licensed under the Apache License, Version 2.0 (the “License”); you may not
  // use this file except in compliance with the License. You may obtain a copy of
  // the License at
  //
  // http://www.apache.org/licenses/LICENSE-2.0
  //
  // Unless required by applicable law or agreed to in writing, software
  // distributed under the License is distributed on an “AS IS” BASIS, WITHOUT
  // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  // License for the specific language governing permissions and limitations under
  // the License.
  
  import pkgDir from 'pkg-dir'
  import {join} from 'path'
  
  export const PACKAGE_DIR = pkgDir.sync() || ''
  export const PACKAGE_MODULES_DIR = join(PACKAGE_DIR, 'node_modules')
  export const PACKAGE_BIN_DIR = join(PACKAGE_MODULES_DIR, '.bin')
  
  export const TOOLBOX_DIR = join(__dirname, '..')
  export const TOOLBOX_MODULES_DIR = join(TOOLBOX_DIR, 'node_modules')
  export const TOOLBOX_BIN_DIR = join(TOOLBOX_MODULES_DIR, '.bin')
  
  export const CONFIGS_DIR = join(TOOLBOX_DIR, 'build', 'configs')
  export const TEMPLATES_DIR = join(TOOLBOX_DIR, 'templates')
  
  export const PACKAGE_JSON_PATH = join(PACKAGE_DIR, 'package.json')
  export const CTRINE_JSON_PATH = join(PACKAGE_DIR, 'ctrine.json')
  
new_contents: // Licensed under the Apache License, Version 2.0 (the “License”); you may not
  // use this file except in compliance with the License. You may obtain a copy of
  // the License at
  //
  // http://www.apache.org/licenses/LICENSE-2.0
  //
  // Unless required by applicable law or agreed to in writing, software
  // distributed under the License is distributed on an “AS IS” BASIS, WITHOUT
  // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  // License for the specific language governing permissions and limitations under
  // the License.
  
  import pkgDir from 'pkg-dir'
  import {join} from 'path'
  
  export const PACKAGE_DIR = pkgDir.sync() || ''
  export const TOOLBOX_DIR = join(__dirname, '..')
  
  export const BIN_DIR = join(TOOLBOX_DIR, 'node_modules', '.bin')
  export const CONFIGS_DIR = join(TOOLBOX_DIR, 'build', 'configs')
  export const MODULES_DIR = join(TOOLBOX_DIR, 'node_modules')
  export const TEMPLATES_DIR = join(TOOLBOX_DIR, 'templates')
  
  export const CTRINE_JSON = join(PACKAGE_DIR, 'ctrine.json')
  export const PACKAGE_JSON = join(PACKAGE_DIR, 'package.json')
  
subject: Clean up paths