Skip to content

Commit

Permalink
refactor: make src be root dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt committed May 28, 2020
1 parent a6ab58b commit a3dad71
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "graphql-request",
"version": "0.0.0-semantic-release",
"main": "dist/src/index.js",
"typings": "./dist/src/index.d.ts",
"main": "dist/index.js",
"files": [
"dist"
],
"bundlesize": [
{
"path": "./dist/src/index.js",
"path": "./dist/index.js",
"maxSize": "15 kB"
}
],
Expand All @@ -29,10 +28,11 @@
"url": "https://github.com/prisma/graphql-request/issues"
},
"engines": {
"node": "10.x || 12.x || 13.x || 14.x"
"node": "10.x || 12.x || 14.x"
},
"homepage": "https://github.com/prisma/graphql-request",
"scripts": {
"dev": "rm -rf dist && tsc --watch",
"format": "prettier --write .",
"prepublish": "npm run build",
"build": "rm -rf dist && tsc -d",
Expand Down
6 changes: 4 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
"moduleResolution": "node",
"noUnusedLocals": true,
"outDir": "dist",
"rootDir": ".",
"rootDir": "src",
"sourceMap": true,
"declaration": true,
"strictNullChecks": true,
"target": "es5"
},
"exclude": ["node_modules"]
"exclude": ["node_modules"],
"include": ["src"]
}

0 comments on commit a3dad71

Please sign in to comment.