Fix: Modified files so the client works with TS fine
This commit is contained in:
68
package.json
68
package.json
@@ -1,47 +1,49 @@
|
||||
{
|
||||
"name": "tryton-rpc-client-js",
|
||||
"name": "tryton-rpc-client",
|
||||
"version": "1.0.0",
|
||||
"description": "JavaScript RPC Client for Tryton ERP Server",
|
||||
"main": "src/client.js",
|
||||
"description": "Cliente RPC TypeScript para Tryton ERP - Compatible con Node.js",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"type": "commonjs",
|
||||
"scripts": {
|
||||
"test": "node examples/test.js",
|
||||
"example": "node examples/basic.js",
|
||||
"lint": "eslint src/ examples/",
|
||||
"start": "node examples/test.js"
|
||||
"build": "tsc",
|
||||
"build:watch": "tsc --watch",
|
||||
"clean": "rimraf dist",
|
||||
"prepare": "npm run build",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"example:basic": "node dist/examples/basic-connection.js"
|
||||
},
|
||||
"keywords": [
|
||||
"tryton",
|
||||
"erp",
|
||||
"rpc",
|
||||
"client",
|
||||
"javascript",
|
||||
"typescript",
|
||||
"nodejs",
|
||||
"erp",
|
||||
"json-rpc"
|
||||
"jsonrpc"
|
||||
],
|
||||
"author": "Your Name",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/your-username/tryton-rpc-client-js.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/your-username/tryton-rpc-client-js/issues"
|
||||
},
|
||||
"homepage": "https://github.com/your-username/tryton-rpc-client-js#readme",
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=12.0.0"
|
||||
},
|
||||
"files": [
|
||||
"src/",
|
||||
"examples/",
|
||||
"README.md",
|
||||
"LICENSE",
|
||||
"CHANGELOG.md"
|
||||
],
|
||||
"devDependencies": {
|
||||
"eslint": "^8.0.0"
|
||||
"node": ">=14.0.0"
|
||||
},
|
||||
"dependencies": {},
|
||||
"optionalDependencies": {},
|
||||
"peerDependencies": {}
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.0.0",
|
||||
"typescript": "^5.0.0",
|
||||
"rimraf": "^5.0.0"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
"README.md",
|
||||
"LICENSE"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": ""
|
||||
},
|
||||
"bugs": {
|
||||
"url": ""
|
||||
},
|
||||
"homepage": ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user