@rwesa/payu-ble
Version:
A flexible, smart Bluetooth Low Energy challenge system for secure device connections
120 lines (119 loc) • 3.11 kB
JSON
{
"name": "@rwesa/payu-ble",
"version": "1.1.0",
"description": "A flexible, smart Bluetooth Low Energy challenge system for secure device connections",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsup",
"build:all": "npm run clean && npm run build",
"dev": "tsc --watch",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src/**/*.ts platform/**/*.ts",
"lint:fix": "eslint src/**/*.ts platform/**/*.ts --fix",
"demo:math": "node examples/math-challenges.js",
"demo:riddles": "node examples/riddles-demo.js",
"demo:availability": "node examples/availability-demo.js",
"demo:interactive": "node examples/interactive-riddles.js",
"demo:browser": "cd demo/browser && python -m http.server 8000",
"clean": "rimraf dist platform/dist dist-cjs platform/dist-cjs",
"prepublishOnly": "npm run clean && npm run build:all && npm run test",
"postinstall": "node scripts/check-platform.js"
},
"keywords": [
"bluetooth",
"ble",
"security",
"challenge",
"iot",
"pairing",
"authentication",
"raspberry-pi",
"gpio",
"geolocation",
"network-detection"
],
"author": "PayuBLE Team",
"license": "MIT",
"optionalDependencies": {
"arp-a": "^1.0.0",
"node-fetch": "^3.3.2",
"onoff": "^6.0.3",
"ping": "^0.4.4"
},
"devDependencies": {
"@types/jest": "^29.5.0",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.57.1",
"jest": "^29.0.0",
"rimraf": "^5.0.0",
"ts-jest": "^29.1.0",
"tsup": "^8.5.0",
"typescript": "^5.0.0"
},
"peerDependencies": {
"typescript": ">=4.5.0"
},
"files": [
"dist/**/*",
"platform/dist/**/*",
"demo/browser/**/*",
"examples/**/*",
"docs/**/*",
"README.md",
"LICENSE",
"scripts/check-platform.js"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./platform": {
"types": "./platform/dist/platform_index.d.ts",
"import": "./platform/dist/platform_index.mjs",
"require": "./platform/dist/platform_index.cjs"
}
},
"repository": {
"type": "git",
"url": "https://github.com/ALU-Kid/payu-ble.git"
},
"bugs": {
"url": "https://github.com/ALU-Kid/payu-ble/issues"
},
"homepage": "https://github.com/ALU-Kid/payu-ble#readme",
"engines": {
"node": ">=14.0.0"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"roots": [
"<rootDir>/src",
"<rootDir>/test"
],
"testMatch": [
"**/__tests__/**/*.ts",
"**/?(*.)+(spec|test).ts"
],
"collectCoverageFrom": [
"src/**/*.ts",
"platform/**/*.ts",
"!src/**/*.d.ts",
"!platform/**/*.d.ts"
],
"coverageDirectory": "coverage",
"coverageReporters": [
"text",
"lcov",
"html"
]
}
}