Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
macrozone committed May 1, 2020
1 parent 3483980 commit bb09a76
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"build": "lerna run build --stream --parallel",
"lint:eslint": "eslint './**/*.ts'",
"test": "jest",
"postinstall": "lerna bootstrap && lerna exec -- yarn install",
"prepare": "lerna bootstrap && lerna exec -- yarn install",
"semantic-release": "semantic-release"
},
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"test": "echo \"Error: run tests from root\" && exit 1",
"build": "yarn build:cjs && yarn build:es",
"build:cjs": "rimraf ./lib && tsc --project tsconfig.json --outDir lib --module commonjs",
"build:es": "rimraf ./lib-es && tsc --project tsconfig.json"
"build:es": "rimraf ./lib-es && tsc --project tsconfig.json",
"prepublish": "yarn build"
},
"dependencies": {
"lodash": "^4.17.15",
Expand Down
3 changes: 2 additions & 1 deletion packages/dataprovider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"build": "yarn build:cjs && yarn build:es",
"build:cjs": "rimraf ./lib && tsc --project tsconfig.json --outDir lib --module commonjs",
"build:es": "rimraf ./lib-es && tsc --project tsconfig.json",
"postinstall": "yarn generate:test",
"prepare": "yarn generate:test",
"prepublish": "yarn build",
"generate:test": "yarn generate:test:prisma && yarn generate:test:nexus",
"generate:test:prisma": "yarn prisma generate --schema test-data/datamodel.prisma",
"generate:test:nexus": "yarn ts-node --project test-data/tsconfig.json --transpile-only test-data/testSchema.ts"
Expand Down

0 comments on commit bb09a76

Please sign in to comment.