ant-plus-next
Version:
A modern Node.js module for working with ANT+ USB sticks and sensors.
110 lines (109 loc) • 3.59 kB
JSON
{
"name": "ant-plus-next",
"version": "0.4.0",
"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": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
}
},
"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.17.0",
"@rollup/plugin-alias": "^6.0.0",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^0.4.4",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^12.0.2",
"@types/jest": "^30.0.0",
"@types/node": "^24.10.1",
"@typescript-eslint/eslint-plugin": "^8.18.2",
"@typescript-eslint/parser": "^8.18.2",
"conventional-changelog-conventionalcommits": "^9.1.0",
"eslint": "^9.17.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^16.5.0",
"husky": "^9.1.7",
"jest": "^30.2.0",
"lint-staged": "^16.2.7",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"rollup": "^4.29.1",
"rollup-plugin-typescript2": "^0.36.0",
"semantic-release": "^25.0.2",
"ts-jest": "^29.2.5",
"typedoc": "^0.28.15",
"typedoc-plugin-markdown": "^4.9.0",
"typescript": "^5.7.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"
}