Skip to content

Commit

Permalink
chore: Bump version 4.14.3
Browse files Browse the repository at this point in the history
  • Loading branch information
fwh1990 committed Sep 30, 2020
1 parent 80576f0 commit 802019d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 38 deletions.
17 changes: 13 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
{
"name": "webpack-genius",
"version": "4.14.1",
"main": "index.js",
"version": "4.14.3",
"main": "lib/index.js",
"repository": "git@github.com:fwh1990/webpack-genius.git",
"author": "范文华 <531362022@qq.com>",
"keywords": [
"webpack",
"webpack-cli"
],
"license": "MIT",
"bin": "./command.js",
"bin": "./lib/command.js",
"engines": {
"node": ">= 10.13.0"
},
"scripts": {
"prepublishOnly": "sh ./prepublish.sh"
},
"dependencies": {
"@babel/core": "7.11.6",
"@babel/plugin-proposal-class-properties": "7.10.4",
Expand Down Expand Up @@ -83,5 +86,11 @@
"public-refactor": "0.5.1",
"react": "16.13.1",
"react-dom": "16.13.1"
}
},
"files": [
"lib",
"README.md",
"LICENSE",
"package.json"
]
}
6 changes: 6 additions & 0 deletions prepublish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
set -e

rm -rf ./build ./lib
npx tsc
mv ./build/src/ ./lib
npx public-refactor --src ./src --dist ./lib
34 changes: 0 additions & 34 deletions publish.sh

This file was deleted.

0 comments on commit 802019d

Please sign in to comment.