setup: initialize project with package.json, tsconfig, tsup, vitest, src skeleton, and test placeholders
This commit is contained in:
135
package.json
Normal file
135
package.json
Normal file
@@ -0,0 +1,135 @@
|
||||
{
|
||||
"name": "@alkdev/flowgraph",
|
||||
"version": "0.1.0",
|
||||
"description": "Workflow graph library — DAG-based operation orchestration over graphology, with ujsx template composition and reactive execution",
|
||||
"type": "module",
|
||||
"main": "./dist/index.cjs",
|
||||
"module": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/index.d.cts",
|
||||
"default": "./dist/index.cjs"
|
||||
}
|
||||
},
|
||||
"/component": {
|
||||
"import": {
|
||||
"types": "./dist/component/index.d.ts",
|
||||
"default": "./dist/component/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/component/index.d.cts",
|
||||
"default": "./dist/component/index.cjs"
|
||||
}
|
||||
},
|
||||
"/host": {
|
||||
"import": {
|
||||
"types": "./dist/host/index.d.ts",
|
||||
"default": "./dist/host/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/host/index.d.cts",
|
||||
"default": "./dist/host/index.cjs"
|
||||
}
|
||||
},
|
||||
"/schema": {
|
||||
"import": {
|
||||
"types": "./dist/schema/index.d.ts",
|
||||
"default": "./dist/schema/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/schema/index.d.cts",
|
||||
"default": "./dist/schema/index.cjs"
|
||||
}
|
||||
},
|
||||
"/graph": {
|
||||
"import": {
|
||||
"types": "./dist/graph/index.d.ts",
|
||||
"default": "./dist/graph/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/graph/index.d.cts",
|
||||
"default": "./dist/graph/index.cjs"
|
||||
}
|
||||
},
|
||||
"/reactive": {
|
||||
"import": {
|
||||
"types": "./dist/reactive/index.d.ts",
|
||||
"default": "./dist/reactive/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/reactive/index.d.cts",
|
||||
"default": "./dist/reactive/index.cjs"
|
||||
}
|
||||
},
|
||||
"/analysis": {
|
||||
"import": {
|
||||
"types": "./dist/analysis/index.d.ts",
|
||||
"default": "./dist/analysis/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/analysis/index.d.cts",
|
||||
"default": "./dist/analysis/index.cjs"
|
||||
}
|
||||
},
|
||||
"/error": {
|
||||
"import": {
|
||||
"types": "./dist/error/index.d.ts",
|
||||
"default": "./dist/error/index.js"
|
||||
},
|
||||
"require": {
|
||||
"types": "./dist/error/index.d.cts",
|
||||
"default": "./dist/error/index.cjs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsup",
|
||||
"build:tsc": "tsc",
|
||||
"test": "vitest run",
|
||||
"test:watch": "vitest",
|
||||
"test:coverage": "vitest run --coverage",
|
||||
"lint": "tsc --noEmit",
|
||||
"prepublishOnly": "npm run build"
|
||||
},
|
||||
"keywords": [
|
||||
"flowgraph",
|
||||
"dag",
|
||||
"workflow",
|
||||
"graphology",
|
||||
"ujsx",
|
||||
"operations"
|
||||
],
|
||||
"license": "MIT OR Apache-2.0",
|
||||
"dependencies": {
|
||||
"@alkdev/typebox": "^0.34.49",
|
||||
"@alkdev/ujsx": "^0.1.0",
|
||||
"@preact/signals-core": "^1.14.1",
|
||||
"graphology": "^0.26.0",
|
||||
"graphology-dag": "^0.4.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@alkdev/operations": "^0.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^22.0.0",
|
||||
"@vitest/coverage-v8": "^3.2.4",
|
||||
"tsup": "^8.5.1",
|
||||
"typescript": "^5.7.0",
|
||||
"vitest": "^3.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user