|
1 | 1 | {
|
2 |
| - "name": "jupyterlab_code_formatter", |
3 |
| - "version": "0.1.0", |
4 |
| - "description": " A JupyterLab plugin to facilitate invocation of code formatters.", |
5 |
| - "keywords": [ |
6 |
| - "jupyter", |
7 |
| - "jupyterlab", |
8 |
| - "jupyterlab-extension" |
9 |
| - ], |
10 |
| - "homepage": " https://github.com/ryantam626/jupyterlab_code_formatter", |
11 |
| - "bugs": { |
12 |
| - "url": " https://github.com/ryantam626/jupyterlab_code_formatter/issues" |
13 |
| - }, |
14 |
| - "license": "BSD-3-Clause", |
15 |
| - "author": { |
16 |
| - "name": "Ryan Tam", |
17 |
| - |
18 |
| - }, |
19 |
| - "files": [ |
20 |
| - "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", |
21 |
| - "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", |
22 |
| - "schema/*.json" |
23 |
| - ], |
24 |
| - "main": "lib/index.js", |
25 |
| - "types": "lib/index.d.ts", |
26 |
| - "style": "style/index.css", |
27 |
| - "repository": { |
28 |
| - "type": "git", |
29 |
| - "url": " https://github.com/ryantam626/jupyterlab_code_formatter.git" |
30 |
| - }, |
31 |
| - "scripts": { |
32 |
| - "build": "jlpm build:lib && jlpm build:labextension:dev", |
33 |
| - "build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension", |
34 |
| - "build:labextension": "jupyter labextension build .", |
35 |
| - "build:labextension:dev": "jupyter labextension build --development True .", |
36 |
| - "build:lib": "tsc --sourceMap", |
37 |
| - "build:lib:prod": "tsc", |
38 |
| - "clean": "jlpm clean:lib", |
39 |
| - "clean:lib": "rimraf lib tsconfig.tsbuildinfo", |
40 |
| - "clean:lintcache": "rimraf .eslintcache .stylelintcache", |
41 |
| - "clean:labextension": "rimraf jupyterlab_code_formatter/labextension jupyterlab_code_formatter/_version.py", |
42 |
| - "clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache", |
43 |
| - "eslint": "jlpm eslint:check --fix", |
44 |
| - "eslint:check": "eslint . --cache --ext .ts,.tsx", |
45 |
| - "install:extension": "jlpm build", |
46 |
| - "lint": "jlpm stylelint && jlpm prettier && jlpm eslint", |
47 |
| - "lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check", |
48 |
| - "prettier": "jlpm prettier:base --write --list-different", |
49 |
| - "prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"", |
50 |
| - "prettier:check": "jlpm prettier:base --check", |
51 |
| - "stylelint": "jlpm stylelint:check --fix", |
52 |
| - "stylelint:check": "stylelint --cache \"style/**/*.css\"", |
53 |
| - "test": "jest --coverage", |
54 |
| - "watch": "run-p watch:src watch:labextension", |
55 |
| - "watch:src": "tsc -w", |
56 |
| - "watch:labextension": "jupyter labextension watch ." |
57 |
| - }, |
58 |
| - "dependencies": { |
59 |
| - "@jupyterlab/application": "^3.1.0", |
60 |
| - "@jupyterlab/settingregistry": "^3.1.0", |
61 |
| - "@jupyterlab/coreutils": "^5.1.0", |
62 |
| - "@jupyterlab/services": "^6.1.0", |
63 |
| - "@jupyterlab/fileeditor": "^3.0.0", |
64 |
| - "@jupyterlab/mainmenu": "^3.0.0" |
65 |
| - }, |
66 |
| - "devDependencies": { |
67 |
| - "@babel/core": "^7.0.0", |
68 |
| - "@babel/preset-env": "^7.0.0", |
69 |
| - "@jupyterlab/builder": "^3.1.0", |
70 |
| - "@jupyterlab/testutils": "^3.0.0", |
71 |
| - "@types/jest": "^26.0.0", |
72 |
| - "@typescript-eslint/eslint-plugin": "^4.8.1", |
73 |
| - "@typescript-eslint/parser": "^4.8.1", |
74 |
| - "eslint": "^7.14.0", |
75 |
| - "eslint-config-prettier": "^6.15.0", |
76 |
| - "eslint-plugin-prettier": "^3.1.4", |
77 |
| - "jest": "^26.0.0", |
78 |
| - "mkdirp": "^1.0.3", |
79 |
| - "npm-run-all": "^4.1.5", |
80 |
| - "prettier": "^2.1.1", |
81 |
| - "rimraf": "^3.0.2", |
82 |
| - "stylelint": "^14.3.0", |
83 |
| - "stylelint-config-prettier": "^9.0.4", |
84 |
| - "stylelint-config-recommended": "^6.0.0", |
85 |
| - "stylelint-config-standard": "~24.0.0", |
86 |
| - "stylelint-prettier": "^2.0.0", |
87 |
| - "typescript": "~4.1.3", |
88 |
| - "ts-jest": "^26.0.0" |
89 |
| - }, |
90 |
| - "sideEffects": [ |
91 |
| - "style/*.css", |
92 |
| - "style/index.js" |
93 |
| - ], |
94 |
| - "styleModule": "style/index.js", |
95 |
| - "publishConfig": { |
96 |
| - "access": "public" |
97 |
| - }, |
98 |
| - "jupyterlab": { |
99 |
| - "discovery": { |
100 |
| - "server": { |
101 |
| - "managers": [ |
102 |
| - "pip" |
103 |
| - ], |
104 |
| - "base": { |
105 |
| - "name": "jupyterlab_code_formatter" |
106 |
| - } |
107 |
| - } |
| 2 | + "name": "jupyterlab_code_formatter", |
| 3 | + "version": "2.0.0-rc1", |
| 4 | + "description": " A JupyterLab plugin to facilitate invocation of code formatters.", |
| 5 | + "keywords": [ |
| 6 | + "jupyter", |
| 7 | + "jupyterlab", |
| 8 | + "jupyterlab-extension" |
| 9 | + ], |
| 10 | + "homepage": " https://github.com/ryantam626/jupyterlab_code_formatter", |
| 11 | + "bugs": { |
| 12 | + "url": " https://github.com/ryantam626/jupyterlab_code_formatter/issues" |
108 | 13 | },
|
109 |
| - "extension": true, |
110 |
| - "outputDir": "jupyterlab_code_formatter/labextension", |
111 |
| - "schemaDir": "schema" |
112 |
| - }, |
113 |
| - "eslintIgnore": [ |
114 |
| - "node_modules", |
115 |
| - "dist", |
116 |
| - "coverage", |
117 |
| - "**/*.d.ts", |
118 |
| - "tests", |
119 |
| - "**/__tests__", |
120 |
| - "ui-tests" |
121 |
| - ], |
122 |
| - "eslintConfig": { |
123 |
| - "extends": [ |
124 |
| - "eslint:recommended", |
125 |
| - "plugin:@typescript-eslint/eslint-recommended", |
126 |
| - "plugin:@typescript-eslint/recommended", |
127 |
| - "plugin:prettier/recommended" |
| 14 | + "license": "BSD-3-Clause", |
| 15 | + "author": { |
| 16 | + "name": "Ryan Tam", |
| 17 | + |
| 18 | + }, |
| 19 | + "files": [ |
| 20 | + "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", |
| 21 | + "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}", |
| 22 | + "schema/*.json" |
128 | 23 | ],
|
129 |
| - "parser": "@typescript-eslint/parser", |
130 |
| - "parserOptions": { |
131 |
| - "project": "tsconfig.json", |
132 |
| - "sourceType": "module" |
| 24 | + "main": "lib/index.js", |
| 25 | + "types": "lib/index.d.ts", |
| 26 | + "style": "style/index.css", |
| 27 | + "repository": { |
| 28 | + "type": "git", |
| 29 | + "url": " https://github.com/ryantam626/jupyterlab_code_formatter.git" |
| 30 | + }, |
| 31 | + "scripts": { |
| 32 | + "build": "jlpm build:lib && jlpm build:labextension:dev", |
| 33 | + "build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension", |
| 34 | + "build:labextension": "jupyter labextension build .", |
| 35 | + "build:labextension:dev": "jupyter labextension build --development True .", |
| 36 | + "build:lib": "tsc --sourceMap", |
| 37 | + "build:lib:prod": "tsc", |
| 38 | + "clean": "jlpm clean:lib", |
| 39 | + "clean:lib": "rimraf lib tsconfig.tsbuildinfo", |
| 40 | + "clean:lintcache": "rimraf .eslintcache .stylelintcache", |
| 41 | + "clean:labextension": "rimraf jupyterlab_code_formatter/labextension jupyterlab_code_formatter/_version.py", |
| 42 | + "clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache", |
| 43 | + "eslint": "jlpm eslint:check --fix", |
| 44 | + "eslint:check": "eslint . --cache --ext .ts,.tsx", |
| 45 | + "install:extension": "jlpm build", |
| 46 | + "lint": "jlpm stylelint && jlpm prettier && jlpm eslint", |
| 47 | + "lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check", |
| 48 | + "prettier": "jlpm prettier:base --write --list-different", |
| 49 | + "prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"", |
| 50 | + "prettier:check": "jlpm prettier:base --check", |
| 51 | + "stylelint": "jlpm stylelint:check --fix", |
| 52 | + "stylelint:check": "stylelint --cache \"style/**/*.css\"", |
| 53 | + "test": "jest --coverage", |
| 54 | + "watch": "run-p watch:src watch:labextension", |
| 55 | + "watch:src": "tsc -w", |
| 56 | + "watch:labextension": "jupyter labextension watch ." |
133 | 57 | },
|
134 |
| - "plugins": [ |
135 |
| - "@typescript-eslint" |
| 58 | + "dependencies": { |
| 59 | + "@jupyterlab/application": "^3.1.0", |
| 60 | + "@jupyterlab/settingregistry": "^3.1.0", |
| 61 | + "@jupyterlab/coreutils": "^5.1.0", |
| 62 | + "@jupyterlab/services": "^6.1.0", |
| 63 | + "@jupyterlab/fileeditor": "^3.0.0", |
| 64 | + "@jupyterlab/mainmenu": "^3.0.0" |
| 65 | + }, |
| 66 | + "devDependencies": { |
| 67 | + "@babel/core": "^7.0.0", |
| 68 | + "@babel/preset-env": "^7.0.0", |
| 69 | + "@jupyterlab/builder": "^3.1.0", |
| 70 | + "@jupyterlab/testutils": "^3.0.0", |
| 71 | + "@types/jest": "^26.0.0", |
| 72 | + "@typescript-eslint/eslint-plugin": "^4.8.1", |
| 73 | + "@typescript-eslint/parser": "^4.8.1", |
| 74 | + "eslint": "^7.14.0", |
| 75 | + "eslint-config-prettier": "^6.15.0", |
| 76 | + "eslint-plugin-prettier": "^3.1.4", |
| 77 | + "jest": "^26.0.0", |
| 78 | + "mkdirp": "^1.0.3", |
| 79 | + "npm-run-all": "^4.1.5", |
| 80 | + "prettier": "^2.1.1", |
| 81 | + "rimraf": "^3.0.2", |
| 82 | + "stylelint": "^14.3.0", |
| 83 | + "stylelint-config-prettier": "^9.0.4", |
| 84 | + "stylelint-config-recommended": "^6.0.0", |
| 85 | + "stylelint-config-standard": "~24.0.0", |
| 86 | + "stylelint-prettier": "^2.0.0", |
| 87 | + "typescript": "~4.1.3", |
| 88 | + "ts-jest": "^26.0.0" |
| 89 | + }, |
| 90 | + "sideEffects": [ |
| 91 | + "style/*.css", |
| 92 | + "style/index.js" |
136 | 93 | ],
|
137 |
| - "rules": { |
138 |
| - "@typescript-eslint/naming-convention": [ |
139 |
| - "error", |
140 |
| - { |
141 |
| - "selector": "interface", |
142 |
| - "format": [ |
143 |
| - "PascalCase" |
144 |
| - ], |
145 |
| - "custom": { |
146 |
| - "regex": "^I[A-Z]", |
147 |
| - "match": true |
148 |
| - } |
149 |
| - } |
150 |
| - ], |
151 |
| - "@typescript-eslint/no-unused-vars": [ |
152 |
| - "warn", |
153 |
| - { |
154 |
| - "args": "none" |
| 94 | + "styleModule": "style/index.js", |
| 95 | + "publishConfig": { |
| 96 | + "access": "public" |
| 97 | + }, |
| 98 | + "jupyterlab": { |
| 99 | + "discovery": { |
| 100 | + "server": { |
| 101 | + "managers": [ |
| 102 | + "pip" |
| 103 | + ], |
| 104 | + "base": { |
| 105 | + "name": "jupyterlab_code_formatter" |
| 106 | + } |
| 107 | + } |
| 108 | + }, |
| 109 | + "extension": true, |
| 110 | + "outputDir": "jupyterlab_code_formatter/labextension", |
| 111 | + "schemaDir": "schema" |
| 112 | + }, |
| 113 | + "eslintIgnore": [ |
| 114 | + "node_modules", |
| 115 | + "dist", |
| 116 | + "coverage", |
| 117 | + "**/*.d.ts", |
| 118 | + "tests", |
| 119 | + "**/__tests__", |
| 120 | + "ui-tests" |
| 121 | + ], |
| 122 | + "eslintConfig": { |
| 123 | + "extends": [ |
| 124 | + "eslint:recommended", |
| 125 | + "plugin:@typescript-eslint/eslint-recommended", |
| 126 | + "plugin:@typescript-eslint/recommended", |
| 127 | + "plugin:prettier/recommended" |
| 128 | + ], |
| 129 | + "parser": "@typescript-eslint/parser", |
| 130 | + "parserOptions": { |
| 131 | + "project": "tsconfig.json", |
| 132 | + "sourceType": "module" |
| 133 | + }, |
| 134 | + "plugins": [ |
| 135 | + "@typescript-eslint" |
| 136 | + ], |
| 137 | + "rules": { |
| 138 | + "@typescript-eslint/naming-convention": [ |
| 139 | + "error", |
| 140 | + { |
| 141 | + "selector": "interface", |
| 142 | + "format": [ |
| 143 | + "PascalCase" |
| 144 | + ], |
| 145 | + "custom": { |
| 146 | + "regex": "^I[A-Z]", |
| 147 | + "match": true |
| 148 | + } |
| 149 | + } |
| 150 | + ], |
| 151 | + "@typescript-eslint/no-unused-vars": [ |
| 152 | + "warn", |
| 153 | + { |
| 154 | + "args": "none" |
| 155 | + } |
| 156 | + ], |
| 157 | + "@typescript-eslint/no-explicit-any": "off", |
| 158 | + "@typescript-eslint/no-namespace": "off", |
| 159 | + "@typescript-eslint/no-use-before-define": "off", |
| 160 | + "@typescript-eslint/quotes": [ |
| 161 | + "error", |
| 162 | + "single", |
| 163 | + { |
| 164 | + "avoidEscape": true, |
| 165 | + "allowTemplateLiterals": false |
| 166 | + } |
| 167 | + ], |
| 168 | + "curly": [ |
| 169 | + "error", |
| 170 | + "all" |
| 171 | + ], |
| 172 | + "eqeqeq": "error", |
| 173 | + "prefer-arrow-callback": "error" |
155 | 174 | }
|
156 |
| - ], |
157 |
| - "@typescript-eslint/no-explicit-any": "off", |
158 |
| - "@typescript-eslint/no-namespace": "off", |
159 |
| - "@typescript-eslint/no-use-before-define": "off", |
160 |
| - "@typescript-eslint/quotes": [ |
161 |
| - "error", |
162 |
| - "single", |
163 |
| - { |
164 |
| - "avoidEscape": true, |
165 |
| - "allowTemplateLiterals": false |
| 175 | + }, |
| 176 | + "prettier": { |
| 177 | + "singleQuote": true, |
| 178 | + "trailingComma": "none", |
| 179 | + "arrowParens": "avoid", |
| 180 | + "endOfLine": "auto" |
| 181 | + }, |
| 182 | + "stylelint": { |
| 183 | + "extends": [ |
| 184 | + "stylelint-config-recommended", |
| 185 | + "stylelint-config-standard", |
| 186 | + "stylelint-prettier/recommended" |
| 187 | + ], |
| 188 | + "rules": { |
| 189 | + "property-no-vendor-prefix": null, |
| 190 | + "selector-no-vendor-prefix": null, |
| 191 | + "value-no-vendor-prefix": null |
166 | 192 | }
|
167 |
| - ], |
168 |
| - "curly": [ |
169 |
| - "error", |
170 |
| - "all" |
171 |
| - ], |
172 |
| - "eqeqeq": "error", |
173 |
| - "prefer-arrow-callback": "error" |
174 |
| - } |
175 |
| - }, |
176 |
| - "prettier": { |
177 |
| - "singleQuote": true, |
178 |
| - "trailingComma": "none", |
179 |
| - "arrowParens": "avoid", |
180 |
| - "endOfLine": "auto" |
181 |
| - }, |
182 |
| - "stylelint": { |
183 |
| - "extends": [ |
184 |
| - "stylelint-config-recommended", |
185 |
| - "stylelint-config-standard", |
186 |
| - "stylelint-prettier/recommended" |
187 |
| - ], |
188 |
| - "rules": { |
189 |
| - "property-no-vendor-prefix": null, |
190 |
| - "selector-no-vendor-prefix": null, |
191 |
| - "value-no-vendor-prefix": null |
192 | 193 | }
|
193 |
| - } |
194 | 194 | }
|
0 commit comments