1.0.11 • Published 6 years ago
@aifedespaix/fdp-api-libs v1.0.11
Running the app
Development
$ yarn start:dev
production mode
$ yarn build
$ yarn start:prod
Test
unit tests
$ yarn test
e2e tests
$ yarn test:e2e
Test with coverage
$ yarn test:cov
Nest
$ yarn nest g mo [module]
$ yarn nest g c [module]/[composant]
$ yarn nest g library library
class (alias: cl)
controller (alias: co)
decorator (alias: d)
filter (alias: f)
gateway (alias: ga)
guard (alias: gu)
interface (alias: -)
interceptor (alias: in)
library (alias: lib)
middleware (alias: mi)
module (alias: mo)
pipe (alias: pi)
provider (alias: pr)
resolver (alias: r)
service (alias: s)
GraphQL
$ yarn gen
Prisma
$ yarn prisma deploy
Generate
$ prisma2 generate
Publish
yarn login
yarn publish --access public