Skip to content

Commit

Permalink
chore: 升级 taro 至 beta.21
Browse files Browse the repository at this point in the history
  • Loading branch information
koppthe committed Aug 30, 2018
1 parent 53972b7 commit acdc676
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 14 deletions.
33 changes: 19 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "taro-ui",
"version": "1.0.1",
"version": "1.1.0",
"description": "UI KIT for Taro",
"main": "dist/index.js",
"types": "./@types/index.d.ts",
Expand Down Expand Up @@ -46,13 +46,18 @@
"@types"
],
"author": "O2Team <aotu.io>",
"homepage": "https://taro-ui.aotu.io",
"repository": {
"type": "git",
"url": "git@github.com:nervjs/taro-ui.git"
},
"license": "MIT",
"dependencies": {
"@tarojs/components": "1.0.0-beta.17",
"@tarojs/router": "1.0.0-beta.17",
"@tarojs/taro": "1.0.0-beta.17",
"@tarojs/taro-h5": "1.0.0-beta.17",
"@tarojs/taro-weapp": "1.0.0-beta.17",
"@tarojs/components": "1.0.0-beta.21",
"@tarojs/router": "1.0.0-beta.21",
"@tarojs/taro": "1.0.0-beta.21",
"@tarojs/taro-h5": "1.0.0-beta.21",
"@tarojs/taro-weapp": "1.0.0-beta.21",
"lodash": "^4.17.10",
"nerv-server": "^1.3.2",
"nervjs": "^1.3.0",
Expand All @@ -66,12 +71,12 @@
"@commitlint/cli": "^7.0.0",
"@commitlint/config-conventional": "^7.0.1",
"@mapbox/jsxtreme-markdown-loader": "^0.8.3",
"@tarojs/cli": "1.0.0-beta.17",
"@tarojs/plugin-babel": "1.0.0-beta.17",
"@tarojs/plugin-csso": "1.0.0-beta.17",
"@tarojs/plugin-sass": "1.0.0-beta.17",
"@tarojs/plugin-uglifyjs": "1.0.0-beta.17",
"@tarojs/webpack-runner": "1.0.0-beta.17",
"@tarojs/cli": "1.0.0-beta.21",
"@tarojs/plugin-babel": "1.0.0-beta.21",
"@tarojs/plugin-csso": "1.0.0-beta.21",
"@tarojs/plugin-sass": "1.0.0-beta.21",
"@tarojs/plugin-uglifyjs": "1.0.0-beta.21",
"@tarojs/webpack-runner": "1.0.0-beta.21",
"at-ui-style": "^1.5.1",
"autoprefixer": "^9.0.2",
"babel-core": "^7.0.0-0",
Expand All @@ -91,11 +96,11 @@
"css-loader": "^1.0.0",
"eslint": "^4.19.1",
"eslint-config-o2team": "^0.1.6",
"eslint-config-taro": "1.0.0-beta.17",
"eslint-config-taro": "1.0.0-beta.21",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-jest": "^21.21.0",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-taro": "1.0.0-beta.17",
"eslint-plugin-taro": "1.0.0-beta.21",
"favicons-webpack-plugin": "0.0.9",
"file-loader": "^1.1.11",
"front-matter": "^2.3.0",
Expand Down
4 changes: 4 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import Taro from '@tarojs/taro'

import './components/article/index.scss'
import './components/flex/index.scss'
import './components/flex/item/index.scss'

Taro.initNativeApi(Taro)
Taro.initPxTransform({ designWidth: 750 })

export { default as AtActionSheet } from './components/action-sheet'
export { default as AtActionSheetItem } from './components/action-sheet/body/item'
Expand Down

0 comments on commit acdc676

Please sign in to comment.