Skip to content

Commit

Permalink
fix: decrease bundle size of tgz (#791)
Browse files Browse the repository at this point in the history
* fix: decrease bundle size of tgz

* add line

* spelling
  • Loading branch information
TarikGul committed Dec 13, 2021
1 parent f6158af commit 848a7a6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
17 changes: 12 additions & 5 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
*.ts
/src
/config
Dockerfile
docker-compose.yml
# NOTE: We use .npmignore instead of the `files` field in the package.json so we
# can ignore specific test helper directories

# Ignore all directories
/*

# Unignore the build directory
!/build

# Ignore specific paths within the build directory
/build/src/test-helpers
/build/src/services/test-helpers
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
"bugs": {
"url": "https://github.com/paritytech/substrate-api-sidecar/issues"
},
"files": [
"build"
],
"scripts": {
"build": "substrate-exec-rimraf build/ && substrate-exec-tsc && echo Build Finished",
"build:calc": "bash ./calc/build.sh",
Expand Down

0 comments on commit 848a7a6

Please sign in to comment.