UNPKG

@corvina/cidr

Version:

CIDR Operation helper

45 lines (44 loc) 1.67 kB
{ "name": "@corvina/cidr", "version": "1.1.2", "description": "CIDR Operation helper", "main": "dist/index.js", "module": "dist/index.min.mjs", "unpkg": "dist/index.umd.min.js", "types": "dist/index.d.ts", "scripts": { "test": "jest", "clean": "rm -fr dist", "build": "npm run clean && tsc --project tsconfig.json && npm run bundle:esm && npm run bundle:esm:min && npm run bundle:umd && npm run bundle:umd:min && npm run build:stats", "build:stats": "(echo '\\033[35;3m' ; cd dist && ls -lh index*js index*gz | tail -n +2 | awk '{print $5,$9}')", "bundle:esm": "rollup dist/index.js --file dist/index.mjs --format esm", "bundle:esm:min": "terser --ecma 6 --compress --mangle --module -o dist/index.min.mjs -- dist/index.mjs && gzip -9 -c dist/index.min.mjs > dist/index.min.mjs.gz", "bundle:umd": "rollup dist/index.js --file dist/index.umd.js --format umd --name '$corvina'", "bundle:umd:min": "terser --ecma 6 --compress --mangle -o dist/index.umd.min.js -- dist/index.umd.js && gzip -9 -c dist/index.umd.min.js > dist/index.umd.min.js.gz", "deploy": "npm run clean && npm run build && npm publish --access public" }, "files": [ "dist" ], "author": "Armin Graf", "contributors": [ "Davide Bettio <davide.bettio@corvina.io>", "Marcello Bellomi <marcello.bellomi@corvina.io>" ], "license": "Apache-2.0", "keywords": [ "cidr", "corvina", "ip", "ipaddress" ], "devDependencies": { "@jest/globals": "^29.7.0", "jest": "^29.7.0", "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "typescript": "^5.2.2", "rollup": "^2.79.0", "terser": "^5.15.0" } }