UNPKG

thebe-core

Version:

Typescript based core functionality for Thebe

117 lines (116 loc) 3.85 kB
{ "name": "thebe-core", "version": "0.5.0", "description": "Typescript based core functionality for Thebe", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/types/index.d.ts", "style": "dist/lib/thebe-core.css", "files": [ "dist/**/*", "src/**/*" ], "scripts": { "clean": "rm -rf dist", "prepublish": "npm run build", "copy:version": "echo \"const version = '\"$npm_package_version\"';\nexport default version;\" > src/version.ts", "build:css": "node ./esbuild.css.js", "build:cjs": "tsc --project ./tsconfig.json --outDir ./dist/cjs", "build:esm": "tsc --project ./tsconfig.json --module ES2020 --outDir ./dist/esm", "build:bundle:dev": "webpack --config webpack.dev.js", "build:bundle": "webpack --config webpack.prod.js", "declarations": "tsc --project ./tsconfig.json --declaration --emitDeclarationOnly --outDir dist/types", "build:dev": "npm-run-all -l clean copy:version -p declarations build:cjs build:esm build:css build:bundle:dev", "build": "npm-run-all -l clean copy:version -p declarations build:cjs build:esm build:css build:bundle", "build:watch": "concurrently 'npm run build:cjs -- -w' 'npm run copy:css' 'npm run build:bundle -- --watch'", "dev": "npm run copy:version && npm run build:watch", "start": "webpack serve --open --config webpack.dev.js", "test:watch": "vitest", "test": "vitest run", "serve": "http-server .", "lint": "eslint src/**/*.ts*", "lint:format": "prettier --check \"src/**/*.{ts,tsx}\"", "lint:format:fix": "prettier --write \"src/**/*.{ts,tsx}\"" }, "keywords": [ "executablebooks", "thebe", "jupyter", "jupyter-book", "interactivity" ], "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/executablebooks/thebe.git" }, "bugs": { "url": "https://github.com/executablebooks/thebe/issues" }, "author": { "name": "Steve Purves", "email": "steve@curvneote.com" }, "license": "MIT", "devDependencies": { "@types/jest": "^29.2.1", "@types/lodash.merge": "^4.6.6", "@types/requirejs": "^2.1.34", "chalk": "4.1.2", "concurrently": "^7.0.0", "copy-webpack-plugin": "^10.2.4", "css-loader": "^6.6.0", "esbuild": "^0.15.6", "eslint-config-thebe": "*", "eventsource": "^2.0.2", "express": "^4.17.2", "file-loader": "^6.2.0", "html-webpack-plugin": "^5.5.0", "http-server": "^14.1.1", "ignore-loader": "^0.1.2", "jest": "^29.4.1", "npm-run-all": "^4.1.5", "prettier": "^2.7.1", "style-loader": "^3.3.1", "thebe-lite": "^0.5.0", "ts-jest": "^29.0.5", "ts-loader": "^9.3.1", "ts-node": "^10.9.1", "typescript": "^4.5.5", "webpack": "^5.74.0", "webpack-cli": "^4.10.0", "webpack-dev-server": "^4.7.4", "webpack-merge": "^5.8.0" }, "peerDependencies": { "thebe-lite": "^0.5.0" }, "dependencies": { "@jupyter-widgets/base": "^6.0.10", "@jupyter-widgets/controls": "^5.0.11", "@jupyter-widgets/html-manager": "^1.0.13", "@jupyter-widgets/jupyterlab-manager": "^5.0.13", "@jupyter-widgets/output": "^6.0.10", "@jupyterlab/javascript-extension": "^4.2.5", "@jupyterlab/json-extension": "^4.2.5", "@jupyterlab/mathjax2": "^3.6.8", "@jupyterlab/outputarea": "^4.2.5", "@jupyterlab/rendermime": "^4.2.5", "@jupyterlab/services": "^7.2.5", "@jupyterlab/testutils": "^4.2.5", "@jupyterlab/theme-light-extension": "^4.2.5", "@lumino/widgets": "^2.5.0", "@reduxjs/toolkit": "^1.7.1", "jest-environment-jsdom": "^28.1.2", "lodash.merge": "^4.6.2", "nanoid": "^3.2.0" }, "nohoist": [ "requirejs" ], "bin": { "copy-thebe-assets": "./bin/copy-thebe-assets.cjs" } }