-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: exclude root types from wildcard import
- Loading branch information
1 parent
fc9a12c
commit 5739a25
Showing
3 changed files
with
163 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,40 +6,33 @@ | |
}, | ||
"license": "MIT", | ||
"repository": "[email protected]:graphcool/graphql-import.git", | ||
"files": [ | ||
"dist" | ||
], | ||
"files": ["dist"], | ||
"main": "dist/index.js", | ||
"typings": "dist/index.d.ts", | ||
"typescript": { | ||
"definition": "dist/index.d.ts" | ||
}, | ||
"nyc": { | ||
"extension": [ | ||
".ts" | ||
], | ||
"require": [ | ||
"ts-node/register" | ||
], | ||
"include": [ | ||
"src/**/*.ts" | ||
], | ||
"exclude": [ | ||
"**/*.d.ts", | ||
"**/*.test.ts" | ||
], | ||
"extension": [".ts"], | ||
"require": ["ts-node/register"], | ||
"include": ["src/**/*.ts"], | ||
"exclude": ["**/*.d.ts", "**/*.test.ts"], | ||
"all": true, | ||
"sourceMap": true, | ||
"instrument": true | ||
}, | ||
"scripts": { | ||
"prepare": "npm run build", | ||
"build": "rm -rf dist && tsc -d", | ||
"testlocal": "npm run build && nyc --reporter lcov --reporter text ava-ts --verbose src/**/*.test.ts", | ||
"test-only": "npm run build && nyc --reporter lcov ava-ts --verbose src/**/*.test.ts --tap | tap-xunit > ~/reports/ava.xml", | ||
"testlocal": | ||
"npm run build && nyc --reporter lcov --reporter text ava-ts -u --verbose src/**/*.test.ts", | ||
"test-only": | ||
"npm run build && mkdir -p ~/reports && nyc --reporter lcov ava-ts --verbose src/**/*.test.ts --tap | tap-xunit > ~/reports/ava.xml", | ||
"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 .." | ||
"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 .." | ||
}, | ||
"peerDependencies": { | ||
"graphql": "^0.11.0 || ^0.12.0 || ^0.13.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.