mirror of
https://github.com/Qortal/Q-Apps-Utils.git
synced 2025-01-30 14:52:18 +00:00
Fixed import bugs.
This commit is contained in:
parent
7fe7c9da14
commit
ed9a419b92
2
index.js
2
index.js
@ -1,2 +0,0 @@
|
||||
const QortalUtils = require("./src/");
|
||||
module.exports = QortalUtils;
|
11
index.ts
Normal file
11
index.ts
Normal file
@ -0,0 +1,11 @@
|
||||
export * from "./src/Core/Interfaces";
|
||||
export * from "./src/Core/SendCoin";
|
||||
export * from "./src/Core/Types";
|
||||
export * from "./src/Core/API/Names";
|
||||
export * from "./src/Core/API/QortalRequest";
|
||||
export * from "./src/Core/API/Transactions";
|
||||
export * from "./src/Numbers/Colors";
|
||||
export * from "./src/Numbers/NumberConversion";
|
||||
export * from "./src/Numbers/Numbers";
|
||||
export * from "./src/Numbers/StringNumbers";
|
||||
export * from "./src/Strings/printFunctions";
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "qortal-app-utils",
|
||||
"version": "1.0.0",
|
||||
"version": "1.1.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "qortal-app-utils",
|
||||
"version": "1.0.0",
|
||||
"version": "1.1.0",
|
||||
"dependencies": {
|
||||
"@emotion/react": "^11.11.1",
|
||||
"@emotion/styled": "^11.11.0",
|
||||
|
@ -1,15 +1,18 @@
|
||||
{
|
||||
"name": "qortal-app-utils",
|
||||
"version": "1.0.0",
|
||||
"version": "1.1.0",
|
||||
"description": "A series of convenience functions that perform common tasks, especially those that interact with the Qortal blockchain",
|
||||
"keywords": ["Qortal", "QortalDataNetwork"],
|
||||
"keywords": [
|
||||
"Qortal",
|
||||
"QortalDataNetwork"
|
||||
],
|
||||
"author": "Qortal Dev Team",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Qortal/Q-Apps-Utils"
|
||||
},
|
||||
"private": false,
|
||||
"main": "index.js",
|
||||
"main": "index.ts",
|
||||
"types": "index.d.ts",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
@ -7,7 +7,7 @@
|
||||
"declaration": true,
|
||||
"sourceMap": true,
|
||||
/* Bundler mode */
|
||||
"moduleResolution": "node",
|
||||
"moduleResolution": "Node",
|
||||
"esModuleInterop": true,
|
||||
"allowImportingTsExtensions": true,
|
||||
"resolveJsonModule": true,
|
||||
@ -22,6 +22,10 @@
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"allowSyntheticDefaultImports": true
|
||||
},
|
||||
"ts-node": {
|
||||
"esm": true
|
||||
},
|
||||
"experimentalSpecifierResolution": "node",
|
||||
"include": ["src/**/*"],
|
||||
"references": [{ "path": "./tsconfig.node.json" }]
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ import { resolve } from "path";
|
||||
export default defineConfig({
|
||||
build: {
|
||||
lib: {
|
||||
entry: resolve(__dirname, "index.js"),
|
||||
entry: resolve(__dirname, "index.ts"),
|
||||
name: "QortalUtils",
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user