/ concept-collection / jupyterlite-numbl-kernel
Sign in
concept-collection / jupyterlite-numbl-kernel
jupyterlite-numbl-kernel / package.json
153 lines · 4.3 KBBlameHistoryRaw
1{
2 "name": "jupyterlite-numbl-kernel",
3 "version": "0.1.0",
4 "description": "Run numbl (MATLAB-syntax numerical computing) in JupyterLite notebooks, entirely in the browser",
5 "keywords": [
6 "jupyter",
7 "jupyterlab",
8 "jupyterlab-extension",
9 "jupyterlite",
10 "jupyterlite-kernel",
11 "numbl",
12 "matlab"
13 ],
14 "homepage": "https://github.com/concept-collection/jupyterlite-numbl-kernel",
15 "bugs": {
16 "url": "https://github.com/concept-collection/jupyterlite-numbl-kernel/issues"
17 },
18 "license": "Apache-2.0",
19 "author": "Jeremy Magland",
20 "files": [
21 "lib/**/*.{d.ts,js,js.map,json}",
22 "style/**/*.{css,js}",
23 "src/**/*.{ts,tsx}"
24 ],
25 "main": "lib/index.js",
26 "types": "lib/index.d.ts",
27 "style": "style/index.css",
28 "repository": {
29 "type": "git",
30 "url": "https://github.com/concept-collection/jupyterlite-numbl-kernel.git"
31 },
32 "scripts": {
33 "build": "jlpm build:lib && jlpm build:labextension:dev",
34 "build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension",
35 "build:labextension": "jupyter labextension build .",
36 "build:labextension:dev": "jupyter labextension build --development True .",
37 "build:lib": "tsc --sourceMap",
38 "build:lib:prod": "tsc",
39 "clean": "rimraf lib tsconfig.tsbuildinfo",
40 "clean:labextension": "rimraf jupyterlite_numbl_kernel/labextension jupyterlite_numbl_kernel/_version.py",
41 "clean:all": "jlpm clean && jlpm clean:labextension",
42 "eslint": "eslint . --ext .ts,.tsx --fix",
43 "eslint:check": "eslint . --ext .ts,.tsx",
44 "install:extension": "jlpm build",
45 "lint": "jlpm prettier && jlpm eslint",
46 "lint:check": "jlpm prettier:check && jlpm eslint:check",
47 "prettier": "prettier --write \"**/*{.ts,.tsx,.js,.css,.json,.md}\"",
48 "prettier:check": "prettier --check \"**/*{.ts,.tsx,.js,.css,.json,.md}\"",
49 "watch": "run-p watch:src watch:labextension",
50 "watch:src": "tsc -w --sourceMap",
51 "watch:labextension": "jupyter labextension watch ."
52 },
53 "dependencies": {
54 "@jupyterlab/application": "^4.5.0",
55 "@jupyterlab/rendermime-interfaces": "^3.9.0",
56 "@jupyterlite/services": "^0.8.1",
57 "@lumino/widgets": "^2.3.0",
58 "numbl": "^0.4.14",
59 "react": "^18.2.0",
60 "react-dom": "^18.2.0"
61 },
62 "devDependencies": {
63 "@jupyterlab/builder": "^4.5.0",
64 "@types/react": "^18.2.0",
65 "@types/react-dom": "^18.2.0",
66 "@typescript-eslint/eslint-plugin": "^6.21.0",
67 "@typescript-eslint/parser": "^6.21.0",
68 "eslint": "^8.57.0",
69 "eslint-config-prettier": "^8.10.0",
70 "eslint-plugin-prettier": "^5.0.0",
71 "npm-run-all2": "^7.0.1",
72 "prettier": "^3.0.0",
73 "rimraf": "^5.0.1",
74 "typescript": "~5.9.3"
75 },
76 "sideEffects": [
77 "style/*.css",
78 "style/index.js"
79 ],
80 "styleModule": "style/index.js",
81 "publishConfig": {
82 "access": "public"
83 },
84 "jupyterlab": {
85 "extension": "lib/index.js",
86 "mimeExtension": "lib/mime.js",
87 "outputDir": "jupyterlite_numbl_kernel/labextension",
88 "sharedPackages": {
89 "@jupyterlite/services": {
90 "bundled": false,
91 "singleton": true
92 }
93 }
94 },
95 "eslintIgnore": [
96 "node_modules",
97 "dist",
98 "lib",
99 "**/*.d.ts",
100 "jupyterlite_numbl_kernel"
101 ],
102 "eslintConfig": {
103 "extends": [
104 "eslint:recommended",
105 "plugin:@typescript-eslint/eslint-recommended",
106 "plugin:@typescript-eslint/recommended",
107 "plugin:prettier/recommended"
108 ],
109 "parser": "@typescript-eslint/parser",
110 "parserOptions": {
111 "project": "tsconfig.json",
112 "sourceType": "module"
113 },
114 "plugins": [
115 "@typescript-eslint"
116 ],
117 "rules": {
118 "@typescript-eslint/naming-convention": [
119 "error",
120 {
121 "selector": "interface",
122 "format": [
123 "PascalCase"
124 ],
125 "custom": {
126 "regex": "^I[A-Z]",
127 "match": true
128 }
129 }
130 ],
131 "@typescript-eslint/no-unused-vars": [
132 "warn",
133 {
134 "args": "none"
135 }
136 ],
137 "@typescript-eslint/no-explicit-any": "off",
138 "@typescript-eslint/no-namespace": "off",
139 "curly": [
140 "error",
141 "all"
142 ],
143 "eqeqeq": "error",
144 "prefer-arrow-callback": "error"
145 }
146 },
147 "prettier": {
148 "singleQuote": true,
149 "trailingComma": "none",
150 "arrowParens": "avoid",
151 "endOfLine": "auto"
152 }
moveopenescclose