syncano-client
Advanced tools
Comparing version 0.15.1 to 0.15.2-0
{ | ||
"name": "syncano-client", | ||
"version": "0.15.1", | ||
"version": "0.15.2-0", | ||
"description": "Interact with your Syncano Sockets.", | ||
@@ -8,13 +8,30 @@ "license": "MIT", | ||
"scripts": { | ||
"build": "npm run build:dist && npm run build:lib", | ||
"build": "npm-run-all build:*", | ||
"build:dist": "webpack", | ||
"build:lib": "babel src --out-dir lib", | ||
"prebuild": "rm -rf dist || rm -rf lib || true", | ||
"build:docs": "jsdoc -c ./jsdoc.json -t ./node_modules/ink-docstrap/template -R README.md -d ./docs -r ./src -u ./tutorials", | ||
"clean": "npm-run-all clean:*", | ||
"clean:dist": "rimraf ./dist", | ||
"clean:lib": "rimraf ./lib", | ||
"clean:docs": "rimraf ./docs", | ||
"clean:gh-pages": "rimraf ./node_modules/gh-pages/.cache", | ||
"prepublish": "npm run build", | ||
"test": "xo && mocha --compilers js:babel-register tests", | ||
"test:coverage": "nyc npm test && nyc report --reporter=text-lcov > coverage.lcov && codecov", | ||
"watch:dist": "webpack --watch", | ||
"watch:lib": "babel src --watch -d lib", | ||
"watch:test": "mocha --watch --compilers js:babel-register tests", | ||
"watch:test:min": "mocha --watch -R min --compilers js:babel-register tests" | ||
"prebuild": "npm run clean", | ||
"unit": "cross-env NODE_ENV=test mocha 'tests/unit/**/*.js' --reporter spec --require babel-register", | ||
"test": "npm-run-all --parallel test:unit test:e2e", | ||
"test:unit": "cross-env NODE_ENV=test nyc yarn run unit", | ||
"test:e2e": "cross-env NODE_ENV=test nyc yarn run e2e", | ||
"test:coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", | ||
"lint": "xo src/**/*.js tests/**/*.js", | ||
"e2e": "mkdir -p e2e-tests/ && cross-env NODE_ENV=test mocha 'tests/e2e/*.js' --reporter spec --require babel-register --timeout 30000 --slow 8000", | ||
"watch": "npm-run-all --parallel watch:*", | ||
"watch:dist": "npm run build:dist -- --watch", | ||
"watch:lib": "npm run build:lib -- --watch", | ||
"watch:lib:test": "mocha --watch tests/**/*.js --compilers js:babel-register", | ||
"release:docs": "gh-pages -d docs -m \"Docs v${npm_package_version} [ci skip]\"", | ||
"release:reset": "git reset --hard $CIRCLE_SHA1", | ||
"release:git-config": "git config --global user.email $GITHUB_EMAIL && git config --global user.name $GITHUB_NAME", | ||
"release:npm-token": "echo \"//registry.npmjs.org/:_authToken=${NPM_TOKEN}\nprogress=false\" > ~/.npmrc", | ||
"release:beta": "npm version prerelease -m \"Bump to %s [ci skip]\" && git push origin $CIRCLE_BRANCH", | ||
"release": "npm version patch -m \"Bump to %s [ci skip]\" && git push origin $CIRCLE_BRANCH" | ||
}, | ||
@@ -72,7 +89,12 @@ "xo": { | ||
"codecov": "^1.0.1", | ||
"cross-env": "^3.1.4", | ||
"exports-loader": "^0.6.3", | ||
"imports-loader": "^0.7.0", | ||
"ink-docstrap": "^1.3.0", | ||
"jsdoc": "^3.4.3", | ||
"mocha": "^3.2.0", | ||
"npm-run-all": "^4.0.1", | ||
"nyc": "^10.0.0", | ||
"webpack": "beta", | ||
"rimraf": "^2.5.4", | ||
"webpack": "^2.2.1", | ||
"xo": "^0.17.1" | ||
@@ -79,0 +101,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
[](https://github.com/sindresorhus/xo) [](https://circleci.com/gh/Syncano/syncano-client-js) [](https://codecov.io/gh/Syncano/syncano-client-js) | ||
[](https://github.com/sindresorhus/xo) [](https://circleci.com/gh/Syncano/syncano-client-js) [](https://codecov.io/gh/Syncano/syncano-client-js) | ||
@@ -13,2 +13,6 @@ # Syncano Client Library | ||
**Also available at JSDELIVR** | ||
http://www.jsdelivr.com/projects/syncano-client-js | ||
**Usage** | ||
@@ -21,3 +25,3 @@ | ||
``` | ||
You can also use it with ES6 modules: | ||
@@ -85,3 +89,3 @@ | ||
Send `GET` request to Syncano socket. | ||
Send `GET` request to Syncano socket. | ||
@@ -88,0 +92,0 @@ | Parameter | Type | Description | |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
3663535
57
129795
142
23
1
3
3