Skip to content

Commit 3fc173a

Browse files
committed
Add package shit
1 parent 2e18f24 commit 3fc173a

File tree

3 files changed

+26
-895
lines changed

3 files changed

+26
-895
lines changed

package.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
22
"name": "graphql-codegen-fast-check",
3-
"version": "1.0.0",
4-
"main": "index.js",
3+
"version": "0.0.1",
4+
"author": "Daniel J. Harvey <daniel@internetisverymuchmybusiness.com> (https://danieljharvey.github.io/)",
5+
"main": "dist/src/index.js",
56
"license": "MIT",
67
"dependencies": {
7-
"fast-check": "^1.23.0",
8-
"prettier": "^2.0.2",
9-
"ts-jest": "^25.3.1"
8+
"prettier": "^2.0.2"
109
},
1110
"scripts": {
1211
"build": "tsc",
@@ -17,15 +16,13 @@
1716
"test:watch": "jest --watch"
1817
},
1918
"devDependencies": {
20-
"@babel/core": "^7.9.0",
21-
"@babel/preset-env": "^7.9.0",
22-
"@babel/preset-typescript": "^7.9.0",
19+
"fast-check": "^1.23.0",
20+
"ts-jest": "^25.3.1",
2321
"@graphql-codegen/cli": "^1.13.1",
2422
"@types/graphql": "^14.5.0",
2523
"@types/jest": "^25.1.4",
2624
"@types/node": "^13.9.8",
2725
"@types/prettier": "^1.19.1",
28-
"babel-jest": "^25.2.6",
2926
"graphql": "^14.6.0",
3027
"jest": "^25.2.4",
3128
"ts-node": "^8.8.1",

publish.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
# die if anything goes wrong
4+
set -euxo pipefail
5+
6+
# install
7+
yarn install
8+
9+
# build typescript
10+
yarn build
11+
12+
# publish
13+
npm publish

0 commit comments

Comments
 (0)