bytes-to-co2
Advanced tools
Comparing version 0.3.1 to 0.3.2
{ | ||
"name": "bytes-to-co2", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Javascript module that calculates the co2 generated in transfer x amount of bytes over the network and the country.", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"browser": "dist/umd/index.js", | ||
"umd": "dist/umd/index.js", | ||
"browser": "dist/browser-esm/bytes-to-co2.min.js", | ||
"types": "dist/esm/index.d.ts", | ||
@@ -14,3 +15,3 @@ "files": [ | ||
"repository": { | ||
"url": "https://github.com/dvelasquez/bytes-to-co2", | ||
"url": "https://github.com/dvelasquez/carbon-tools", | ||
"type": "git" | ||
@@ -20,10 +21,8 @@ }, | ||
"process-data": "ts-node ./source-data/process-data.ts", | ||
"prebuild": "rimraf ./dist", | ||
"build": "npm run build:esm && npm run build:umd && npm run build:cjs", | ||
"build:esm": "tsc", | ||
"prebuild": "rimraf ./dist && npm run process-data", | ||
"build": "npm run build:esm && npm run build:umd && npm run build:cjs && npm run esbuild:browser:esm", | ||
"build:esm": "tsc -d --declarationMap", | ||
"build:umd": "tsc --outDir ./dist/umd -m umd", | ||
"build:cjs": "tsc --outDir ./dist/cjs -m commonjs", | ||
"lint": "eslint --quiet --fix && tsc --noEmit", | ||
"test": "tap --node-arg=--require=ts-node/register/transpile-only", | ||
"posttest": "tap --coverage-report=html --coverage-report=cobertura" | ||
"esbuild:browser:esm": "esbuild --bundle --format=esm --platform=browser --target=es6 --outfile=dist/browser-esm/bytes-to-co2.min.js --sourcemap --minify src/index.ts" | ||
}, | ||
@@ -38,18 +37,2 @@ "author": "Danilo Velasquez <danilo.velasquez@gmail.com>", | ||
], | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@types/eslint": "^7.2.3", | ||
"@types/prettier": "^2.1.1", | ||
"@types/tap": "^14.10.1", | ||
"@typescript-eslint/eslint-plugin": "^4.0.0", | ||
"@typescript-eslint/parser": "^3.8.0", | ||
"eslint": "^7.9.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"prettier": "^2.1.2", | ||
"rimraf": "^3.0.2", | ||
"tap": "^14.10.8", | ||
"ts-node": "^9.0.0", | ||
"typescript": "^4.0.3" | ||
}, | ||
"tap": { | ||
@@ -65,3 +48,4 @@ "nyc-arg": [ | ||
] | ||
} | ||
}, | ||
"gitHead": "23aa9353168d895a6f0d0e3e8a46fc7062a958e0" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3350213
0
109
54076
0