UNPKG

@sk-global/hazard-risk

Version:

A TypeScript library for analyzing hazard risks and calculating risk assessments

78 lines (77 loc) 2.17 kB
{ "name": "@sk-global/hazard-risk", "version": "0.2.0", "description": "A TypeScript library for analyzing hazard risks and calculating risk assessments", "keywords": [ "hazard", "risk", "assessment", "analysis", "typescript", "safety" ], "homepage": "https://github.com/skglobal-jsc/hazard-risk#readme", "source": "src/index.ts", "main": "dist/index.js", "module": "dist/index.module.js", "unpkg": "dist/index.umd.js", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/index.module.js", "require": "./dist/index.js", "types": "./dist/index.d.ts" } }, "files": [ "dist" ], "engines": { "node": ">=16.0.0" }, "scripts": { "dev": "ts-node --project tsconfig.dev.json example.ts", "dev:dem": "ts-node --project tsconfig.dev.json example-dem.ts", "build:types": "tsc --emitDeclarationOnly", "build": "microbundle --target node --format modern,cjs,umd --no-sourcemap", "watch": "microbundle watch --target node --format modern,cjs,umd --no-sourcemap", "clean": "rm -rf dist coverage", "type-check": "tsc --noEmit", "test": "jest --coverage", "test:watch": "jest --watch", "test:ci": "jest --ci --coverage --watchAll=false", "lint": "prettier src test -c", "format": "prettier src test --write", "prepack": "npm run clean && npm run build:types && npm run build", "publish": "npm publish --ignore-scripts", "release": "npx np --ignore-scripts" }, "devDependencies": { "@types/jest": "^29.5.0", "@types/pngjs": "^6.0.5", "jest": "^29.5.0", "microbundle": "^0.15.0", "prettier": "^3.0.0", "ts-jest": "^29.1.0", "ts-node": "^10.9.1", "typescript": "^5.0.0" }, "contributors": [ "Binh Bui <buithaibinh@gmail.com>" ], "license": "MIT", "publishConfig": { "registry": "https://registry.npmjs.org", "access": "public" }, "author": "SK-Global", "repository": { "type": "git", "url": "git+https://github.com/skglobal-jsc/hazard-risk.git" }, "dependencies": { "@turf/turf": "^7.2.0", "axios": "^1.10.0", "pngjs": "^7.0.0" } }