Comparing version 4.0.1 to 4.0.2
@@ -19,2 +19,4 @@ 'use strict'; | ||
modules = false; | ||
} else if (env === 'ts') { | ||
modules = 'commonjs'; | ||
} else { | ||
@@ -21,0 +23,0 @@ modules = 'commonjs'; |
{ | ||
"name": "es6-error", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "Easily-extendable error for use with ES6 classes", | ||
@@ -10,5 +10,6 @@ "main": "./lib/index", | ||
"test": "mocha --compilers js:babel-core/register --recursive", | ||
"build": "npm run build:commonjs && npm run build:es", | ||
"build": "npm run build:commonjs && npm run build:es && npm run build:ts", | ||
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src/index.js --out-file lib/index.js", | ||
"build:es": "cross-env BABEL_ENV=es babel src/index.js --out-file lib/index.jsnext.js", | ||
"build:ts": "cross-env BABEL_ENV=ts babel src/index.js --out-file lib/index.ts.js", | ||
"prepublish": "npm run build && npm run test" | ||
@@ -15,0 +16,0 @@ }, |
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
16101
15
308