parent
e32233c4f7
commit
4c3727451b
|
@ -1,3 +1,2 @@
|
|||
node_modules
|
||||
*.wasm
|
||||
*.js
|
||||
dist
|
||||
|
|
|
@ -2,6 +2,17 @@
|
|||
"name": "@upnd/upend",
|
||||
"version": "0.4.1",
|
||||
"description": "Client library to interact with the UpEnd system.",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"files": [
|
||||
"dist/**/*"
|
||||
],
|
||||
"exports": {
|
||||
".": "./dist/index.js",
|
||||
"./*": "./dist/*.js",
|
||||
"./wasm": "./dist/wasm/index.js",
|
||||
"./wasm/*": "./dist/wasm/*.js"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc --build --verbose",
|
||||
"test": "pnpm build && ava",
|
||||
|
@ -9,11 +20,6 @@
|
|||
},
|
||||
"author": "Tomáš Mládek <t@mldk.cz>",
|
||||
"license": "AGPL-3.0",
|
||||
"files": [
|
||||
"**/*.ts",
|
||||
"**/*.js",
|
||||
"**/*.wasm"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@types/debug": "^4.1.8",
|
||||
"@typescript-eslint/eslint-plugin": "latest",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import LRU from "lru-cache";
|
||||
import type { Query, UpObject } from ".";
|
||||
import { UpListing } from ".";
|
||||
import type { Query, UpObject } from "./index";
|
||||
import { UpListing } from "./index";
|
||||
import type {
|
||||
Address,
|
||||
ADDRESS_TYPE,
|
|
@ -1,5 +1,5 @@
|
|||
import type { AddressComponents, AddressTypeConstants } from ".";
|
||||
import { UpEndWasmExtensions } from ".";
|
||||
import type { AddressComponents, AddressTypeConstants } from "./index";
|
||||
import { UpEndWasmExtensions } from "./index";
|
||||
import {
|
||||
addr_to_components,
|
||||
components_to_addr,
|
|
@ -1,5 +1,5 @@
|
|||
import type { AddressComponents, AddressTypeConstants } from ".";
|
||||
import { UpEndWasmExtensions } from ".";
|
||||
import type { AddressComponents, AddressTypeConstants } from "./index";
|
||||
import { UpEndWasmExtensions } from "./index";
|
||||
import type { InitInput } from "@upnd/wasm-web";
|
||||
import {
|
||||
addr_to_components,
|
|
@ -1,11 +1,19 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"lib": ["es2019", "DOM"],
|
||||
"module": "commonjs",
|
||||
"importsNotUsedAsValues": "error",
|
||||
"declaration": true,
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true
|
||||
}
|
||||
"importsNotUsedAsValues": "error",
|
||||
"lib": [
|
||||
"es2019",
|
||||
"DOM"
|
||||
],
|
||||
"module": "commonjs",
|
||||
"outDir": "dist",
|
||||
"rootDir": "src",
|
||||
"strict": true,
|
||||
"target": "es5"
|
||||
},
|
||||
"include": ["src/**/*"],
|
||||
"exclude": ["node_modules", "dist"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue