UNPKG

ant-plus-next

Version:

A modern Node.js module for working with ANT+ USB sticks and sensors.

110 lines (109 loc) 3.59 kB
{ "name": "ant-plus-next", "version": "0.3.2", "description": "A modern Node.js module for working with ANT+ USB sticks and sensors.", "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "dist/index.d.ts", "type": "module", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.cjs", "types": "./dist/index.d.ts" } }, "browser": { "usb": false }, "scripts": { "lint": "eslint eslint.config.mjs", "lint:fix": "eslint eslint.config.mjs --fix", "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,md}\"", "build": "npm run build:clean && npm run build:types && npm run build:bundle", "build:clean": "rimraf dist && mkdir dist", "build:typescript": "tsc", "build:types": "tsc --declaration --declarationMap --emitDeclarationOnly --outDir dist", "build:docs": "typedoc", "build:bundle": "rollup -c", "test": "npm run test:esm:node && npm run test:esm:web && npm run test:cjs:node && npm run test:cjs:web", "test:esm:node": "node ./tests/test-esm-node.mjs", "test:esm:web": "node ./tests/test-esm-web.mjs", "test:cjs:node": "node ./tests/test-cjs-node.cjs", "test:cjs:web": "node ./tests/test-cjs-web.cjs", "prepare": "husky", "prepublishOnly": "npm run lint && npm test && npm run build", "release": "semantic-release" }, "keywords": [ "ANT", "ANT+", "USB", "WebUSB", "ant-plus", "ant plus", "ant-plus-next", "Garmin", "Sensors" ], "author": { "name": "Benjamin Stefan", "email": "contact@benjamin-stefan.eu" }, "license": "MIT", "engines": { "node": ">=18.0.0" }, "dependencies": { "usb": "^2.14.0" }, "devDependencies": { "@eslint/js": "^9.11.1", "@rollup/plugin-alias": "^5.1.1", "@rollup/plugin-commonjs": "^28.0.0", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^15.3.0", "@rollup/plugin-terser": "^0.4.4", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^11.0.0", "@types/jest": "^29.5.13", "@types/node": "^22.7.4", "@typescript-eslint/eslint-plugin": "^8.7.0", "@typescript-eslint/parser": "^8.7.0", "conventional-changelog-conventionalcommits": "^8.0.0", "eslint": "^9.11.1", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "globals": "^15.9.0", "husky": "^9.1.6", "jest": "^29.7.0", "lint-staged": "^15.2.10", "prettier": "^3.3.3", "rimraf": "^6.0.1", "rollup": "^4.22.5", "rollup-plugin-typescript2": "^0.36.0", "semantic-release": "^24.1.2", "ts-jest": "^29.2.5", "typedoc": "^0.26.7", "typedoc-plugin-markdown": "^4.2.8", "typescript": "^5.6.2" }, "files": [ "dist/**/*", "README.md", "LICENSE", "package.json" ], "directories": { "lib": "./src" }, "repository": { "type": "git", "url": "git+https://github.com/Benjamin-Stefan/ant-plus-next.git" }, "bugs": { "url": "https://github.com/Benjamin-Stefan/ant-plus-next/issues" }, "homepage": "https://github.com/Benjamin-Stefan/ant-plus-next#readme" }