mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 10:22:44 +08:00
build: update release script
This commit is contained in:
parent
2417219266
commit
edae2e3ad1
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,6 +4,7 @@
|
||||
.idea
|
||||
.vscode
|
||||
node_modules
|
||||
site
|
||||
docs/dist
|
||||
example/dist
|
||||
.history
|
||||
|
@ -1,10 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
rm -rf docs/dist
|
||||
|
||||
npx cross-env NODE_ENV=production webpack --config build/webpack.doc.prd.js
|
||||
|
||||
superman-cdn /vant-weapp ./docs/dist/*.js
|
||||
|
||||
rm -rf docs/dist/*.js
|
||||
|
||||
gh-pages -d docs/dist --add
|
@ -36,4 +36,7 @@ then
|
||||
git checkout dev
|
||||
git rebase master
|
||||
git push origin dev
|
||||
|
||||
# changelog
|
||||
vant-cli changelog
|
||||
fi
|
||||
|
10
package.json
10
package.json
@ -13,7 +13,7 @@
|
||||
"lint": "eslint ./packages --ext .js,.ts --fix && stylelint \"packages/**/*.less\" --fix",
|
||||
"prepare": "husky install",
|
||||
"release": "sh build/release.sh",
|
||||
"release:site": "sh build/release-site.sh",
|
||||
"release:site": "vant-cli build-site && gh-pages -d site --add",
|
||||
"build:lib": "yarn && npx gulp -f build/compiler.js --series buildEs buildLib",
|
||||
"build:changelog": "vant-cli changelog",
|
||||
"upload:weapp": "node build/upload.js"
|
||||
@ -40,19 +40,14 @@
|
||||
"devDependencies": {
|
||||
"@vant/cli": "^3.10.0",
|
||||
"@vant/icons": "1.5.2",
|
||||
"cross-env": "^7.0.0",
|
||||
"cssnano": "^4.1.10",
|
||||
"gh-pages": "^3.0.0",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-insert": "^0.5.0",
|
||||
"gulp-less": "^4.0.1",
|
||||
"gulp-postcss": "^9.0.0",
|
||||
"gulp-rename": "^2.0.0",
|
||||
"less": "^3.9.0",
|
||||
"lint-staged": "^10.0.0",
|
||||
"miniprogram-api-typings": "^3.1.6",
|
||||
"miniprogram-ci": "^1.0.27",
|
||||
"prettier": "^2.0.5",
|
||||
"tscpaths": "^0.0.9",
|
||||
"vue": "^3.0.0",
|
||||
"@vue/compiler-sfc": "^3.0.0"
|
||||
@ -65,6 +60,5 @@
|
||||
"Chrome >= 53",
|
||||
"ChromeAndroid >= 53",
|
||||
"iOS >= 8"
|
||||
],
|
||||
"dependencies": {}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user