Skip to content

Commit

Permalink
release v2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoiver committed Nov 29, 2017
1 parent bb934b1 commit 7f268a4
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"env",
{
"targets": {
"node": "current",
"node": 4
}
}
],
Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
lavas
=========

[![npm (scoped with tag)](https://img.shields.io/npm/v/lavas/lavas2.svg)]()
[![npm (scoped with tag)](https://img.shields.io/npm/v/lavas/lavas2.svg)](https://npmjs.com/package/lavas)
[![Build Status](https://travis-ci.org/lavas-project/lavas.svg?branch=dev-2.0)](https://travis-ci.org/lavas-project/lavas)
[![Coverage Status](https://coveralls.io/repos/github/lavas-project/lavas/badge.svg?branch=dev-2.0)](https://coveralls.io/github/lavas-project/lavas?branch=dev-2.0)
[![NPM downloads](https://img.shields.io/npm/dm/lavas.svg)](https://npmjs.com/package/lavas)

基于 Vue 的 PWA 解决方案,帮助开发者快速搭建 PWA 应用,解决开发 PWA 过程中遇到的各种问题。

Expand All @@ -12,7 +13,7 @@ lavas
lavas 提供了命令行工具,可以通过以下命令进行安装

```bash
$ npm install -g lavas
$ npm install -g lavas@lavas2
```

再通过 `lavas init` 并填入项目基本信息新建一个项目
Expand All @@ -21,6 +22,12 @@ $ npm install -g lavas
$ lavas init
```

启动开发服务器

```bash
$ lavas dev
```

构建部署之后,您的站点就拥有 PWA 的体验了。


Expand Down
25 changes: 22 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lavas",
"version": "2.0.3-rc.2",
"version": "2.0.3",
"description": "pwa project solution cli tool",
"main": "dist/core/index.js",
"files": [
Expand Down Expand Up @@ -53,7 +53,26 @@
"require": [
"babel-register",
"babel-polyfill"
]
],
"babel": {
"presets": [
"vue-app",
[
"env",
{
"targets": {
"node": 4
}
}
],
"stage-2"
],
"plugins": [
"transform-runtime",
"add-module-exports",
"dynamic-import-node"
]
}
},
"dependencies": {
"axios": "^0.17.1",
Expand Down Expand Up @@ -106,7 +125,7 @@
"sw-register-webpack-plugin": "^1.0.11",
"url-loader": "^0.5.9",
"vue": "^2.5.2",
"vue-loader": "^13.0.4",
"vue-loader": "13.0.2",
"vue-meta": "^1.0.5",
"vue-router": "^2.7.0",
"vue-server-renderer": "^2.5.2",
Expand Down

0 comments on commit 7f268a4

Please sign in to comment.