Skip to content

Commit 3dd0344

Browse files
rallyssonarthurdenner
authored andcommitted
fix(package.json): Adding postinstall script (#13)
* fix(package.json): added postinstall script * build(docker): added date-fns package copy
1 parent 9b84006 commit 3dd0344

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM mhart/alpine-node:10
22
WORKDIR /usr/src
33
COPY package.json yarn.lock /usr/src/
4+
COPY date-fns-v2/package.json yarn.lock /usr/src/date-fns-v2/
45
RUN yarn install
56
COPY . .
67
RUN yarn storybook:build

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"lint": "kcd-scripts lint",
1212
"precommit": "kcd-scripts precommit",
1313
"predeploy": "npm run storybook:build",
14+
"postinstall": "cd date-fns-v2/ && npm install",
1415
"semantic-release": "semantic-release",
1516
"storybook": "start-storybook -p 9001 -c stories",
1617
"storybook:build": "build-storybook -c stories",

0 commit comments

Comments
 (0)