skapi-js 0.0.41 → 0.0.42

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/deploy.py +4 -2
  2. package/package.json +1 -1
package/deploy.py CHANGED
@@ -1,6 +1,8 @@
1
1
  import json
2
2
  import os
3
3
 
4
- with open('./package.json','r') as p:
4
+ with open('./package.json', 'r') as p:
5
5
  package = json.loads(p.read())
6
- os.system('npm publish')
6
+ ret = os.system('npm publish')
7
+ if ret == 0:
8
+ os.system(f'aws s3 sync ./dist s3://broadwayinc.dev/jslib/skapi/{package["version"]} --exclude "*" --include "*.js" --acl public-read')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skapi-js",
3
- "version": "0.0.41",
3
+ "version": "0.0.42",
4
4
  "description": "skapi serverless cloud javascript library",
5
5
  "main": "./dist/skapi.module.js",
6
6
  "scripts": {