Changed the "main" attribute from "index.js" to "lib.js" and added "module" and "exports" fields for compatibility with both import and require statements. Also incremented the version from 1.0.3 to 1.0.4.
35 lines
886 B
JSON
35 lines
886 B
JSON
{
|
|
"name": "workflow-function-manifold",
|
|
"version": "1.0.4",
|
|
"type": "module",
|
|
"description": "for building dynamic, LLM-driven workflows using a region-based execution model",
|
|
"main": "lib.js",
|
|
"module": "lib.js",
|
|
"exports": {
|
|
".": {
|
|
"import": "./lib.js",
|
|
"require": "./lib.js"
|
|
}
|
|
},
|
|
"bin": {
|
|
"workflow-function-manifold": "./bin.js"
|
|
},
|
|
"scripts": {
|
|
"start": "node index.js",
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
|
|
"lint:fix": "eslint . --fix",
|
|
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,yml,yaml}\"",
|
|
"fix": "pnpm format && pnpm lint:fix"
|
|
},
|
|
"keywords": [],
|
|
"author": "geoffsee",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.14.0",
|
|
"eslint": "^9.14.0",
|
|
"globals": "^15.12.0",
|
|
"prettier": "^3.3.3"
|
|
}
|
|
}
|