Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/python-wasm
Path: blob/main/python/pylang/package.json
1391 views
1
{
2
"name": "pylang",
3
"version": "1.1.4",
4
"description": "PyLang -- lightweight implementation of a Python-like language in Javascript for use in node and the browser.",
5
"homepage": "https://github.com/sagemathinc/cowasm/tree/main/python/pylang#readme",
6
"keywords": ["javascript", "python", "language", "compiler"],
7
"main": "tools/compiler.js",
8
"files": ["README.md", "package.json", "dist", "bin", "src"],
9
"scripts": {
10
"preinstall": "npx only-allow pnpm",
11
"test": "pnpm exec tsc && ./bin/pylang self --complete --test . ",
12
"start": "node bin/pylang",
13
"build": "pnpm exec tsc && pnpm dlx [email protected] self --complete --base-path .",
14
"tsc": "pnpm exec tsc -w",
15
"clean": "rm -rf dist",
16
"format": "pnpm run yapf && pnpm run prettier",
17
"mypy": "git grep -l '^# mypy' | xargs mypy",
18
"prettier": "prettier --write .",
19
"yapf": "yapf -p -i --recursive src/output bench src/compiler.py src/parse.py src/utils.py src/tokenizer.py",
20
"prepublishOnly": "pnpm run clean && pnpm run build && pnpm run test"
21
},
22
"license": "BSD-3-Clause",
23
"engines": {
24
"node": ">=0.14.0"
25
},
26
"maintainers": [
27
{
28
"name": "William Stein",
29
"email": "[email protected]"
30
}
31
],
32
"repository": {
33
"type": "git",
34
"url": "https://github.com/sagemathinc/cowasm/tree/main/python/pylang"
35
},
36
"bugs": {
37
"url": "https://github.com/sagemathinc/cowasm/issues"
38
},
39
"devDependencies": {
40
"@types/node": "^18.6.1",
41
"prettier": "^2.7.1",
42
"typescript": "^4.7.4"
43
},
44
"bin": {
45
"pylang": "bin/pylang"
46
}
47
}
48
49