@octokit/endpoint
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "@octokit/endpoint", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"publishConfig": { | ||
@@ -14,2 +14,7 @@ "access": "public", | ||
"scripts": { | ||
"prebuild": "mkdirp dist/", | ||
"build": "npm-run-all build:*", | ||
"build:development": "webpack --mode development --entry . --output-library=Octokit --output=./dist/octokit-endpoint.js --profile --json > dist/bundle-stats.json", | ||
"build:production": "webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=Octokit --output-path=./dist --output-filename=octokit-endpoint.min.js --devtool source-map", | ||
"bundle-report": "webpack-bundle-analyzer dist/bundle-stats.json --mode=static --no-open --report dist/bundle-report.html", | ||
"coverage": "nyc report --reporter=html && open coverage/index.html", | ||
@@ -19,2 +24,3 @@ "coverage:upload": "nyc report --reporter=text-lcov | coveralls", | ||
"test": "nyc mocha test/*-test.js", | ||
"test:browser": "cypress run --browser chrome", | ||
"semantic-release": "semantic-release" | ||
@@ -40,4 +46,8 @@ }, | ||
"chai": "^4.2.0", | ||
"compression-webpack-plugin": "^2.0.0", | ||
"coveralls": "^3.0.2", | ||
"cypress": "^3.1.0", | ||
"mkdirp": "^0.5.1", | ||
"mocha": "^5.2.0", | ||
"npm-run-all": "^4.1.3", | ||
"nyc": "^13.1.0", | ||
@@ -47,4 +57,30 @@ "semantic-release": "^15.10.3", | ||
"standard": "^12.0.1", | ||
"standard-markdown": "^5.0.1" | ||
"standard-markdown": "^5.0.1", | ||
"webpack": "^4.21.0", | ||
"webpack-bundle-analyzer": "^3.0.3", | ||
"webpack-cli": "^3.1.2" | ||
}, | ||
"dependencies": { | ||
"lodash": "^4.17.11", | ||
"universal-user-agent": "^2.0.1", | ||
"url-template": "^2.0.8" | ||
}, | ||
"bundlesize": [ | ||
{ | ||
"path": "./dist/octokit-endpoint.min.js.gz", | ||
"maxSize": "10 kB" | ||
} | ||
], | ||
"release": { | ||
"publish": [ | ||
"@semantic-release/npm", | ||
{ | ||
"path": "@semantic-release/github", | ||
"assets": [ | ||
"dist/*", | ||
"!dist/*.map.gz" | ||
] | ||
} | ||
] | ||
}, | ||
"standard": { | ||
@@ -60,8 +96,3 @@ "globals": [ | ||
] | ||
}, | ||
"dependencies": { | ||
"lodash": "^4.17.11", | ||
"universal-user-agent": "^2.0.1", | ||
"url-template": "^2.0.8" | ||
} | ||
} |
@@ -14,2 +14,7 @@ # endpoint.js | ||
`@octokit/endopint` is meant to run in all JavaScript environments. Browser | ||
builds can be downloaded from each [Release](https://github.com/octokit/endpoint.js/releases). | ||
The bundle size is currently 9.15KB (minified and gzipped). [Help us reduce the | ||
bundle size](Reduce bundle size for browsers) 🙏 | ||
## Usage | ||
@@ -16,0 +21,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
24831
13
376
277
0
15