Skip to content

Commit

Permalink
chore(build) Enable source map on all packages for easier development
Browse files Browse the repository at this point in the history
Signed-off-by: Jerome Simeon <[email protected]>
  • Loading branch information
jeromesimeon committed Aug 4, 2020
1 parent 41c986b commit 2fcfd73
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ install: |
npm install -g lerna@^3.15.0
lerna bootstrap 2>&1
date
script: lerna run build
script: lerna run build:prod
deploy:
provider: script
script: 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./.travis/deploy.sh; fi'
Expand Down
3 changes: 2 additions & 1 deletion packages/ui-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"build:app": "react-scripts build",
"test": "react-scripts test --env=jest-environment-jsdom-sixteen",
"eject": "react-scripts eject",
"build": "npx rollup -c",
"build": "npx rollup -c --sourcemap",
"build:prod": "npx rollup -c",
"fix:js": "npx eslint --fix ./src/",
"lint:js": "npx eslint ./src/",
"lint:style": "npx stylelint ./src/",
Expand Down
3 changes: 2 additions & 1 deletion packages/ui-concerto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"build:app": "react-scripts build",
"test": "react-scripts test --env=jest-environment-jsdom-sixteen",
"eject": "react-scripts eject",
"build": "npx rollup -c",
"build": "npx rollup -c --sourcemap",
"build:prod": "npx rollup -c",
"fix:js": "npx eslint --fix ./src/",
"lint:js": "npx eslint ./src/",
"lint:style": "npx stylelint ./src/",
Expand Down
3 changes: 2 additions & 1 deletion packages/ui-contract-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"build:app": "react-scripts build",
"test": "react-scripts test --env=jest-environment-jsdom-sixteen",
"eject": "react-scripts eject",
"build": "npx rollup -c",
"build": "npx rollup -c --sourcemap",
"build:prod": "npx rollup -c",
"fix:js": "npx eslint --fix ./src/",
"lint:js": "npx eslint ./src/",
"lint:style": "npx stylelint ./src/",
Expand Down
3 changes: 2 additions & 1 deletion packages/ui-markdown-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"build:app": "react-scripts build",
"test": "react-scripts test --env=jest-environment-jsdom-sixteen",
"eject": "react-scripts eject",
"build": "npx rollup -c",
"build": "npx rollup -c --sourcemap",
"build:prod": "npx rollup -c",
"fix:js": "npx eslint --fix ./src/",
"lint:js": "npx eslint ./src/",
"lint:style": "npx stylelint ./src/",
Expand Down

0 comments on commit 2fcfd73

Please sign in to comment.