mirror of
https://codeberg.org/reflect/reflect-client-js.git
synced 2025-09-14 14:03:41 +02:00
wip: 2023-09-20T13:43:23+0200 (1695210203)
This commit is contained in:
parent
fbea20b268
commit
a7855f5631
3 changed files with 13 additions and 6 deletions
11
package.json
11
package.json
|
@ -1,7 +1,16 @@
|
|||
{
|
||||
"name": "reflect-client",
|
||||
"version": "1.0.0",
|
||||
"version": "1.1.0-beta.0",
|
||||
"main": "build/Reflect.js",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": {
|
||||
"types": "./src/Reflect.ts",
|
||||
"default": "./build/Reflect.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.2.2"
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Method } from "./Method";
|
||||
import { Method } from "./Method.js";
|
||||
|
||||
// Connect to a Reflect API instance over HTTP
|
||||
export default class Client {
|
||||
|
|
|
@ -2,9 +2,7 @@
|
|||
"compilerOptions": {
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"module": "amd",
|
||||
"target": "ES6",
|
||||
"rootDir": "./src",
|
||||
"outFile": "./build/Reflect.js"
|
||||
"module": "NodeNext",
|
||||
"outDir": "./build"
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue