|
1 | 1 | { |
2 | | - "name": "jupyterlab-drawio", |
3 | | - "version": "0.9.0", |
4 | | - "description": "A JupyterLab extension for embedding drawio / mxgraph.", |
5 | | - "keywords": [ |
6 | | - "extension", |
7 | | - "jupyter", |
8 | | - "jupyterlab", |
9 | | - "jupyterlab-extension" |
10 | | - ], |
11 | | - "homepage": "https://github.com/QuantStack/jupyterlab-drawio", |
12 | | - "bugs": { |
13 | | - "url": "https://github.com/QuantStack/jupyterlab-drawio/issues" |
14 | | - }, |
15 | | - "license": "Apache-2.0", |
16 | | - "author": "Wolf Vollprecht", |
17 | | - "files": [ |
18 | | - "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf,css}", |
19 | | - "style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}", |
20 | | - "style/index.js" |
21 | | - ], |
22 | | - "main": "lib/index.js", |
23 | | - "types": "lib/index.d.ts", |
24 | | - "style": "style/index.css", |
25 | | - "repository": { |
26 | | - "type": "git", |
27 | | - "url": "https://github.com/QuantStack/jupyterlab-drawio.git" |
28 | | - }, |
29 | | - "scripts": { |
30 | | - "build": "jlpm build:lib && jlpm build:labextension:dev", |
31 | | - "build:labextension": "jupyter labextension build .", |
32 | | - "build:labextension:dev": "jupyter labextension build --development True .", |
33 | | - "build:lib": "tsc --sourceMap && cp -R src/drawio lib", |
34 | | - "build:lib:prod": "tsc && cp -R src/drawio lib", |
35 | | - "build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension", |
36 | | - "clean": "jlpm clean:lib", |
37 | | - "clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache", |
38 | | - "clean:labextension": "rimraf jupyterlab-drawio/labextension jupyterlab-drawio/_version.py", |
39 | | - "clean:lib": "rimraf lib tsconfig.tsbuildinfo", |
40 | | - "clean:lintcache": "rimraf .eslintcache .stylelintcache", |
41 | | - "eslint": "jlpm eslint:check --fix", |
42 | | - "eslint:check": "eslint . --cache --ext .ts,.tsx", |
43 | | - "install:extension": "jlpm build", |
44 | | - "lint": "jlpm stylelint && jlpm prettier && jlpm eslint", |
45 | | - "lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check", |
46 | | - "prettier": "jlpm prettier:base --write --list-different", |
47 | | - "prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"", |
48 | | - "prettier:check": "jlpm prettier:base --check", |
49 | | - "stylelint": "jlpm stylelint:check --fix", |
50 | | - "stylelint:check": "stylelint --cache \"style/**/*.css\"", |
51 | | - "watch": "run-p watch:src watch:labextension", |
52 | | - "watch:labextension": "jupyter labextension watch .", |
53 | | - "watch:src": "tsc -w --sourceMap" |
54 | | - }, |
55 | | - "dependencies": { |
56 | | - "@jupyterlab/application": "^4.2.1", |
57 | | - "@jupyterlab/apputils": "^4.3.1", |
58 | | - "@jupyterlab/coreutils": "^6.2.1", |
59 | | - "@jupyterlab/docregistry": "^4.2.1", |
60 | | - "@jupyterlab/filebrowser": "^4.2.1", |
61 | | - "@jupyterlab/launcher": "^4.2.1", |
62 | | - "@jupyterlab/mainmenu": "^4.2.1", |
63 | | - "@lumino/coreutils": "^2.0.0", |
64 | | - "@lumino/widgets": "^2.3.1-alpha.0" |
65 | | - }, |
66 | | - "devDependencies": { |
67 | | - "@jupyterlab/builder": "^4.0.0", |
68 | | - "@lumino/messaging": "^2.0.0", |
69 | | - "@types/json-schema": "^7.0.11", |
70 | | - "@types/react": "^18.0.26", |
71 | | - "@types/react-addons-linked-state-mixin": "^0.14.22", |
72 | | - "@typescript-eslint/eslint-plugin": "^6.1.0", |
73 | | - "@typescript-eslint/parser": "^6.1.0", |
74 | | - "css-loader": "^6.7.1", |
75 | | - "eslint": "^8.36.0", |
76 | | - "eslint-config-prettier": "^8.8.0", |
77 | | - "eslint-plugin-prettier": "^5.0.0", |
78 | | - "fs-extra": "^8.1.0", |
79 | | - "npm-run-all": "^4.1.5", |
80 | | - "prettier": "^3.0.0", |
81 | | - "rimraf": "^5.0.1", |
82 | | - "source-map-loader": "^1.0.2", |
83 | | - "style-loader": "^3.3.1", |
84 | | - "stylelint": "^15.10.1", |
85 | | - "stylelint-config-recommended": "^13.0.0", |
86 | | - "stylelint-config-standard": "^34.0.0", |
87 | | - "stylelint-csstree-validator": "^3.0.0", |
88 | | - "stylelint-prettier": "^4.0.0", |
89 | | - "typescript": "~5.0.2", |
90 | | - "yjs": "^13.5.40" |
91 | | - }, |
92 | | - "jupyterlab": { |
93 | | - "extension": true, |
94 | | - "schemaDir": "schema", |
95 | | - "outputDir": "jupyterlab-drawio/labextension" |
96 | | - }, |
97 | | - "styleModule": "style/index.js", |
98 | | - "eslintConfig": { |
99 | | - "extends": [ |
100 | | - "eslint:recommended", |
101 | | - "plugin:@typescript-eslint/eslint-recommended", |
102 | | - "plugin:@typescript-eslint/recommended", |
103 | | - "plugin:prettier/recommended" |
| 2 | + "name": "jupyterlab-drawio", |
| 3 | + "version": "0.9.0", |
| 4 | + "description": "A JupyterLab extension for embedding drawio / mxgraph.", |
| 5 | + "keywords": [ |
| 6 | + "extension", |
| 7 | + "jupyter", |
| 8 | + "jupyterlab", |
| 9 | + "jupyterlab-extension" |
104 | 10 | ], |
105 | | - "parser": "@typescript-eslint/parser", |
106 | | - "parserOptions": { |
107 | | - "project": "tsconfig.json", |
108 | | - "sourceType": "module" |
| 11 | + "homepage": "https://github.com/QuantStack/jupyterlab-drawio", |
| 12 | + "bugs": { |
| 13 | + "url": "https://github.com/QuantStack/jupyterlab-drawio/issues" |
109 | 14 | }, |
110 | | - "plugins": [ |
111 | | - "@typescript-eslint" |
| 15 | + "license": "Apache-2.0", |
| 16 | + "author": "Wolf Vollprecht", |
| 17 | + "files": [ |
| 18 | + "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf,css}", |
| 19 | + "style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}", |
| 20 | + "style/index.js" |
112 | 21 | ], |
113 | | - "rules": { |
114 | | - "@typescript-eslint/naming-convention": [ |
115 | | - "error", |
116 | | - { |
117 | | - "selector": "interface", |
118 | | - "format": [ |
119 | | - "PascalCase" |
120 | | - ], |
121 | | - "custom": { |
122 | | - "regex": "^I[A-Z]", |
123 | | - "match": true |
124 | | - } |
125 | | - } |
126 | | - ], |
127 | | - "@typescript-eslint/no-unused-vars": [ |
128 | | - "warn", |
129 | | - { |
130 | | - "args": "none" |
131 | | - } |
132 | | - ], |
133 | | - "@typescript-eslint/no-explicit-any": "off", |
134 | | - "@typescript-eslint/no-namespace": "off", |
135 | | - "@typescript-eslint/no-use-before-define": "off", |
136 | | - "@typescript-eslint/quotes": [ |
137 | | - "error", |
138 | | - "single", |
139 | | - { |
140 | | - "avoidEscape": true, |
141 | | - "allowTemplateLiterals": false |
142 | | - } |
143 | | - ], |
144 | | - "curly": [ |
145 | | - "error", |
146 | | - "all" |
147 | | - ], |
148 | | - "eqeqeq": "error", |
149 | | - "prefer-arrow-callback": "error" |
150 | | - } |
151 | | - }, |
152 | | - "eslintIgnore": [ |
153 | | - "node_modules", |
154 | | - "dist", |
155 | | - "coverage", |
156 | | - "**/*.d.ts" |
157 | | - ], |
158 | | - "prettier": { |
159 | | - "singleQuote": true, |
160 | | - "trailingComma": "none", |
161 | | - "arrowParens": "avoid", |
162 | | - "endOfLine": "auto", |
163 | | - "overrides": [ |
164 | | - { |
165 | | - "files": "package.json", |
166 | | - "options": { |
167 | | - "tabWidth": 4 |
| 22 | + "main": "lib/index.js", |
| 23 | + "types": "lib/index.d.ts", |
| 24 | + "style": "style/index.css", |
| 25 | + "repository": { |
| 26 | + "type": "git", |
| 27 | + "url": "https://github.com/QuantStack/jupyterlab-drawio.git" |
| 28 | + }, |
| 29 | + "scripts": { |
| 30 | + "build": "jlpm build:lib && jlpm build:labextension:dev", |
| 31 | + "build:labextension": "jupyter labextension build .", |
| 32 | + "build:labextension:dev": "jupyter labextension build --development True .", |
| 33 | + "build:lib": "tsc --sourceMap && cp -R src/drawio lib", |
| 34 | + "build:lib:prod": "tsc && cp -R src/drawio lib", |
| 35 | + "build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension", |
| 36 | + "clean": "jlpm clean:lib", |
| 37 | + "clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache", |
| 38 | + "clean:labextension": "rimraf jupyterlab-drawio/labextension jupyterlab-drawio/_version.py", |
| 39 | + "clean:lib": "rimraf lib tsconfig.tsbuildinfo", |
| 40 | + "clean:lintcache": "rimraf .eslintcache .stylelintcache", |
| 41 | + "eslint": "jlpm eslint:check --fix", |
| 42 | + "eslint:check": "eslint . --cache --ext .ts,.tsx", |
| 43 | + "install:extension": "jlpm build", |
| 44 | + "lint": "jlpm stylelint && jlpm prettier && jlpm eslint", |
| 45 | + "lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check", |
| 46 | + "prettier": "jlpm prettier:base --write --list-different", |
| 47 | + "prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"", |
| 48 | + "prettier:check": "jlpm prettier:base --check", |
| 49 | + "stylelint": "jlpm stylelint:check --fix", |
| 50 | + "stylelint:check": "stylelint --cache \"style/**/*.css\"", |
| 51 | + "watch": "run-p watch:src watch:labextension", |
| 52 | + "watch:labextension": "jupyter labextension watch .", |
| 53 | + "watch:src": "tsc -w --sourceMap" |
| 54 | + }, |
| 55 | + "dependencies": { |
| 56 | + "@jupyterlab/application": "^4.2.1", |
| 57 | + "@jupyterlab/apputils": "^4.3.1", |
| 58 | + "@jupyterlab/coreutils": "^6.2.1", |
| 59 | + "@jupyterlab/docregistry": "^4.2.1", |
| 60 | + "@jupyterlab/filebrowser": "^4.2.1", |
| 61 | + "@jupyterlab/launcher": "^4.2.1", |
| 62 | + "@jupyterlab/mainmenu": "^4.2.1", |
| 63 | + "@lumino/coreutils": "^2.0.0", |
| 64 | + "@lumino/widgets": "^2.3.1-alpha.0" |
| 65 | + }, |
| 66 | + "devDependencies": { |
| 67 | + "@jupyterlab/builder": "^4.0.0", |
| 68 | + "@lumino/messaging": "^2.0.0", |
| 69 | + "@types/json-schema": "^7.0.11", |
| 70 | + "@types/react": "^18.0.26", |
| 71 | + "@types/react-addons-linked-state-mixin": "^0.14.22", |
| 72 | + "@typescript-eslint/eslint-plugin": "^6.1.0", |
| 73 | + "@typescript-eslint/parser": "^6.1.0", |
| 74 | + "css-loader": "^6.7.1", |
| 75 | + "eslint": "^8.36.0", |
| 76 | + "eslint-config-prettier": "^8.8.0", |
| 77 | + "eslint-plugin-prettier": "^5.0.0", |
| 78 | + "fs-extra": "^8.1.0", |
| 79 | + "npm-run-all": "^4.1.5", |
| 80 | + "prettier": "^3.0.0", |
| 81 | + "rimraf": "^5.0.1", |
| 82 | + "source-map-loader": "^1.0.2", |
| 83 | + "style-loader": "^3.3.1", |
| 84 | + "stylelint": "^15.10.1", |
| 85 | + "stylelint-config-recommended": "^13.0.0", |
| 86 | + "stylelint-config-standard": "^34.0.0", |
| 87 | + "stylelint-csstree-validator": "^3.0.0", |
| 88 | + "stylelint-prettier": "^4.0.0", |
| 89 | + "typescript": "~5.0.2", |
| 90 | + "yjs": "^13.5.40" |
| 91 | + }, |
| 92 | + "jupyterlab": { |
| 93 | + "extension": true, |
| 94 | + "schemaDir": "schema", |
| 95 | + "outputDir": "jupyterlab-drawio/labextension" |
| 96 | + }, |
| 97 | + "styleModule": "style/index.js", |
| 98 | + "eslintConfig": { |
| 99 | + "extends": [ |
| 100 | + "eslint:recommended", |
| 101 | + "plugin:@typescript-eslint/eslint-recommended", |
| 102 | + "plugin:@typescript-eslint/recommended", |
| 103 | + "plugin:prettier/recommended" |
| 104 | + ], |
| 105 | + "parser": "@typescript-eslint/parser", |
| 106 | + "parserOptions": { |
| 107 | + "project": "tsconfig.json", |
| 108 | + "sourceType": "module" |
| 109 | + }, |
| 110 | + "plugins": [ |
| 111 | + "@typescript-eslint" |
| 112 | + ], |
| 113 | + "rules": { |
| 114 | + "@typescript-eslint/naming-convention": [ |
| 115 | + "error", |
| 116 | + { |
| 117 | + "selector": "interface", |
| 118 | + "format": [ |
| 119 | + "PascalCase" |
| 120 | + ], |
| 121 | + "custom": { |
| 122 | + "regex": "^I[A-Z]", |
| 123 | + "match": true |
| 124 | + } |
| 125 | + } |
| 126 | + ], |
| 127 | + "@typescript-eslint/no-unused-vars": [ |
| 128 | + "warn", |
| 129 | + { |
| 130 | + "args": "none" |
| 131 | + } |
| 132 | + ], |
| 133 | + "@typescript-eslint/no-explicit-any": "off", |
| 134 | + "@typescript-eslint/no-namespace": "off", |
| 135 | + "@typescript-eslint/no-use-before-define": "off", |
| 136 | + "@typescript-eslint/quotes": [ |
| 137 | + "error", |
| 138 | + "single", |
| 139 | + { |
| 140 | + "avoidEscape": true, |
| 141 | + "allowTemplateLiterals": false |
| 142 | + } |
| 143 | + ], |
| 144 | + "curly": [ |
| 145 | + "error", |
| 146 | + "all" |
| 147 | + ], |
| 148 | + "eqeqeq": "error", |
| 149 | + "prefer-arrow-callback": "error" |
168 | 150 | } |
169 | | - } |
170 | | - ] |
171 | | - }, |
172 | | - "stylelint": { |
173 | | - "extends": [ |
174 | | - "stylelint-config-recommended", |
175 | | - "stylelint-config-standard", |
176 | | - "stylelint-prettier/recommended" |
177 | | - ], |
178 | | - "plugins": [ |
179 | | - "stylelint-csstree-validator" |
| 151 | + }, |
| 152 | + "eslintIgnore": [ |
| 153 | + "node_modules", |
| 154 | + "dist", |
| 155 | + "coverage", |
| 156 | + "**/*.d.ts" |
180 | 157 | ], |
181 | | - "rules": { |
182 | | - "csstree/validator": true, |
183 | | - "property-no-vendor-prefix": null, |
184 | | - "selector-class-pattern": "^([a-z][A-z\\d]*)(-[A-z\\d]+)*$", |
185 | | - "selector-no-vendor-prefix": null, |
186 | | - "value-no-vendor-prefix": null |
| 158 | + "prettier": { |
| 159 | + "singleQuote": true, |
| 160 | + "trailingComma": "none", |
| 161 | + "arrowParens": "avoid", |
| 162 | + "endOfLine": "auto", |
| 163 | + "overrides": [ |
| 164 | + { |
| 165 | + "files": "package.json", |
| 166 | + "options": { |
| 167 | + "tabWidth": 4 |
| 168 | + } |
| 169 | + } |
| 170 | + ] |
| 171 | + }, |
| 172 | + "stylelint": { |
| 173 | + "extends": [ |
| 174 | + "stylelint-config-recommended", |
| 175 | + "stylelint-config-standard", |
| 176 | + "stylelint-prettier/recommended" |
| 177 | + ], |
| 178 | + "plugins": [ |
| 179 | + "stylelint-csstree-validator" |
| 180 | + ], |
| 181 | + "rules": { |
| 182 | + "csstree/validator": true, |
| 183 | + "property-no-vendor-prefix": null, |
| 184 | + "selector-class-pattern": "^([a-z][A-z\\d]*)(-[A-z\\d]+)*$", |
| 185 | + "selector-no-vendor-prefix": null, |
| 186 | + "value-no-vendor-prefix": null |
| 187 | + } |
187 | 188 | } |
188 | | - } |
189 | 189 | } |
0 commit comments