94 lines
2.7 KiB
JSON
94 lines
2.7 KiB
JSON
|
{
|
||
|
"name": "@octokit/graphql",
|
||
|
"version": "2.1.3",
|
||
|
"publishConfig": {
|
||
|
"access": "public"
|
||
|
},
|
||
|
"description": "GitHub GraphQL API client for browsers and Node",
|
||
|
"main": "index.js",
|
||
|
"scripts": {
|
||
|
"prebuild": "mkdirp dist/",
|
||
|
"build": "npm-run-all build:*",
|
||
|
"build:development": "webpack --mode development --entry . --output-library=octokitGraphql --output=./dist/octokit-graphql.js --profile --json > dist/bundle-stats.json",
|
||
|
"build:production": "webpack --mode production --entry . --plugin=compression-webpack-plugin --output-library=octokitGraphql --output-path=./dist --output-filename=octokit-graphql.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",
|
||
|
"coverage:upload": "nyc report --reporter=text-lcov | coveralls",
|
||
|
"pretest": "standard",
|
||
|
"test": "nyc mocha test/*-test.js",
|
||
|
"test:browser": "cypress run --browser chrome"
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/octokit/graphql.js.git"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"octokit",
|
||
|
"github",
|
||
|
"api",
|
||
|
"graphql"
|
||
|
],
|
||
|
"author": "Gregor Martynus (https://github.com/gr2m)",
|
||
|
"license": "MIT",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/octokit/graphql.js/issues"
|
||
|
},
|
||
|
"homepage": "https://github.com/octokit/graphql.js#readme",
|
||
|
"dependencies": {
|
||
|
"@octokit/request": "^5.0.0",
|
||
|
"universal-user-agent": "^2.0.3"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"chai": "^4.2.0",
|
||
|
"compression-webpack-plugin": "^2.0.0",
|
||
|
"coveralls": "^3.0.3",
|
||
|
"cypress": "^3.1.5",
|
||
|
"fetch-mock": "^7.3.1",
|
||
|
"mkdirp": "^0.5.1",
|
||
|
"mocha": "^6.0.0",
|
||
|
"npm-run-all": "^4.1.3",
|
||
|
"nyc": "^14.0.0",
|
||
|
"semantic-release": "^15.13.3",
|
||
|
"simple-mock": "^0.8.0",
|
||
|
"standard": "^12.0.1",
|
||
|
"webpack": "^4.29.6",
|
||
|
"webpack-bundle-analyzer": "^3.1.0",
|
||
|
"webpack-cli": "^3.2.3"
|
||
|
},
|
||
|
"bundlesize": [
|
||
|
{
|
||
|
"path": "./dist/octokit-graphql.min.js.gz",
|
||
|
"maxSize": "5KB"
|
||
|
}
|
||
|
],
|
||
|
"release": {
|
||
|
"publish": [
|
||
|
"@semantic-release/npm",
|
||
|
{
|
||
|
"path": "@semantic-release/github",
|
||
|
"assets": [
|
||
|
"dist/*",
|
||
|
"!dist/*.map.gz"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"standard": {
|
||
|
"globals": [
|
||
|
"describe",
|
||
|
"before",
|
||
|
"beforeEach",
|
||
|
"afterEach",
|
||
|
"after",
|
||
|
"it",
|
||
|
"expect"
|
||
|
]
|
||
|
},
|
||
|
"files": [
|
||
|
"lib"
|
||
|
]
|
||
|
|
||
|
,"_resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-2.1.3.tgz"
|
||
|
,"_integrity": "sha512-XoXJqL2ondwdnMIW3wtqJWEwcBfKk37jO/rYkoxNPEVeLBDGsGO1TCWggrAlq3keGt/O+C/7VepXnukUxwt5vA=="
|
||
|
,"_from": "@octokit/graphql@2.1.3"
|
||
|
}
|