UNPKG

@helios-lang/compiler

Version:

Helios is a Domain Specific Language that compiles to Plutus-Core (i.e. Cardano on-chain validator scripts). Helios is a non-Haskell alternative to Plutus. With this library you can compile Helios scripts and build Cardano transactions, all you need to bu

74 lines 2.78 kB
{ "name": "@helios-lang/compiler", "version": "0.17.22", "description": "Helios is a Domain Specific Language that compiles to Plutus-Core (i.e. Cardano on-chain validator scripts). Helios is a non-Haskell alternative to Plutus. With this library you can compile Helios scripts and build Cardano transactions, all you need to build 100% client-side dApps for Cardano.", "main": "src/index.js", "types": "types/index.d.ts", "type": "module", "exports": { ".": { "import": "./src/index.js", "require": "./src/index.js", "types": "./types/index.d.ts" }, "./test": "./test/utils.js" }, "author": "Christian Schmitz", "license": "BSD-3-Clause", "repository": { "type": "git", "url": "git+https://github.com/HeliosLang/compiler.git" }, "prettier": { "trailingComma": "none", "tabWidth": 4, "semi": false, "singleQuote": false }, "bugs": { "url": "https://github.com/HeliosLang/compiler/issues" }, "homepage": "https://www.hyperion-bt.org/helios-book", "keywords": [ "blockchain", "crypto", "cryptocurrency", "cardano", "plutus", "smart contracts", "domain specific language", "dsl", "compiler", "transaction builder", "on-chain", "off-chain" ], "devDependencies": { "@types/node": "^20.14.10", "prettier": "^3.3.3", "typescript": "^5.6.2" }, "dependencies": { "@helios-lang/codec-utils": "^0.3.4", "@helios-lang/compiler-utils": "^0.5.15", "@helios-lang/ir": "0.3.9", "@helios-lang/type-utils": "^0.3.0", "@helios-lang/uplc": "^0.7.17" }, "scripts": { "prebuild": "./.pre-push-hook install && pnpm run build:version && pnpm run prettify", "build": "pnpm run build:types && pnpm run test:suite", "build:types": "tsc -p jsconfig.json --noEmit false --emitDeclarationOnly", "build:version": "node -e \"import('fs').then(m => {fs.writeFileSync('./src/program/version.js', 'export const VERSION = \\\"' + process.env.npm_package_version + '\\\"\\n')})\"", "lockfile:sync": "pnpm install --ignore-workspace", "prettify": "prettier . --write", "pretest": "./.pre-push-hook install && pnpm test:version && pnpm run test:pretty", "test": "pnpm run test:types && pnpm run test:suite", "test:pretty": "prettier . --check", "test:suite": "node --stack-trace-limit=50 --test", "test:types": "tsc -p jsconfig.json --noEmit", "test:version": "node -e \"import('./src/index.js').then(m => {if (m.VERSION != process.env.npm_package_version) {throw new Error(\\\"version mismatch\\\")}})\"", "testing": "HL_TEST_TRACE=ok node --stack-trace-limit=50 --test --watch", "testing:debug": "HL_TEST_TRACE=ok node --stack-trace-limit=50 --inspect-wait --test --watch" } }