Prepare package.json for NPM publish

This commit is contained in:
David 2025-04-20 21:29:57 +00:00
parent 4eb2a84d72
commit 13f0b1811c

View file

@ -1,7 +1,7 @@
{ {
"name": "alex2node", "name": "alex2node",
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "A Node.js library for creating Alexa-compatible devices using MQTT, based on Alex2MQTT.",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"exports": { "exports": {
@ -11,15 +11,34 @@
}, },
"type": "commonjs", "type": "commonjs",
"scripts": { "scripts": {
"build": "tsc" "build": "tsc",
"prepare": "npm run build"
}, },
"keywords": [], "keywords": [
"author": "", "alexa",
"license": "ISC", "mqtt",
"smart-home",
"iot",
"home-automation",
"amazon-alexa",
"alex2mqtt"
],
"author": "user511",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/chaos511/alex2node"
},
"bugs": {
"url": "https://github.com/chaos511/alex2node/issues"
},
"homepage": "https://github.com/chaos511/alex2node#readme",
"devDependencies": { "devDependencies": {
"typescript": "^5.8.3" "typescript": "^5.8.3",
"dotenv": "^16.5.0"
}, },
"dependencies": { "dependencies": {
"dotenv": "^16.5.0" "mqtt": "^5.10.3",
"uuid": "^11.0.3"
} }
} }