mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-26 15:00:11 -05:00
* PyodideRuntime should be one of the runtimes * subsume interpreter into runtime API * fix eslint * add comments * move initializers, postInitializers, scriptsQueue, etc. to initialize() of Runtime Super Class * modify comment for initialize * small renaming * change id to default * fix pyscript.py import * try adding tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add inlineDynamicImports option * Make jest happy about ESM modules * Attempt to make jest happy about pyodide * point to version in accordance with node module being used * fix base.ts * fix tests * fix indexURL path determination * edit pyodide.asm.js as a part of setup process * load runtime beforeAll tests * add test for loading a package * use only runPythonAsync underneath for pyodide * import PyodideInterface type directly from pyodide * add some comments Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Philipp Rudiger <prudiger@anaconda.com>
65 lines
2.2 KiB
JSON
65 lines
2.2 KiB
JSON
{
|
|
"name": "pyscript",
|
|
"version": "0.0.1",
|
|
"scripts": {
|
|
"build-min": "NODE_ENV=production rollup -c",
|
|
"build": "rollup -c",
|
|
"dev": "rollup -c -w",
|
|
"start": "sirv public --no-clear --port 8080",
|
|
"validate": "svelte-check",
|
|
"format:check": "prettier --check './src/**/*.{js,svelte,html,ts}'",
|
|
"format": "prettier --write './src/**/*.{js,svelte,html,ts}'",
|
|
"lint": "eslint './src/**/*.{js,svelte,html,ts}'",
|
|
"lint:fix": "eslint --fix './src/**/*.{js,svelte,html,ts}'",
|
|
"xprelint": "npm run format",
|
|
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --coverage",
|
|
"test:watch": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --watch"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^17.0.0",
|
|
"@rollup/plugin-node-resolve": "^11.0.0",
|
|
"@rollup/plugin-typescript": "^8.3.2",
|
|
"@tsconfig/svelte": "^1.0.0",
|
|
"@types/jest": "^28.1.6",
|
|
"@types/js-yaml": "^4.0.5",
|
|
"@types/node": "^18.7.11",
|
|
"@typescript-eslint/eslint-plugin": "^5.20.0",
|
|
"@typescript-eslint/parser": "^5.20.0",
|
|
"autoprefixer": "^10.4.7",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.14.0",
|
|
"eslint-plugin-svelte3": "^3.4.1",
|
|
"jest": "^28.1.3",
|
|
"jest-environment-jsdom": "^28.1.3",
|
|
"postcss": "^8.4.13",
|
|
"prettier": "^2.6.2",
|
|
"prettier-plugin-svelte": "^2.7.0",
|
|
"pyodide": "^0.21.0",
|
|
"rollup": "^2.71.1",
|
|
"rollup-plugin-css-only": "^3.1.0",
|
|
"rollup-plugin-livereload": "^2.0.0",
|
|
"rollup-plugin-serve": "^1.1.0",
|
|
"rollup-plugin-string": "^3.0.0",
|
|
"rollup-plugin-svelte": "^7.0.0",
|
|
"rollup-plugin-terser": "^7.0.0",
|
|
"svelte": "^3.48.0",
|
|
"svelte-check": "^1.0.0",
|
|
"svelte-preprocess": "^4.10.6",
|
|
"ts-jest": "^28.0.7",
|
|
"tslib": "^2.4.0",
|
|
"typescript": "^4.6.4"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/basic-setup": "^0.19.1",
|
|
"@codemirror/lang-python": "^0.19.5",
|
|
"@codemirror/state": "^0.19.9",
|
|
"@codemirror/theme-one-dark": "^0.19.1",
|
|
"@fortawesome/free-solid-svg-icons": "^6.0.0",
|
|
"codemirror": "^5.65.3",
|
|
"js-yaml": "^4.1.0",
|
|
"sirv-cli": "^1.0.0",
|
|
"svelte-fa": "^2.4.0",
|
|
"svelte-promisable-stores": "^0.1.3"
|
|
}
|
|
}
|