Run in Node
This commit is contained in:
+4
-2
@@ -1,13 +1,14 @@
|
|||||||
{
|
{
|
||||||
"name": "jlc",
|
"name": "jlc",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
|
"type": "module",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"author": "Freywar Ulvnaudgari <freywar.ulvnaudgari@gmail.com>",
|
"author": "Freywar Ulvnaudgari <freywar.ulvnaudgari@gmail.com>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rm -rf build && tsc",
|
"build": "rm -rf build && tsc",
|
||||||
"run": "yarn build && node build/index.js",
|
"start": "yarn build && node --import=extensionless/register build/index.js",
|
||||||
"run:debug": "yarn build && node --inspect-brk build/index.js",
|
"start:debug": "yarn build && node --inspect-brk --import=extensionless/register build/index.js",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
|
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
|
||||||
"lint": "eslint",
|
"lint": "eslint",
|
||||||
@@ -21,6 +22,7 @@
|
|||||||
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
||||||
"@typescript-eslint/parser": "^8.0.0",
|
"@typescript-eslint/parser": "^8.0.0",
|
||||||
"eslint": "^9.8.0",
|
"eslint": "^9.8.0",
|
||||||
|
"extensionless": "^1.9.9",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
"ts-jest": "^29.2.3",
|
"ts-jest": "^29.2.3",
|
||||||
"ts-node": "^10.9.2",
|
"ts-node": "^10.9.2",
|
||||||
|
|||||||
+3
-8
@@ -1,8 +1,3 @@
|
|||||||
export * from './core';
|
import { toNative as $$, _, fromNative as __, id } from './core';
|
||||||
export * from './bool';
|
|
||||||
export * from './num';
|
console.log($$(id._(__('first'))));
|
||||||
export * from './byte';
|
|
||||||
export * from './char';
|
|
||||||
export * from './list';
|
|
||||||
export * from './pair';
|
|
||||||
export * from './bf';
|
|
||||||
|
|||||||
@@ -1470,6 +1470,11 @@ expect@^29.7.0:
|
|||||||
jest-message-util "^29.7.0"
|
jest-message-util "^29.7.0"
|
||||||
jest-util "^29.7.0"
|
jest-util "^29.7.0"
|
||||||
|
|
||||||
|
extensionless@^1.9.9:
|
||||||
|
version "1.9.9"
|
||||||
|
resolved "https://registry.yarnpkg.com/extensionless/-/extensionless-1.9.9.tgz#1ddb102f2fa164f421c195d5edaca80d9887dc91"
|
||||||
|
integrity sha512-fz0cWfLA4pgc2nwmg6lc2UH+g+NlFuD63VWqp8n1wGAZSSbPNoARkA54BxXRjYCYW9LvhBnA3NyJaGS2KudkWw==
|
||||||
|
|
||||||
fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
|
fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
|
||||||
version "3.1.3"
|
version "3.1.3"
|
||||||
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
|
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
|
||||||
|
|||||||
Reference in New Issue
Block a user