UNPKG

opniz

Version:
107 lines (106 loc) 2.92 kB
{ "name": "opniz", "version": "0.4.0", "description": "opniz sdk for node.js", "keywords": [ "opniz", "obniz", "m5stack", "m5atom", "esp32" ], "license": "MIT", "homepage": "https://github.com/miso-develop/opniz", "repository": { "type": "git", "url": "https://github.com/miso-develop/opniz-sdk-nodejs.git" }, "bugs": "https://github.com/miso-develop/opniz-sdk-nodejs/issues", "author": "Miso Tanaka <miso.develop@gmail.com>", "main": "dist/index.js", "engines": { "node": ">=12.x" }, "files": [ "dist" ], "private": false, "scripts": { "node": "node dist", "n": "npm run node", "nodemon": "nodemon --watch dist dist/index.js", "nm": "npm run nodemon", "prepare": "npm run build && npx husky install", "prestart": "npm run build", "start": "npm run node", "s": "npm start", "clean": "npx rimraf dist", "c": "npm run clean", "prebuild:prod": "npm run clean", "prebuild:dev": "npm run clean", "prebuild": "npm run clean", "build:prod": "npx tsc --sourceMap false --declarationMap false", "build:dev": "npx tsc", "build": "npm run build:prod", "bp": "npm run build:prod", "bd": "npm run build:dev", "b": "npm run build", "watch": "npm run build:dev -- --watch", "w": "npm run watch", "lint": "npx eslint {src,tests,examples}/**/*.{ts,js}", "l": "npm run lint", "lint:fix": "npx eslint --fix {src,tests,examples}/**/*.{ts,js}", "lf": "npm run lint:fix", "test": "npx jest", "t": "npm test", "test:coverage": "npm test -- --coverage", "tc": "npm run test:coverage", "test:watch": "npm test -- --watch", "tw": "npm run test:watch", "predoc": "npx rimraf docs", "doc": "npx typedoc src --out docs --readme none --exclude \"./src/**/example.ts\" --gitRevision main --entryPointStrategy expand", "open:coverage": "npx opener chrome ./coverage/lcov-report/index.html", "oc": "npm run open:coverage", "open:doc": "npx opener chrome ./docs/index.html", "od": "npm run open:doc", "update": "npm ci && run-p build:prod test doc", "u": "npm run update", "": "" }, "lint-staged": { "{src,tests,examples}/**/*.{ts,js}": [ "eslint --fix", "git add" ] }, "dependencies": { "chalk": "^4.1.2", "dayjs": "^1.11.7", "socket.io": "^4.6.0", "socket.io-client": "^4.6.0" }, "devDependencies": { "@types/eslint": "^8.21.1", "@types/jest": "^29.4.0", "@types/node": "^18.13.0", "@typescript-eslint/eslint-plugin": "^5.52.0", "@typescript-eslint/parser": "^5.52.0", "esbuild": "^0.17.8", "esbuild-jest": "^0.5.0", "esbuild-jest-transform": "^1.1.1", "eslint": "^8.34.0", "eslint-plugin-jest": "^27.2.1", "get-port": "^5.1.1", "glob": "^8.1.0", "husky": "^8.0.3", "ip": "^1.1.8", "jest": "^29.4.3", "lint-staged": "^13.1.2", "npm-run-all": "^4.1.5", "opener": "^1.5.2", "rimraf": "^4.1.2", "ts-jest": "^29.0.5", "typedoc": "^0.23.25", "typescript": "^4.9.5" } }