ton-assembly
Version:
TON assembler and disassembler
126 lines (125 loc) • 3.97 kB
JSON
{
"name": "ton-assembly",
"version": "0.6.1",
"description": "TON assembler and disassembler",
"author": "TON Studio & TON Core",
"repository": {
"type": "git",
"url": "https://github.com/ton-blockchain/tasm"
},
"homepage": "https://github.com/ton-blockchain/tasm#readme",
"bugs": {
"url": "https://github.com/ton-blockchain/tasm/issues"
},
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"keywords": [
"ton",
"tvm",
"assembly",
"assembler",
"disassembler",
"blockchain",
"smart-contracts"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"scripts": {
"build": "tsc --declaration",
"lint": "eslint --cache .",
"fmt": "prettier --write -l --cache .",
"fmt:check": "prettier --check --cache .",
"test": "jest",
"coverage": "c8 jest",
"gen:grammar": "pgen src/text/grammar.gg -o src/text/grammar.ts",
"gen:grammar:fift": "peggy --dts --format es -o src/fift/parse/grammar.gen.pegjs.ts --allowed-start-rules SourceFile src/fift/parse/grammar.pegjs && sed -i '' '1i\\\n// @ts-nocheck\n' src/fift/parse/grammar.gen.pegjs.ts",
"gen:grammar:logs": "peggy --dts --format es -o src/logs/grammar.gen.pegjs.ts --allowed-start-rules vmLine,VmParsedStack src/logs/grammar.pegjs",
"gen:asm": "ts-node src/generator/gen-constructors.ts && ts-node src/generator/gen-converter.ts && ts-node src/generator/gen-instr.ts && ts-node src/generator/gen-printer.ts && ts-node src/generator/gen-types.ts && yarn fmt",
"prepare": "yarn precommit",
"precommit": "yarn build && yarn fmt && yarn lint && yarn test"
},
"dependencies": {
"@tonstudio/parser-runtime": "^0.0.1",
"cac": "^6.7.14",
"ton-source-map": "^0.2.2"
},
"peerDependencies": {
"@ton/core": ">=0.61.0"
},
"peerDependenciesMeta": {
"@ton/core": {
"optional": false
}
},
"devDependencies": {
"@ton-community/func-js": "^0.9.1",
"@ton/core": "^0.61.0",
"@ton/crypto": "^3.3.0",
"@ton/sandbox": "^0.37.1",
"@ton/test-utils": "^0.12.0",
"@ton/tolk-js": "^1.2.0",
"@tonstudio/pgen": "^0.0.1",
"@types/diff": "^7.0.1",
"@types/jest": "^29.5.14",
"@types/node": "^22.15.30",
"buffer": "^6.0.3",
"c8": "^10.1.3",
"diff": "^8.0.2",
"eslint": "^9.28.0",
"eslint-plugin-unicorn": "^59.0.1",
"eslint-plugin-unused-imports": "^4.1.4",
"husky": "^9.1.7",
"jest": "^29.7.0",
"peggy": "^5.0.3",
"prettier": "^3.5.3",
"ts-jest": "^29.3.4",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"typescript-eslint": "^8.33.1"
},
"prettier": {
"arrowParens": "avoid",
"bracketSpacing": false,
"printWidth": 100,
"semi": false,
"singleQuote": false,
"tabWidth": 4,
"trailingComma": "all",
"useTabs": false,
"overrides": [
{
"files": [
"*.yaml",
"*.yml"
],
"options": {
"tabWidth": 2
}
}
]
},
"files": [
"dist/",
"!dist/**/test/**",
"!dist/generator/**",
"dist/generator/instructions.js",
"dist/generator/instructions.d.ts",
"!dist/helpers/**",
"dist/cli/**",
"!dist/debugger/**",
"!*.d.ts.map",
"!*.js.map"
],
"publishConfig": {
"access": "public"
},
"packageManager": "yarn@4.6.0",
"bin": {
"tasm": "./dist/cli/assembler.js",
"tdisasm": "./dist/cli/disassembler.js",
"tfift": "./dist/cli/fift-compiler.js"
}
}