Skip to content

Commit

Permalink
Add config for np
Browse files Browse the repository at this point in the history
  • Loading branch information
Saeris committed Nov 27, 2021
1 parent a9d818e commit ca706ba
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"url": "https://github.com/saeris/apollo-server-vercel/issues"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"main": "src/index.js",
"engines": {
Expand All @@ -31,15 +32,15 @@
"build": "pika build",
"build:docs": "fiddly",
"lint": "yarn test:lint",
"release": "pika build && np --contents pkg/",
"release": "np",
"start": "vercel dev",
"test": "yarn test:lint && yarn test:typecheck && yarn test:unit",
"test:lint": "eslint \"./src/**/*.{j,t}s?(x)\"",
"test:typecheck": "tsc --noEmit",
"test:unit": "jest",
"test:watch": "yarn test:unit --watch",
"typecheck": "yarn test:typecheck",
"version": "npm run build"
"version": "yarn build"
},
"dependencies": {
"@apollographql/graphql-playground-html": "1.6.29",
Expand Down Expand Up @@ -101,6 +102,9 @@
]
]
},
"np": {
"contents": "pkg"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
Expand Down

1 comment on commit ca706ba

@vercel
Copy link

@vercel vercel bot commented on ca706ba Nov 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.