Merge pull request #1 from ThunderNetworkRaD/Fix-Typescript-1
Fixed Imports
This commit is contained in:
commit
d66ba6f0b0
3 changed files with 8 additions and 10 deletions
|
@ -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) => {
|
||||||
|
|
12
package.json
12
package.json
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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. */
|
||||||
|
|
Loading…
Reference in a new issue