Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Include fixtures to dist
Browse files Browse the repository at this point in the history
Added empty .npmigore for npm/cli#1287
  • Loading branch information
blukat29 committed Mar 29, 2023
1 parent ae0baa5 commit 0594685
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 1 deletion.
Empty file added .npmignore
Empty file.
55 changes: 55 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@
"lint:fix": "prettier --write 'src/**/*.{js,ts}' 'test/**/*.{js,ts}' && tslint --fix --config tslint.json --project tsconfig.json",
"lint": "tslint --config tslint.json --project tsconfig.json",
"test": "mocha --exit --recursive 'test/**/*.test.ts'",
"prepare": "shx mkdir -p dist && shx cp -r fixtures dist/",
"build": "tsc",
"watch": "tsc -w",
"prepublishOnly": "npm run build"
},
"files": [
"dist/src/",
"dist/fixtures/",
"src/",
"LICENSE",
"README.md"
Expand Down
2 changes: 1 addition & 1 deletion src/blockscout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ task(TASK_EXPLORER, "Launch blockscout explorer")
_.assign(process.env, extraEnvs);
console.log('[+] Using env:', extraEnvs);

const dir = path.resolve(__dirname, "../../fixtures/blockscout");
const dir = path.resolve(__dirname, "../fixtures/blockscout");
process.chdir(dir);

// Start containers
Expand Down

0 comments on commit 0594685

Please sign in to comment.