Add typescript build configuration
This commit is contained in:
12
package.json
12
package.json
@@ -1,15 +1,25 @@
|
||||
{
|
||||
"name": "railbird-gql",
|
||||
"version": "1.0.0",
|
||||
"main": "src/index.js",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"prepublishOnly": "npm run build",
|
||||
"postinstall": "tsc"
|
||||
},
|
||||
"repository": "ssh://gitea@dev.railbird.ai:1123/railbird/railbird-gql.git",
|
||||
"author": "Ivan Malison <IvanMalison@gmail.com>",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@apollo/client": "^3.9.2",
|
||||
"@graphql-codegen/cli": "^5.0.0",
|
||||
"@graphql-codegen/typescript": "^4.0.1",
|
||||
"@graphql-codegen/typescript-operations": "^4.0.1",
|
||||
"@graphql-codegen/typescript-react-apollo": "^4.2.0",
|
||||
"graphql": "^16.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^4.x"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user