diff options
author | Aleksey Kladov <[email protected]> | 2019-12-30 10:49:04 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-12-30 10:49:04 +0000 |
commit | 0c371d2128a7efc8a82d905a97a7f7501098c441 (patch) | |
tree | baf1b4d8c81150ed494e89d0c49cdc7c7b41efd4 /editors/code/package.json | |
parent | be37c3369b4a2203ace1d65d65bf6ddb5c7faa45 (diff) | |
parent | 1f8719ee876ab6fb8b29cdf018815b03e000f197 (diff) |
Merge pull request #2684 from matklad/refactor-frontend
Refactor frontend
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 48 |
1 files changed, 13 insertions, 35 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index f28ce1772..8c480cc3f 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -16,48 +16,26 @@ | |||
16 | "vscode": "^1.41.0" | 16 | "vscode": "^1.41.0" |
17 | }, | 17 | }, |
18 | "scripts": { | 18 | "scripts": { |
19 | "vscode:prepublish": "npm run compile", | 19 | "vscode:prepublish": "rollup -c", |
20 | "package": "vsce package", | 20 | "package": "vsce package", |
21 | "compile": "rollup -c", | 21 | "watch": "tsc -watch -p ./" |
22 | "watch": "tsc -watch -p ./", | ||
23 | "fix": "prettier **/*.{json,ts} --write && tslint --project . --fix", | ||
24 | "lint": "tslint --project .", | ||
25 | "prettier": "prettier **/*.{json,ts}", | ||
26 | "test": "tsc -p . && node ./out/test/runTest.js", | ||
27 | "travis": "npm run compile && npm run test && npm run lint && npm run prettier -- --write && git diff --exit-code" | ||
28 | }, | ||
29 | "prettier": { | ||
30 | "singleQuote": true, | ||
31 | "tabWidth": 4, | ||
32 | "trailingComma": "all" | ||
33 | }, | 22 | }, |
34 | "dependencies": { | 23 | "dependencies": { |
35 | "lookpath": "^1.0.4", | 24 | "jsonc-parser": "^2.1.0", |
36 | "seedrandom": "^3.0.5", | 25 | "seedrandom": "^3.0.5", |
37 | "vscode-languageclient": "^6.0.0-next.9", | 26 | "vscode-languageclient": "^6.0.0-next.9" |
38 | "jsonc-parser": "^2.1.0" | ||
39 | }, | 27 | }, |
40 | "devDependencies": { | 28 | "devDependencies": { |
41 | "@types/glob": "^7.1.1", | 29 | "rollup": "^1.27.14", |
42 | "@types/mocha": "^5.2.7", | 30 | "@rollup/plugin-commonjs": "^11.0.0", |
43 | "@types/node": "^12.12.21", | 31 | "@rollup/plugin-node-resolve": "^6.0.0", |
44 | "@types/seedrandom": "^2.4.28", | 32 | "@rollup/plugin-typescript": "^2.0.1", |
45 | "@types/vscode": "^1.41.0", | ||
46 | "glob": "^7.1.6", | ||
47 | "mocha": "^6.2.2", | ||
48 | "prettier": "^1.19.1", | ||
49 | "rollup": "^1.27.13", | ||
50 | "rollup-plugin-commonjs": "^10.1.0", | ||
51 | "rollup-plugin-node-resolve": "^5.2.0", | ||
52 | "rollup-plugin-sourcemaps": "^0.4.2", | ||
53 | "rollup-plugin-typescript": "^1.0.1", | ||
54 | "shx": "^0.3.1", | ||
55 | "tslint": "^5.20.1", | ||
56 | "tslint-config-prettier": "^1.18.0", | ||
57 | "tslint-plugin-prettier": "^2.0.1", | ||
58 | "typescript": "^3.7.3", | 33 | "typescript": "^3.7.3", |
34 | "tslib": "^1.10.0", | ||
59 | "vsce": "^1.71.0", | 35 | "vsce": "^1.71.0", |
60 | "vscode-test": "^1.3.0" | 36 | "@types/node": "^12.12.21", |
37 | "@types/seedrandom": "^2.4.28", | ||
38 | "@types/vscode": "^1.41.0" | ||
61 | }, | 39 | }, |
62 | "activationEvents": [ | 40 | "activationEvents": [ |
63 | "onLanguage:rust", | 41 | "onLanguage:rust", |
@@ -65,7 +43,7 @@ | |||
65 | "onCommand:rust-analyzer.collectGarbage", | 43 | "onCommand:rust-analyzer.collectGarbage", |
66 | "workspaceContains:**/Cargo.toml" | 44 | "workspaceContains:**/Cargo.toml" |
67 | ], | 45 | ], |
68 | "main": "./bundle/extension", | 46 | "main": "./out/extension", |
69 | "contributes": { | 47 | "contributes": { |
70 | "taskDefinitions": [ | 48 | "taskDefinitions": [ |
71 | { | 49 | { |