Skip to content

Commit

Permalink
Merge pull request #78 from indec-it/refactor/copyFiles
Browse files Browse the repository at this point in the history
refactor(package): move copy files into build script
  • Loading branch information
maximilianoforlenza authored Jun 23, 2022
2 parents 9bab617 + e4bff25 commit 404b6a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
run: |
npm install
npm run build
cp package.json README.md LICENSE.md lib/
- name: Publish package on NPM 📦
run: npm publish lib
env:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@indec/react-commons",
"version": "5.0.1",
"version": "5.0.2",
"description": "Common reactjs components for apps",
"private": false,
"main": "lib/index.js",
"scripts": {
"start": "start-storybook -p 6006",
"build": "NODE_ENV=production babel src --out-dir lib",
"build": "NODE_ENV=production babel src --out-dir lib && cp package.json README.md LICENSE.md lib/",
"build-storybook": "build-storybook -o docs-build",
"test": "jest --config=jest.config.json",
"test:watch": "jest --config=jest.config.json --watch",
Expand Down

0 comments on commit 404b6a7

Please sign in to comment.