t3-lang
Version:
T3 brings a smoother, cleaner experience to JavaScript with TypeScript's power—minus the clutter.
67 lines • 1.67 kB
JSON
{
"name": "t3-lang",
"version": "0.0.17",
"description": "T3 brings a smoother, cleaner experience to JavaScript with TypeScript's power—minus the clutter.",
"keywords": [
"t3",
"typescript",
"typescript-superset",
"transpiler",
"pegjs",
"peggy",
"dsl",
"minimal-syntax",
"syntax-sugar",
"custom-script"
],
"type": "module",
"author": "Falsy",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/falsy/t3.git"
},
"homepage": "https://github.com/falsy/t3#readme",
"bugs": {
"url": "https://github.com/falsy/t3/issues"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"copy": "cp src/grammar.pegjs dist/grammar.pegjs && cp src/t3.d.ts dist/t3.d.ts",
"build": "tsc && npm run copy",
"build:bin": "rm -rf bin && mkdir -p bin && esbuild src/t3.ts --bundle --platform=node --format=esm --outfile=bin/t3.js --packages=external --banner:js=\"#!/usr/bin/env node\" && chmod +x bin/t3.js && cp src/grammar.pegjs bin/grammar.pegjs",
"dev": "npm run build:bin && ./bin/t3.js ./dev/test.t3",
"test": "npx tsx tests/testRunner.ts"
},
"engines": {
"node": ">=20.0.0"
},
"dependencies": {
"peggy": "^4.2.0"
},
"devDependencies": {
"@types/node": "^20.10.0",
"typescript": "^5.0.0",
"esbuild": "^0.25.2"
},
"bin": {
"t3": "bin/t3.js"
},
"files": [
"bin",
"dist",
"dist/t3.d.ts"
],
"typesVersions": {
"*": {
"*": ["dist/index.d.ts"]
}
}
}