tests passing

This commit is contained in:
2024-11-14 23:37:22 -05:00
parent 48e1bdc624
commit 5386081964
5 changed files with 196 additions and 118 deletions

View File

@@ -1,4 +1,3 @@
{
"name": "workflow-function-manifold",
"version": "1.0.7",
@@ -8,8 +7,10 @@
"module": "src/index.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.js"
"import": {
"types": "./src/index.ts",
"default": "./dist/index.js"
}
}
},
"bin": {
@@ -18,9 +19,9 @@
"scripts": {
"start": "bun src/cli.ts",
"dev": "bun src/cli.ts",
"build": "rm -rf ./dist && bun build src/* --outdir dist",
"build": "rm -rf ./dist && bun build src/* --outdir dist --target browser --format esm --minify",
"cli": "bun src/cli.ts",
"test": "echo \"Error: no test specified\" && exit 1",
"test": "node dist/cli.js && bun test",
"lint": "eslint .",
"deploy:dev": "pnpm publish .",
"lint:fix": "eslint . --fix",
@@ -32,7 +33,7 @@
"license": "MIT",
"devDependencies": {
"@eslint/js": "^9.14.0",
"@types/bun": "^1.1.13",
"@types/bun": "latest",
"bun": "^1.1.34",
"eslint": "^9.14.0",
"globals": "^15.12.0",