Skip to content

Commit

Permalink
chore: build to dist/ instead of build/
Browse files Browse the repository at this point in the history
  • Loading branch information
vaidik committed Jan 25, 2024
1 parent 9772ff9 commit 6e02dfd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ Here are some of the use cases:
5. If you mess up your dev GTM account and want to start from scratch, reset it
quickly and then copy the configuration from production to start over.

## Installation

```
npm install gtm-tools
```

## Usage

### Configuration
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"scripts": {
"lint": "gts lint",
"clean": "gts clean",
"compile": "tsc && node scripts/shebangify.js ./build/index.js && chmod a+x ./build/index.js",
"compile": "tsc && node scripts/shebangify.js ./dist/index.js && chmod a+x ./dist/index.js",
"fix": "gts fix",
"prepare": "husky install",
"pretest": "npm run compile",
Expand All @@ -42,8 +42,8 @@
"reflect-metadata": "^0.1.13",
"yaml": "^2.3.1"
},
"main": "./build/index.js",
"main": "./dist/index.js",
"bin": {
"gtm-tools": "./build/index.js"
"gtm-tools": "./dist/index.js"
}
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "./node_modules/gts/tsconfig-google.json",
"compilerOptions": {
"rootDir": "src",
"outDir": "build",
"outDir": "dist",
"esModuleInterop": true,
"sourceMap": true,
"target": "es2020",
Expand Down

0 comments on commit 6e02dfd

Please sign in to comment.