{
"name": "pylang",
"version": "1.1.4",
"description": "PyLang -- lightweight implementation of a Python-like language in Javascript for use in node and the browser.",
"homepage": "https://github.com/sagemathinc/cowasm/tree/main/python/pylang#readme",
"keywords": ["javascript", "python", "language", "compiler"],
"main": "tools/compiler.js",
"files": ["README.md", "package.json", "dist", "bin", "src"],
"scripts": {
"preinstall": "npx only-allow pnpm",
"test": "pnpm exec tsc && ./bin/pylang self --complete --test . ",
"start": "node bin/pylang",
"build": "pnpm exec tsc && pnpm dlx [email protected] self --complete --base-path .",
"tsc": "pnpm exec tsc -w",
"clean": "rm -rf dist",
"format": "pnpm run yapf && pnpm run prettier",
"mypy": "git grep -l '^# mypy' | xargs mypy",
"prettier": "prettier --write .",
"yapf": "yapf -p -i --recursive src/output bench src/compiler.py src/parse.py src/utils.py src/tokenizer.py",
"prepublishOnly": "pnpm run clean && pnpm run build && pnpm run test"
},
"license": "BSD-3-Clause",
"engines": {
"node": ">=0.14.0"
},
"maintainers": [
{
"name": "William Stein",
"email": "[email protected]"
}
],
"repository": {
"type": "git",
"url": "https://github.com/sagemathinc/cowasm/tree/main/python/pylang"
},
"bugs": {
"url": "https://github.com/sagemathinc/cowasm/issues"
},
"devDependencies": {
"@types/node": "^18.6.1",
"prettier": "^2.7.1",
"typescript": "^4.7.4"
},
"bin": {
"pylang": "bin/pylang"
}
}