UNPKG

@signcl/react-ipynb-renderer

Version:

A react component that displays an ipynb file.

124 lines (123 loc) 4.72 kB
{ "name": "@signcl/react-ipynb-renderer", "homepage": "https://docs.walkframe.com/react-ipynb-renderer", "version": "2.2.8", "description": "A react component that displays an ipynb file.", "main": "dist/index.js", "module": "dist/index.js", "scripts": { "build": "rm -rf ./dist && webpack", "analyze": "rm -rf ./dist && webpack --analyze", "storybook:run": "storybook dev -p 6006", "storybook:build": "storybook build", "prettier": "prettier --write \"src/**/*.{ts,tsx}\"", "eslint": "eslint --ext .ts,.tsx src", "e2e:ui": "npx playwright test --ui", "e2e:gen": "npx playwright codegen", "e2e:run": "cd e2e && npx playwright test -c playwright.config.ts", "e2e:ci": "cd e2e && npx playwright test -c playwright.config.ci.ts", "build-default-css": "lessc --clean-css ./src/styles/default.less ./dist/styles/default.css", "build-dark-css": "lessc --clean-css ./src/styles/dark.less ./dist/styles/dark.css", "build-darkbronco-css": "lessc --clean-css ./src/styles/darkbronco.less ./dist/styles/darkbronco.css", "build-dorkula-css": "lessc --clean-css ./src/styles/dorkula.less ./dist/styles/dorkula.css", "build-chesterish-css": "lessc --clean-css ./src/styles/chesterish.less ./dist/styles/chesterish.css", "build-grade3-css": "lessc --clean-css ./src/styles/grade3.less ./dist/styles/grade3.css", "build-gruvboxd-css": "lessc --clean-css ./src/styles/gruvboxd.less ./dist/styles/gruvboxd.css", "build-gruvboxl-css": "lessc --clean-css ./src/styles/gruvboxl.less ./dist/styles/gruvboxl.css", "build-monokai-css": "lessc --clean-css ./src/styles/monokai.less ./dist/styles/monokai.css", "build-oceans16-css": "lessc --clean-css ./src/styles/oceans16.less ./dist/styles/oceans16.css", "build-onedork-css": "lessc --clean-css ./src/styles/onedork.less ./dist/styles/onedork.css", "build-solarizedd-css": "lessc --clean-css ./src/styles/solarizedd.less ./dist/styles/solarizedd.css", "build-solarizedl-css": "lessc --clean-css ./src/styles/solarizedl.less ./dist/styles/solarizedl.css" }, "author": "righ", "license": "Apache-2.0", "keywords": [ "jupyter", "ipynb", "notebook", "ipython", "jupyterlab", "mathjax" ], "devDependencies": { "@babel/cli": "^7.14.3", "@babel/core": "^7.14.3", "@babel/preset-env": "^7.14.4", "@babel/preset-react": "^7.13.13", "@babel/preset-typescript": "^7.13.0", "@chromatic-com/storybook": "^1.2.22", "@playwright/test": "^1.42.1", "@storybook/addon-actions": "^8.0.0", "@storybook/addon-essentials": "^8.0.0", "@storybook/addon-interactions": "^8.0.0", "@storybook/addon-links": "^8.0.0", "@storybook/addon-onboarding": "^8.0.0", "@storybook/addon-webpack5-compiler-babel": "^3.0.3", "@storybook/addon-webpack5-compiler-swc": "^1.0.2", "@storybook/blocks": "^8.0.0", "@storybook/react": "^8.0.0", "@storybook/react-webpack5": "^8.0.0", "@storybook/test": "^8.0.0", "@types/dompurify": "^3.0.5", "@types/katex": "^0.16.7", "@types/node": "^15.12.1", "@types/react": "^19.0.2", "@types/react-syntax-highlighter": "^15.5.11", "@types/storybook__react": "^5.2.1", "@typescript-eslint/eslint-plugin": "^7.2.0", "@typescript-eslint/parser": "^7.2.0", "babel-loader": "^8.2.2", "babel-plugin-macros": "^3.1.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^5.1.3", "json-loader": "^0.5.7", "katex": "^0.16.9", "less": "^4.1.1", "less-loader": "7.3.0", "less-plugin-clean-css": "^1.5.1", "prettier": "^3.2.5", "react": "^19.0.0", "react-dom": "^19.0.0", "rehype-katex": "^7.0.0", "require-context.macro": "^1.2.2", "storybook": "^8.0.0", "ts-loader": "8.2.0", "typescript": "^5.4.2", "typescript-declaration-webpack-plugin": "^0.2.2", "webpack": "^5.90.3", "webpack-bundle-analyzer": "^4.4.2", "webpack-cli": "^5.1.4", "yarn-audit-fix": "^9.3.6" }, "peerDependencies": { "react": ">=18.0.0", "react-dom": ">=18.0.0" }, "dependencies": { "anser": "^2.1.1", "isomorphic-dompurify": "^2.15.0", "react-markdown": "^10.1.0", "react-syntax-highlighter": "^15.5.0", "rehype-mathjax": "^6.0.0", "rehype-raw": "^7.0.0", "remark-gfm": "^4.0.0", "remark-math": "^6.0.0", "unified": "^11.0.5" }, "files": [ "dist/", "package.json" ], "repository": { "type": "git", "url": "git+https://github.com/righ/react-ipynb-renderer.git" }, "eslintConfig": { "extends": [ "plugin:storybook/recommended" ] } }