2020-03-07 11:45:40 +08:00
|
|
|
{
|
2020-03-31 20:57:48 +08:00
|
|
|
"name": "graphql-import",
|
|
|
|
"version": "0.7.1",
|
2020-03-07 11:45:40 +08:00
|
|
|
"engines": {
|
|
|
|
"node": ">=4.0.0"
|
|
|
|
},
|
2020-03-31 20:57:48 +08:00
|
|
|
"license": "MIT",
|
|
|
|
"repository": "git@github.com:graphcool/graphql-import.git",
|
2020-03-07 11:45:40 +08:00
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
],
|
|
|
|
"main": "dist/index.js",
|
2020-03-31 20:57:48 +08:00
|
|
|
"typings": "dist/index.d.ts",
|
|
|
|
"typescript": {
|
|
|
|
"definition": "dist/index.d.ts"
|
|
|
|
},
|
2020-03-07 11:45:40 +08:00
|
|
|
"nyc": {
|
|
|
|
"extension": [
|
|
|
|
".ts"
|
|
|
|
],
|
|
|
|
"require": [
|
|
|
|
"ts-node/register"
|
|
|
|
],
|
|
|
|
"include": [
|
|
|
|
"src/**/*.ts"
|
|
|
|
],
|
|
|
|
"exclude": [
|
|
|
|
"**/*.d.ts",
|
|
|
|
"**/*.test.ts"
|
|
|
|
],
|
|
|
|
"all": true,
|
|
|
|
"sourceMap": true,
|
|
|
|
"instrument": true
|
|
|
|
},
|
|
|
|
"scripts": {
|
2020-03-22 05:13:25 +08:00
|
|
|
"prepare": "npm run build",
|
2020-03-31 20:57:48 +08:00
|
|
|
"build": "rm -rf dist && tsc -d",
|
|
|
|
"testlocal": "npm run build && nyc --reporter lcov --reporter text ava-ts -u --verbose src/**/*.test.ts",
|
2020-03-22 05:13:25 +08:00
|
|
|
"test-only": "npm run build && mkdir -p ~/reports && nyc --reporter lcov ava-ts --verbose src/**/*.test.ts --tap | tap-xunit > ~/reports/ava.xml",
|
2020-03-31 20:57:48 +08:00
|
|
|
"test": "tslint src/**/*.ts && npm run test-only",
|
|
|
|
"docs": "typedoc --out docs src/index.ts --hideGenerator --exclude **/*.test.ts",
|
|
|
|
"docs:publish": "cp ./now.json ./docs && cd docs && now --public -f && now alias && now rm --yes --safe graphql-import & cd .."
|
2020-03-07 11:45:40 +08:00
|
|
|
},
|
2020-03-31 20:57:48 +08:00
|
|
|
"peerDependencies": {
|
|
|
|
"graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0"
|
2020-03-07 11:45:40 +08:00
|
|
|
},
|
2020-03-31 20:57:48 +08:00
|
|
|
"devDependencies": {
|
|
|
|
"@types/graphql": "14.0.0",
|
|
|
|
"@types/lodash": "4.14.116",
|
|
|
|
"@types/resolve-from": "0.0.18",
|
|
|
|
"@types/node": "9.6.31",
|
|
|
|
"ava": "0.25.0",
|
|
|
|
"ava-ts": "0.25.1",
|
|
|
|
"graphql": "14.0.2",
|
|
|
|
"nyc": "11.8.0",
|
|
|
|
"tap-xunit": "2.3.0",
|
|
|
|
"ts-node": "7.0.1",
|
|
|
|
"tslint": "5.11.0",
|
|
|
|
"tslint-config-standard": "7.0.0",
|
|
|
|
"typedoc": "0.11.1",
|
|
|
|
"typescript": "3.0.1"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"lodash": "^4.17.4",
|
|
|
|
"resolve-from": "^4.0.0"
|
|
|
|
}
|
2020-03-07 11:45:40 +08:00
|
|
|
}
|