@momo-kits/stepper 0.111.1-beta.6 → 0.111.1-rc.2

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.
Files changed (2) hide show
  1. package/package.json +19 -16
  2. package/publish.sh +5 -4
package/package.json CHANGED
@@ -1,17 +1,20 @@
1
1
  {
2
- "name": "@momo-kits/stepper",
3
- "version": "0.111.1-beta.6",
4
- "private": false,
5
- "main": "index.tsx",
6
- "dependencies": {},
7
- "peerDependencies": {
8
- "@momo-kits/foundation": "latest",
9
- "prop-types": "^15.7.2",
10
- "react": "16.9.0",
11
- "react-native": ">=0.55"
12
- },
13
- "devDependencies": {
14
- "@momo-platform/versions": "4.1.11"
15
- },
16
- "license": "MoMo"
17
- }
2
+ "name": "@momo-kits/stepper",
3
+ "version": "0.111.1-rc.2",
4
+ "private": false,
5
+ "main": "index.tsx",
6
+ "dependencies": {},
7
+ "peerDependencies": {
8
+ "@momo-kits/foundation": "latest",
9
+ "prop-types": "^15.7.2",
10
+ "react": "16.9.0",
11
+ "react-native": ">=0.55"
12
+ },
13
+ "devDependencies": {
14
+ "@momo-platform/versions": "4.1.11"
15
+ },
16
+ "license": "MoMo",
17
+ "publishConfig": {
18
+ "registry": "https://registry.npmjs.org/"
19
+ }
20
+ }
package/publish.sh CHANGED
@@ -6,16 +6,17 @@ mkdir dist
6
6
  rsync -r --exclude=/dist ./* dist
7
7
  cd dist
8
8
 
9
+
9
10
  if [ "$1" == "stable" ]; then
10
- #npm version $(npm view @momo-kits/foundation@stable version)
11
+ npm version $(npm view @momo-kits/foundation@stable version)
11
12
  npm version patch
12
13
  npm publish --tag stable --access=public
13
14
  elif [ "$1" == "latest" ]; then
14
- #npm version $(npm view @momo-kits/foundation@latest version)
15
+ npm version $(npm view @momo-kits/foundation@latest version)
15
16
  npm publish --tag latest --access=public
16
17
  else
17
- #npm version $(npm view @momo-kits/stepper@beta version)
18
- #npm version prerelease --preid=beta
18
+ npm version $(npm view @momo-kits/stepper@beta version)
19
+ npm version prerelease --preid=beta
19
20
  npm publish --tag beta --access=public
20
21
  fi
21
22