diff --git a/lib/licensee/project_files/package_manager_file.rb b/lib/licensee/project_files/package_manager_file.rb index 50a39b17..3a4bb520 100644 --- a/lib/licensee/project_files/package_manager_file.rb +++ b/lib/licensee/project_files/package_manager_file.rb @@ -17,12 +17,13 @@ class PackageManagerFile < Licensee::ProjectFiles::ProjectFile }.freeze FILENAMES_SCORES = { - 'package.json' => 1.0, - 'LICENSE.spdx' => 1.0, - 'Cargo.toml' => 1.0, - 'DESCRIPTION' => 0.9, - 'dist.ini' => 0.8, - 'bower.json' => 0.75 + 'package.json' => 1.0, + 'LICENSE.spdx' => 1.0, + 'Cargo.toml' => 1.0, + 'DESCRIPTION' => 0.9, + 'dist.ini' => 0.8, + 'bower.json' => 0.75, + 'elm-package.json' => 0.7 }.freeze def possible_matchers diff --git a/spec/licensee/project_files/package_info_spec.rb b/spec/licensee/project_files/package_info_spec.rb index 26011441..c21268d5 100644 --- a/spec/licensee/project_files/package_info_spec.rb +++ b/spec/licensee/project_files/package_info_spec.rb @@ -12,6 +12,7 @@ 'DESCRIPTION' => 0.9, 'dist.ini' => 0.8, 'bower.json' => 0.75, + 'elm-package.json' => 0.70, 'README.md' => 0.0 }.each do |filename, expected_score| context "a file named #{filename}" do