Fixed Imports #1

Merged
killerbossoriginal merged 2 commits from Fix-Typescript-1 into main 2023-01-29 21:10:10 +01:00
3 changed files with 7 additions and 9 deletions
Showing only changes of commit 3cf58b2ea8 - Show all commits

View file

@ -2,8 +2,6 @@
Standard module for NodeJS / TypeScript Standard module for NodeJS / TypeScript
Note: TypeScript support is in testing
```js ```js
import { cin } from '@thundernetworkrad/std'; import { cin } from '@thundernetworkrad/std';
cin('Question').then((response) => { cin('Question').then((response) => {

View file

@ -1,16 +1,15 @@
{ {
"name": "@thundernetworkrad/std", "name": "@thundernetworkrad/std",
"version": "2023.01.28-2", "version": "2023.01.29",
"description": "Standard module for javascript", "description": "Standard module for JavaScript / TypeScript",
"main": "build/index.js", "main": "build/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"type": "module",
"scripts": { "scripts": {
"install": "tsc" "install": "tsc"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/FIUSDevelopment/std.git" "url": "git+https://github.com/ThunderNetworkRaD/std.git"
}, },
"keywords": [ "keywords": [
"std", "std",
@ -23,12 +22,13 @@
"author": "Thunder Network RaD | Killer Boss Original", "author": "Thunder Network RaD | Killer Boss Original",
"license": "SEE LICENSE IN LICENSE.txt", "license": "SEE LICENSE IN LICENSE.txt",
"bugs": { "bugs": {
"url": "https://github.com/FIUSDevelopment/std/issues" "url": "https://github.com/ThunderNetworkRaD/std/issues"
}, },
"homepage": "https://github.com/FIUSDevelopment/std#readme", "homepage": "https://github.com/ThunderNetworkRaD/std#readme",
"dependencies": { "dependencies": {
"@thundernetworkrad/readline-sync": "^2023.1.26-2", "@thundernetworkrad/readline-sync": "^2023.1.26-2",
"@types/node": "^18.11.18", "@types/node": "^18.11.18",
"tslib": "^2.5.0",
"typescript": "^4.9.4" "typescript": "^4.9.4"
} }
} }

View file

@ -25,7 +25,7 @@
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
/* Modules */ /* Modules */
"module": "ESNext", /* Specify what module code is generated. */ "module": "CommonJS", /* Specify what module code is generated. */
"rootDir": "./", /* Specify the root folder within your source files. */ "rootDir": "./", /* Specify the root folder within your source files. */
"moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */