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 8 additions and 10 deletions

View file

@ -2,8 +2,6 @@
Standard module for NodeJS / TypeScript
Note: TypeScript support is in testing
```js
import { cin } from '@thundernetworkrad/std';
cin('Question').then((response) => {
@ -31,4 +29,4 @@ log('test') // create a file at the first log, add the string to the log
import { getTime } from '@thundernetworkrad/std';
let time = getTime() // return { year, month, day, hours, minutes, seconds }
```
```

View file

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

View file

@ -25,7 +25,7 @@
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
/* 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. */
"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. */