aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-12-30 14:08:38 +0000
committerAleksey Kladov <[email protected]>2019-12-30 14:10:59 +0000
commita0c035096053529944dbb49c148371a8ad9b3fc0 (patch)
tree0b63f7cf99678f6fcd166e04769d05acf4ba876b /editors/code
parent29e86c0c726c20cf1add94a322b9c147b67ca1f6 (diff)
Add prettier
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package-lock.json6
-rw-r--r--editors/code/package.json19
2 files changed, 19 insertions, 6 deletions
diff --git a/editors/code/package-lock.json b/editors/code/package-lock.json
index 982238fa4..806ebdb81 100644
--- a/editors/code/package-lock.json
+++ b/editors/code/package-lock.json
@@ -534,6 +534,12 @@
534 "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=", 534 "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=",
535 "dev": true 535 "dev": true
536 }, 536 },
537 "prettier": {
538 "version": "1.19.1",
539 "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.19.1.tgz",
540 "integrity": "sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==",
541 "dev": true
542 },
537 "read": { 543 "read": {
538 "version": "1.0.7", 544 "version": "1.0.7",
539 "resolved": "https://registry.npmjs.org/read/-/read-1.0.7.tgz", 545 "resolved": "https://registry.npmjs.org/read/-/read-1.0.7.tgz",
diff --git a/editors/code/package.json b/editors/code/package.json
index d14a36f8c..6662747f6 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -18,7 +18,8 @@
18 "scripts": { 18 "scripts": {
19 "vscode:prepublish": "rollup -c", 19 "vscode:prepublish": "rollup -c",
20 "package": "vsce package", 20 "package": "vsce package",
21 "watch": "tsc -watch -p ./" 21 "watch": "tsc -watch -p ./",
22 "prettier": "prettier --write **/*.ts"
22 }, 23 },
23 "dependencies": { 24 "dependencies": {
24 "jsonc-parser": "^2.1.0", 25 "jsonc-parser": "^2.1.0",
@@ -26,16 +27,22 @@
26 "vscode-languageclient": "^6.0.0-next.9" 27 "vscode-languageclient": "^6.0.0-next.9"
27 }, 28 },
28 "devDependencies": { 29 "devDependencies": {
29 "rollup": "^1.27.14",
30 "@rollup/plugin-commonjs": "^11.0.0", 30 "@rollup/plugin-commonjs": "^11.0.0",
31 "@rollup/plugin-node-resolve": "^6.0.0", 31 "@rollup/plugin-node-resolve": "^6.0.0",
32 "@rollup/plugin-typescript": "^2.0.1", 32 "@rollup/plugin-typescript": "^2.0.1",
33 "typescript": "^3.7.3",
34 "tslib": "^1.10.0",
35 "vsce": "^1.71.0",
36 "@types/node": "^12.12.21", 33 "@types/node": "^12.12.21",
37 "@types/seedrandom": "^2.4.28", 34 "@types/seedrandom": "^2.4.28",
38 "@types/vscode": "^1.41.0" 35 "@types/vscode": "^1.41.0",
36 "prettier": "^1.19.1",
37 "rollup": "^1.27.14",
38 "tslib": "^1.10.0",
39 "typescript": "^3.7.3",
40 "vsce": "^1.71.0"
41 },
42 "prettier": {
43 "singleQuote": true,
44 "tabWidth": 4,
45 "trailingComma": "all"
39 }, 46 },
40 "activationEvents": [ 47 "activationEvents": [
41 "onLanguage:rust", 48 "onLanguage:rust",