Skip to content

Commit d43e3d0

Browse files
committed
build size reductions and commands
1 parent 75ee724 commit d43e3d0

File tree

4 files changed

+47
-21
lines changed

4 files changed

+47
-21
lines changed

.npmignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
src/
2+
test/
3+
node_modules/
4+
.vscode
5+
dist/test
6+
.prettier*
7+
tsconfig.json

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules
22
artifacts
33
cache
4-
coverage*
4+
coverage*
5+
dist/

package-lock.json

Lines changed: 33 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hapi-signed-url",
3-
"version": "1.0.0",
3+
"version": "1.0.2",
44
"description": "A hapijs plugin to generate signed url for response objects",
55
"main": "dist/src/index.js",
66
"types": "dist/src/index.d.ts",
@@ -13,7 +13,7 @@
1313
"pretty": "npx prettier '**/*.{json,js,ts,md}' --write",
1414
"test": "npx mocha -p --require ts-node/register test/*.spec.ts",
1515
"prebuild": "tsc",
16-
"build": "npm run test"
16+
"build": "npm run test && npm publish"
1717
},
1818
"repository": {
1919
"type": "git",
@@ -32,12 +32,12 @@
3232
},
3333
"homepage": "https://github.com/AP-Atul/hapi-signed-url#readme",
3434
"dependencies": {
35-
"ramda": "^0.28.0",
36-
"ts-node": "^10.9.1",
37-
"typescript": "^4.7.4"
35+
"ramda": "^0.28.0"
3836
},
3937
"devDependencies": {
4038
"@hapi/hapi": "^20.2.2",
39+
"ts-node": "^10.9.1",
40+
"typescript": "^4.7.4",
4141
"@types/chai": "^4.3.3",
4242
"@types/hapi__hapi": "^20.0.12",
4343
"@types/mocha": "^9.1.1",

0 commit comments

Comments
 (0)