@momo-kits/swipe 0.0.32-beta → 0.0.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1 +1,7 @@
1
- var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"SwipeAction",{enumerable:true,get:function get(){return _SwipeAction.default;}});Object.defineProperty(exports,"SwipeActionList",{enumerable:true,get:function get(){return _SwipeActionList.default;}});var _SwipeAction=_interopRequireDefault(require("./SwipeAction"));var _SwipeActionList=_interopRequireDefault(require("./SwipeActionList"));
1
+ import SwipeAction from './SwipeAction';
2
+ import SwipeActionList from './SwipeActionList';
3
+ import Swiper from './Swiper';
4
+
5
+ export {
6
+ SwipeAction, SwipeActionList, Swiper
7
+ };
package/package.json CHANGED
@@ -1,22 +1,15 @@
1
1
  {
2
2
  "name": "@momo-kits/swipe",
3
- "version": "0.0.32-beta",
3
+ "version": "0.0.32",
4
4
  "private": false,
5
5
  "main": "index.js",
6
6
  "dependencies": {},
7
7
  "peerDependencies": {
8
8
  "prop-types": "^15.7.2",
9
- "react": "16.9.0",
9
+ "react": "^16.9.0",
10
10
  "react-native": ">=0.55",
11
- "@momo-kits/core": "^0.0.4-beta"
11
+ "@momo-kits/core": ">=0.0.5-beta"
12
12
  },
13
- "devDependencies": {
14
- "metro-react-native-babel-preset": "^0.64.0",
15
- "@babel/core": "^7.12.9",
16
- "@babel/runtime": "^7.12.5"
17
- },
18
- "license": "MOMO",
19
- "jest": {
20
- "preset": "react-native"
21
- }
13
+ "devDependencies": {},
14
+ "license": "MoMo"
22
15
  }
package/publish.sh CHANGED
@@ -12,7 +12,7 @@ echo VERSION: $VERSION
12
12
  rsync -r --verbose --exclude '*.mdx' --exclude '*Demo.js' --exclude 'props-type.js' --exclude 'prop-types.js' ./* dist
13
13
 
14
14
  # #babel component to dist
15
- babel ./dist -d dist --copy-files
15
+ #babel ./dist -d dist --copy-files
16
16
 
17
17
  #copy option
18
18
  #cp -r ./src/ dist
@@ -26,4 +26,4 @@ cd ..
26
26
  rm -rf dist
27
27
 
28
28
 
29
- echo '{"text": "@momo-kits/swipe new version release: '*"$VERSION"*' https://www.npmjs.com/package/@momo-kits/swipe"}'
29
+ curl -X POST -H 'Content-Type: application/json' 'https://chat.googleapis.com/v1/spaces/AAAAbP8987c/messages?key=AIzaSyDdI0hCZtE6vySjMm-WEfRq3CPzqKqqsHI&token=UGSFRvk_oYb9uGsAgs31bVvMm6jDkmD8zihGm3eyaQA%3D&threadKey=JoaXTEYaNNkl' -d '{"text": "@momo-kits/swipe new version release: '*"$VERSION"*' https://www.npmjs.com/package/@momo-kits/swipe"}'
package/babel.config.js DELETED
@@ -1 +0,0 @@
1
- module.exports={presets:['module:metro-react-native-babel-preset']};