-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
70 lines (70 loc) · 2.27 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"name": "python-playground",
"version": "0.1.0",
"description": "Interactive Playground for Python",
"author": "Jeff Yang",
"license": "MIT",
"type": "module",
"scripts": {
"build": "python scripts/gen_pycompletions.py && vite build",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"dev": "vite",
"dev:api": "SHOW_API_DOCS=1 uvicorn api.main:app --reload",
"fmt": "prettier --write . && sh scripts/run_code_style.sh fmt",
"lint": "prettier --check . && sh scripts/run_code_style.sh lint",
"prepare": "husky install",
"release": "node scripts/release.js",
"serve": "vite preview",
"setup:dev": "pnpm i && pip install -r api/requirements.txt && sh scripts/run_code_style.sh install",
"setup:ci": "pnpm i --frozen-lockfile && pip install -r api/requirements.txt && sh scripts/run_code_style.sh install",
"test": "pnpm run test:front && pnpm run test:back",
"test:front": "node src/__tests__/test.js",
"test:back": "pytest api/test_*.py --color yes"
},
"devDependencies": {
"@codemirror/autocomplete": "^0.20.1",
"@codemirror/closebrackets": "^0.19.2",
"@codemirror/commands": "^0.20.0",
"@codemirror/comment": "^0.19.1",
"@codemirror/fold": "^0.19.4",
"@codemirror/gutter": "^0.19.9",
"@codemirror/highlight": "^0.19.8",
"@codemirror/history": "^0.19.2",
"@codemirror/lang-python": "^0.20.0",
"@codemirror/language": "^0.20.2",
"@codemirror/matchbrackets": "^0.19.4",
"@codemirror/search": "^0.20.1",
"@codemirror/state": "^0.20.0",
"@codemirror/view": "^0.20.6",
"@vitejs/plugin-vue": "^2.3.3",
"@vue/test-utils": "^2.0.0",
"conventional-changelog-cli": "^2.2.2",
"husky": "^8.0.1",
"lint-staged": "^12.4.1",
"playwright-chromium": "^1.22.2",
"prettier": "^2.6.2",
"prompts": "^2.4.2",
"semver": "^7.3.7",
"uvu": "^0.5.3",
"vite": "^2.9.9",
"vite-plugin-windicss": "^1.8.4",
"vue": "^3.2.36",
"windicss": "^3.5.4"
},
"keywords": [
"python",
"playground",
"repl"
],
"prettier": "@ydcjeff/prettier-config",
"lint-staged": {
"*": [
"prettier --write --ignore-unknown"
],
"*.py": [
"isort --profile black",
"black -l 80",
"flake8 --max-line-length 80"
]
}
}