diff options
Diffstat (limited to 'editors/code/package.json')
-rw-r--r-- | editors/code/package.json | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 38824acb4..b9982c624 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -18,12 +18,12 @@ | |||
18 | "scripts": { | 18 | "scripts": { |
19 | "vscode:prepublish": "npm run compile", | 19 | "vscode:prepublish": "npm run compile", |
20 | "package": "vsce package", | 20 | "package": "vsce package", |
21 | "compile": "tsc -p ./ && shx cp src/utils/terminateProcess.sh out/utils/terminateProcess.sh", | 21 | "compile": "rollup -c && shx cp src/utils/terminateProcess.sh bundle/terminateProcess.sh", |
22 | "watch": "tsc -watch -p ./", | 22 | "watch": "tsc -watch -p ./", |
23 | "fix": "prettier **/*.{json,ts} --write && tslint --project . --fix", | 23 | "fix": "prettier **/*.{json,ts} --write && tslint --project . --fix", |
24 | "lint": "tslint --project .", | 24 | "lint": "tslint --project .", |
25 | "prettier": "prettier **/*.{json,ts}", | 25 | "prettier": "prettier **/*.{json,ts}", |
26 | "test": "node ./out/test/runTest.js", | 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" | 27 | "travis": "npm run compile && npm run test && npm run lint && npm run prettier -- --write && git diff --exit-code" |
28 | }, | 28 | }, |
29 | "prettier": { | 29 | "prettier": { |
@@ -35,14 +35,18 @@ | |||
35 | "vscode-languageclient": "^5.3.0-next.4" | 35 | "vscode-languageclient": "^5.3.0-next.4" |
36 | }, | 36 | }, |
37 | "devDependencies": { | 37 | "devDependencies": { |
38 | "@types/glob": "^7.1.1", | ||
38 | "@types/mocha": "^5.2.7", | 39 | "@types/mocha": "^5.2.7", |
39 | "@types/node": "^10.14.13", | 40 | "@types/node": "^10.14.13", |
40 | "@types/seedrandom": "^2.4.28", | 41 | "@types/seedrandom": "^2.4.28", |
41 | "@types/glob": "^7.1.1", | ||
42 | "@types/vscode": "^1.36.0", | 42 | "@types/vscode": "^1.36.0", |
43 | "glob": "^7.1.4", | 43 | "glob": "^7.1.4", |
44 | "mocha": "^6.2.0", | 44 | "mocha": "^6.2.0", |
45 | "prettier": "^1.18.2", | 45 | "prettier": "^1.18.2", |
46 | "rollup": "^1.21.4", | ||
47 | "rollup-plugin-commonjs": "^10.1.0", | ||
48 | "rollup-plugin-node-resolve": "^5.2.0", | ||
49 | "rollup-plugin-typescript": "^1.0.1", | ||
46 | "shx": "^0.3.1", | 50 | "shx": "^0.3.1", |
47 | "tslint": "^5.18.0", | 51 | "tslint": "^5.18.0", |
48 | "tslint-config-prettier": "^1.18.0", | 52 | "tslint-config-prettier": "^1.18.0", |
@@ -56,7 +60,7 @@ | |||
56 | "onCommand:rust-analyzer.collectGarbage", | 60 | "onCommand:rust-analyzer.collectGarbage", |
57 | "workspaceContains:**/Cargo.toml" | 61 | "workspaceContains:**/Cargo.toml" |
58 | ], | 62 | ], |
59 | "main": "./out/extension", | 63 | "main": "./bundle/extension", |
60 | "contributes": { | 64 | "contributes": { |
61 | "taskDefinitions": [ | 65 | "taskDefinitions": [ |
62 | { | 66 | { |