UNPKG

@thebigcrunch/sdk

Version:
92 lines (91 loc) 4.91 kB
{ "name": "@thebigcrunch/sdk", "version": "0.5.30", "description": "The big crunch SDK library", "main": "build/tbc_sdk_node.js", "browser": "build/tbc_sdk.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "eslint": "eslint src", "build": "npm run clean && NODE_ENV=production webpack", "build:dev": "npm run clean && NODE_ENV=development webpack", "build:local": "npm run clean && NODE_ENV=local webpack", "build:test": "npm run clean && NODE_ENV=test webpack", "clean": "rimraf build", "start": "npm run build:local && NODE_ENV=local webpack-dev-server --disableHostCheck=true", "bundle:analyse": "webpack --env production --profile --json > build/stats.json && webpack-bundle-analyzer build/stats.json -m static", "invalidate:s3": "aws cloudfront create-invalidation --distribution-id $npm_config_id --paths $npm_config_path", "invalidate:s3:dev": "npm run invalidate:s3 --id=EJFN7JUDLE0H4 --path=/tbc*", "invalidate:s3:test": "npm run invalidate:s3 --id=E2NAXME1OHTBN9 --path=/tbc*", "invalidate:s3:earlyaccess": "npm run invalidate:s3 --id=E15B5U2F03EDE7 --path=/tbc*", "deploy:dev": "npm run build:dev && npm run build:dev && aws s3 --region ap-southeast-2 cp build s3://dev-runtime-assets/ --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --cache-control max-age=3600 --recursive && npm run invalidate:s3:dev", "deploy:test": "npm run build:test && aws s3 --region ap-southeast-2 cp build s3://123456-runtime-assets/ --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --cache-control max-age=3600 --recursive && npm run invalidate:s3:test", "deploy:earlyaccess": "npm run make:s3:tag && npm run build && aws s3 --region ap-southeast-2 cp build s3://runtime-assets/ --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --cache-control max-age=3600 --recursive && npm run invalidate:s3:earlyaccess", "make:npm:tag": "git tag npm-`cat package.json |grep version |head -n 1|awk -F: '{print$2}' |sed 's/[\",]//g'|tr -d '[[:space:]]'`", "make:s3:tag": "git tag s3-`cat package.json |grep version |head -n 1|awk -F: '{print$2}' |sed 's/[\",]//g'|tr -d '[[:space:]]'`", "publish:npm": "npm run make:npm:tag && npm run build && npm publish --access public" }, "author": "The Big Crunch Team", "license": "ISC", "devDependencies": { "@babel/cli": "^7.2.3", "@babel/core": "^7.2.0", "@babel/plugin-proposal-class-properties": "^7.2.3", "@babel/plugin-proposal-decorators": "^7.2.3", "@babel/plugin-proposal-export-default-from": "^7.2.0", "@babel/plugin-proposal-export-namespace-from": "^7.2.0", "@babel/plugin-proposal-function-sent": "^7.2.0", "@babel/plugin-proposal-json-strings": "^7.2.0", "@babel/plugin-proposal-numeric-separator": "^7.2.0", "@babel/plugin-proposal-object-rest-spread": "^7.2.0", "@babel/plugin-proposal-throw-expressions": "^7.2.0", "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-syntax-export-default-from": "^7.2.0", "@babel/plugin-syntax-import-meta": "^7.2.0", "@babel/plugin-transform-arrow-functions": "^7.2.0", "@babel/plugin-transform-async-to-generator": "^7.2.0", "@babel/plugin-transform-runtime": "^7.2.0", "@babel/polyfill": "^7.2.5", "@babel/preset-env": "^7.2.3", "@babel/preset-es2015": "^7.0.0-beta.53", "babel-eslint": "^10.0.1", "babel-loader": "^8.0.5", "babel-minify-webpack-plugin": "^0.3.1", "dotenv": "^6.2.0", "eslint": "^5.12.1", "eslint-config-airbnb": "^16.1.0", "eslint-config-prettier": "^3.5.0", "eslint-plugin-import": "^2.14.0", "eslint-plugin-jest": "^22.1.3", "eslint-plugin-jsx-a11y": "^6.1.2", "eslint-plugin-react": "^7.12.4", "extract-text-webpack-plugin": "^3.0.2", "file-loader": "^3.0.1", "html-loader": "^0.5.5", "html-webpack-plugin": "^3.2.0", "jest": "^23.6.0", "rimraf": "^2.6.3", "url-loader": "^1.1.2", "webpack": "^4.28.2", "webpack-bundle-analyzer": "^3.0.3", "webpack-bundle-size-analyzer": "^3.0.0", "webpack-cli": "^3.1.2", "webpack-dev-server": "^3.1.14", "uglifyjs-webpack-plugin": "^2.2.0" }, "dependencies": { "socket.io-client": "^2.2.0", "url-search-params-polyfill": "^5.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/thebigcrunch/sdk.git" }, "keywords": [ "TBC" ], "bugs": { "url": "https://github.com/thebigcrunch/sdk/issues" }, "homepage": "https://github.com/thebigcrunch/sdk#readme" }