|
hace 4 años | |
---|---|---|
.vscode | hace 4 años | |
src | hace 4 años | |
.gitignore | hace 4 años | |
README.md | hace 4 años | |
codegen.yml | hace 4 años | |
graphql.schema.json | hace 4 años | |
nodemon.json | hace 4 años | |
package-lock.json | hace 4 años | |
package.json | hace 4 años | |
tsconfig.json | hace 4 años |
npm init
See More https://graphql-code-generator.com/docs/getting-started/installation
npm add --save graphql
or
yarn add graphql
npm add --save-dev @graphql-codegen/cli
or
yarn add -D @graphql-codegen/cli
npx graphql-codegen init
npm add --save-dev @graphql-codegen/typescript
or
yarn add -D @graphql-codegen/typescript
npm add apollo-server
npm install @types/node --save-dev
npx tsc --init --rootDir src --outDir build \
--esModuleInterop --resolveJsonModule --lib es6 \
--module commonjs --allowJs true --noImplicitAny true
npm install --save-dev ts-node nodemon rimraf
ng new graphql-demo