mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
build: add travis.yml (#1985)
This commit is contained in:
parent
73374a8d81
commit
9e9cbd36b2
19
.travis.yml
Normal file
19
.travis.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
language: node_js
|
||||||
|
sudo: required
|
||||||
|
addons:
|
||||||
|
chrome: stable
|
||||||
|
node_js:
|
||||||
|
- 10
|
||||||
|
os: linux
|
||||||
|
cache:
|
||||||
|
yarn: true
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
- dev
|
||||||
|
install:
|
||||||
|
- |
|
||||||
|
yarn install
|
||||||
|
script:
|
||||||
|
- |
|
||||||
|
npm run lint
|
@ -7,7 +7,7 @@
|
|||||||
"description": "轻量、可靠的小程序 UI 组件库",
|
"description": "轻量、可靠的小程序 UI 组件库",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "node build/dev.js",
|
"dev": "node build/dev.js",
|
||||||
"lint": "eslint ./packages --ext .js,.ts",
|
"lint": "eslint ./packages --ext .js,.ts && stylelint \"packages/**/*.less\" --fix",
|
||||||
"release": "sh build/release.sh",
|
"release": "sh build/release.sh",
|
||||||
"release:site": "sh build/release-site.sh",
|
"release:site": "sh build/release-site.sh",
|
||||||
"build:lib": "yarn && npx gulp -f build/compiler.js --series buildEs buildLib",
|
"build:lib": "yarn && npx gulp -f build/compiler.js --series buildEs buildLib",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user