81 lines
2.0 KiB
JSON
81 lines
2.0 KiB
JSON
{
|
|
"name": "@polymech/xblox",
|
|
"version": "0.1.0",
|
|
"description": "Block control-flow engine (if/for/while/switch/runScript) with Zod schemas, vm2-backed Node runtime, and pm-xblox CLI.",
|
|
"type": "module",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"author": "Polymech",
|
|
"license": "MIT",
|
|
"files": [
|
|
"dist-in",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://git.polymech.io/polymech/mono.git",
|
|
"directory": "packages/xblox"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist-in/index.d.ts",
|
|
"import": "./dist-in/index.js"
|
|
},
|
|
"./runtime": {
|
|
"types": "./dist-in/runtime/index.d.ts",
|
|
"import": "./dist-in/runtime/index.js"
|
|
}
|
|
},
|
|
"types": "./dist-in/index.d.ts",
|
|
"main": "./dist-in/index.js",
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"build": "tsc -p .",
|
|
"dev": "tsc -p . --watch",
|
|
"clean": "rimraf dist dist-in",
|
|
"lint": "eslint src --ext .ts",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:ui": "vitest --ui",
|
|
"test:perf": "vitest run tests/unit/perf-report.test.ts",
|
|
"prepack": "npm run build",
|
|
"webpack": "webpack --config webpack.config.js --stats-error-details"
|
|
},
|
|
"bin": {
|
|
"pm-xblox": "./dist-in/cli.js"
|
|
},
|
|
"dependencies": {
|
|
"vm2": "^3.9.19",
|
|
"yargs": "17.7.2",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@repo/typescript-config": "file:../typescript-config",
|
|
"@types/node": "22.10.2",
|
|
"@types/yargs": "^17.0.33",
|
|
"@typescript-eslint/eslint-plugin": "8.57.1",
|
|
"@typescript-eslint/parser": "8.57.1",
|
|
"@vitest/coverage-v8": "4.1.0",
|
|
"@vitest/ui": "4.1.0",
|
|
"eslint": "^8.57.1",
|
|
"rimraf": "6.0.1",
|
|
"ts-loader": "9.5.1",
|
|
"typescript": "^5.7.2",
|
|
"vitest": "4.1.0",
|
|
"webpack": "5.105.4",
|
|
"webpack-cli": "6.0.1"
|
|
},
|
|
"keywords": [
|
|
"xblox",
|
|
"visual-programming",
|
|
"blocks",
|
|
"flow",
|
|
"control-flow",
|
|
"zod",
|
|
"vitest"
|
|
]
|
|
}
|