Skip to content

Commit

Permalink
fix: return generator in package
Browse files Browse the repository at this point in the history
  • Loading branch information
askuzminov committed Jan 19, 2021
1 parent 7837186 commit fcf2841
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 6 additions & 0 deletions generator/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"version": "0.0.0",
"main": "../dist/cjs/generator/index.js",
"module": "../dist/esm/generator/index.js",
"types": "../dist/types/generator/index.d.ts"
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"files": [
"dist"
"dist",
"generator"
],
"scripts": {
"check-types": "tsc --noEmit",
"check-types:watch": "npm run check-types -- --watch",
"build:cjs": "tsc -p tsconfig.build.json",
"build:esm": "tsc -p tsconfig.build.json --module es2015 --outDir ./dist/esm/",
"build:types": "tsc -p tsconfig.build.json --outDir ./dist/types/ --declaration --emitDeclarationOnly",
"build:generator": "mkdir -p dist/generator && cp src/generator.json dist/generator/package.json",
"build:clean": "rimraf dist/**",
"build": "npm run build:clean && npm run build:cjs && npm run build:esm && npm run build:types && npm run build:generator",
"build": "npm run build:clean && npm run build:cjs && npm run build:esm && npm run build:types",
"pretest": "npm run build && npm run grpc:protobufjs && npm run gprc:generator",
"test": "jest --coverage",
"test:watch": "jest --watch",
Expand Down
6 changes: 0 additions & 6 deletions src/generator.json

This file was deleted.

0 comments on commit fcf2841

Please sign in to comment.