Skip to content

Commit

Permalink
Add package shit
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljharvey committed Apr 5, 2020
1 parent 2e18f24 commit 3fc173a
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 895 deletions.
15 changes: 6 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"name": "graphql-codegen-fast-check",
"version": "1.0.0",
"main": "index.js",
"version": "0.0.1",
"author": "Daniel J. Harvey <[email protected]> (https://danieljharvey.github.io/)",
"main": "dist/src/index.js",
"license": "MIT",
"dependencies": {
"fast-check": "^1.23.0",
"prettier": "^2.0.2",
"ts-jest": "^25.3.1"
"prettier": "^2.0.2"
},
"scripts": {
"build": "tsc",
Expand All @@ -17,15 +16,13 @@
"test:watch": "jest --watch"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@babel/preset-typescript": "^7.9.0",
"fast-check": "^1.23.0",
"ts-jest": "^25.3.1",
"@graphql-codegen/cli": "^1.13.1",
"@types/graphql": "^14.5.0",
"@types/jest": "^25.1.4",
"@types/node": "^13.9.8",
"@types/prettier": "^1.19.1",
"babel-jest": "^25.2.6",
"graphql": "^14.6.0",
"jest": "^25.2.4",
"ts-node": "^8.8.1",
Expand Down
13 changes: 13 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

# die if anything goes wrong
set -euxo pipefail

# install
yarn install

# build typescript
yarn build

# publish
npm publish

0 comments on commit 3fc173a

Please sign in to comment.