diff --git a/README.md b/README.md index af9b4de..9e3ac2a 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ title: webpack-template date: author: Mizok -version: 0.1.0 +version: 0.2.0 tags: --- diff --git a/package.json b/package.json index 5f1b35f..b45a48e 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "npx cross-env TS_NODE_PROJECT=\"tsconfig-for-webpack-config.json\" webpack --config webpack.config.ts --mode production", - "dev": "npx cross-env TS_NODE_PROJECT=\"tsconfig-for-webpack-config.json\" webpack serve --config webpack.config.ts --mode development" + "dev": "npx cross-env TS_NODE_PROJECT=\"tsconfig-for-webpack-config.json\" webpack serve --config webpack.config.ts --mode development", + "gh-deploy": "npm run build && git add dist -f && git commit -m 'dist subtree commit' && git subtree push --prefix dist origin gh-pages" }, "repository": { "type": "git",