|
3519 | 3519 | } |
3520 | 3520 | }, |
3521 | 3521 | "scripts": { |
3522 | | - "build": "npm run lint && tsc -m commonjs -p ./ && npm run ui:build -- --env.quick", |
3523 | | - "bundle": "npm run lint && webpack --env.production --context ./src/ui --config ./src/ui/webpack.config.js && webpack --env.production", |
| 3522 | + "build": "npm run lint && tsc -m commonjs -p ./ && npm run ui:build", |
| 3523 | + "bundle": "npm run lint && webpack --env.production && npm run ui:bundle", |
3524 | 3524 | "clean": "git clean -Xdf", |
3525 | | - "lint": "tslint --project tsconfig.json", |
| 3525 | + "lint": "tslint --project tsconfig.json && npm run ui:lint", |
3526 | 3526 | "pack": "vsce package", |
3527 | 3527 | "pretty": "prettier --config .prettierrc --loglevel warn --write \"./**/*.ts\"", |
3528 | 3528 | "pub": "vsce publish", |
3529 | 3529 | "rebuild": "npm run reset && npm run lint && tsc -m commonjs -p ./ && npm run ui:build", |
3530 | 3530 | "reset": "npm run clean && npm install --no-save", |
3531 | 3531 | "watch": "tsc -watch -m commonjs -p ./", |
3532 | | - "ui:build": "webpack --context ./src/ui --config ./src/ui/webpack.config.js", |
3533 | | - "ui:watch": "cd \"./src/ui\" && npm run watch --no-save && cd \"../..\"", |
3534 | | - "postinstall": "node ./node_modules/vscode/bin/install && cd \"./src/ui\" && npm install --no-save && cd \"../..\"", |
| 3532 | + "ui:build": "webpack --config ./ui.webpack.config.js", |
| 3533 | + "ui:bundle": "webpack --env.production --config ./ui.webpack.config.js", |
| 3534 | + "ui:lint": "tslint --project ui.tsconfig.json", |
| 3535 | + "ui:optimize": "webpack --env.optimizeImages --config ./ui.webpack.config.js", |
| 3536 | + "ui:watch": "webpack --watch --config ./ui.webpack.config.js", |
| 3537 | + "postinstall": "node ./node_modules/vscode/bin/install", |
3535 | 3538 | "prepush": "npm run build", |
3536 | 3539 | "vscode:prepublish": "npm run reset && npm run bundle" |
3537 | 3540 | }, |
|
3548 | 3551 | "@types/clipboardy": "1.1.0", |
3549 | 3552 | "@types/node": "7.0.67", |
3550 | 3553 | "@types/tmp": "0.0.33", |
| 3554 | + "clean-webpack-plugin": "0.1.19", |
| 3555 | + "css-loader": "1.0.0", |
| 3556 | + "html-webpack-inline-source-plugin": "0.0.10", |
| 3557 | + "html-webpack-plugin": "3.2.0", |
3551 | 3558 | "husky": "0.14.3", |
| 3559 | + "imagemin-webpack-plugin": "2.2.0", |
| 3560 | + "mini-css-extract-plugin": "0.4.1", |
| 3561 | + "node-sass": "4.9.2", |
3552 | 3562 | "prettier": "1.13.7", |
3553 | | - "ts-loader": "4.4.2", |
| 3563 | + "sass-loader": "7.0.3", |
| 3564 | + "style-loader": "0.21.0", |
3554 | 3565 | "tslint": "5.11.0", |
3555 | 3566 | "tslint-prettiest": "0.0.1", |
| 3567 | + "ts-loader": "4.4.2", |
3556 | 3568 | "typescript": "2.9.2", |
3557 | 3569 | "vscode": "1.1.18", |
3558 | 3570 | "webpack": "4.16.3", |
|
0 commit comments