netcdf-gcms
Advanced tools
Comparing version 1.0.1 to 1.1.0
{ | ||
"name": "netcdf-gcms", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "Parser from NetCDF files to JSON usable for GCMS", | ||
@@ -10,9 +10,7 @@ "main": "./src/index.js", | ||
"scripts": { | ||
"eslint": "eslint src test", | ||
"eslint": "eslint src __tests__ --cache", | ||
"eslint-fix": "npm run eslint -- --fix", | ||
"test": "npm run test-mocha && npm run eslint", | ||
"test-cov": "istanbul cover node_modules/.bin/_mocha -- --require should --reporter dot --recursive", | ||
"test-travis": "istanbul cover node_modules/.bin/_mocha --report lcovonly -- --require should --reporter dot --recursive", | ||
"test-mocha": "mocha --require should --reporter mocha-better-spec-reporter", | ||
"build": "cheminfo build" | ||
"test": "npm run testonly && npm run eslint", | ||
"testonly": "jest", | ||
"build": "cheminfo build --no-uglify" | ||
}, | ||
@@ -38,9 +36,6 @@ "repository": { | ||
"cheminfo-tools": "^1.5.0", | ||
"eslint": "^3.4.0", | ||
"eslint": "^4.10.0", | ||
"eslint-config-cheminfo": "^1.2.0", | ||
"eslint-plugin-no-only-tests": "^1.1.0", | ||
"istanbul": "^0.4.4", | ||
"mocha": "^3.1.2", | ||
"mocha-better-spec-reporter": "^3.0.2", | ||
"should": "^11.1.0" | ||
"eslint-plugin-no-only-tests": "^2.0.0", | ||
"jest": "^21.2.1" | ||
}, | ||
@@ -47,0 +42,0 @@ "dependencies": { |
@@ -6,2 +6,3 @@ 'use strict'; | ||
const finnigan = require('./finnigan'); | ||
const aiaTemplate = require('./aiaTemplate'); | ||
@@ -21,2 +22,4 @@ /** | ||
return finnigan(reader); | ||
} else if (globalAttributes.find(val => val.name === 'aia_template_revision')) { | ||
return aiaTemplate(reader); | ||
} else { | ||
@@ -45,4 +48,9 @@ throw new TypeError('Unknown file format'); | ||
function fromAiaTemplate(data) { | ||
return aiaTemplate(new NetCDFReader(data)); | ||
} | ||
module.exports = netcdfGcms; | ||
module.exports.fromAgilent = fromAgilent; | ||
module.exports.fromFinnigan = fromFinnigan; | ||
module.exports.fromAiaTemplate = fromAiaTemplate; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
8785
5
8
133
1