UNPKG

@blainehansen/macro-ts

Version:

An ergonomic typescript compiler that enables typesafe syntactic macros.

78 lines (77 loc) 1.86 kB
{ "name": "@blainehansen/macro-ts", "version": "0.1.12", "description": "An ergonomic typescript compiler that enables typesafe syntactic macros.", "bin": { "macro-ts": "./dist/bin/cli.js" }, "main": "./dist/lib/index.js", "types": "./dist/lib/index.d.ts", "exports": { ".": "./dist/lib/index.js", "./": "./dist/lib/", "./register": "./dist/bin/register.js" }, "files": [ "dist" ], "scripts": { "dev": "ts-node lib/message.ts", "ts:ast": "ts-creator lab/_generate.from.ts --use-tabs true --trailing-comma 'all' -o lab/_generate.to.ts", "build": "./build.sh", "clean": "rm -rf dist register .macro-ts", "test": "npm run test:examples", "test:examples": "mocha -r ./dist/bin/register.js examples/use.test.ts", "preversion": "npm run build && npm test", "postversion": "git push origin main && git push origin main --tags && npm publish --access public" }, "keywords": [ "typescript", "typesafe", "compiler", "convenient", "ergonomic", "check", "ts-node", "node", "run", "syntactic", "transform", "loader", "macro", "macro", "rust" ], "author": { "name": "Blaine Hansen", "email": "faichenshing@gmail.com", "url": "https://blainehansen.me" }, "repository": { "type": "git", "url": "https://github.com/blainehansen/macro-ts" }, "license": "MIT", "devDependencies": { "@types/chai": "^4.2.12", "@types/js-yaml": "^3.12.5", "@types/mocha": "^8.0.3", "@types/node": "^14.11.1", "@types/source-map-support": "^0.5.3", "chai": "^4.3.4", "js-yaml": "^3.14.0", "mocha": "^9.1.3", "ts-creator": "^1.2.5", "ts-node": "^10.3.0", "typescript": "^4.4.4" }, "dependencies": { "@iarna/toml": "^2.2.5", "@ts-std/codec": "^0.3.0", "@ts-std/monads": "^1.2.0", "arg": "^4.1.3", "chalk": "^4.1.2", "fast-glob": "^3.2.4", "source-map-support": "^0.5.19" } }