Skip to content

Commit

Permalink
adds npm lib build for app-base
Browse files Browse the repository at this point in the history
use app lib for e2e tests
  • Loading branch information
christopher-johnson committed Dec 8, 2018
1 parent 133a025 commit dd568ff
Show file tree
Hide file tree
Showing 18 changed files with 674 additions and 156 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ before_script:
- npm install
- cd ../mirador3-app-base
- npm install
- cd ../mirador3-e2e-tests
- npm install
- cd ../..
- lerna run build
- lerna run build --ignore=mirador3-e2e-tests
- lerna run lib
- cd packages/mirador3-e2e-tests
- npm install
- npm run build
script:
- lerna run test --stream
- cd packages/mirador3-e2e-tests
Expand Down
1 change: 1 addition & 0 deletions packages/mirador3-app-base/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ config/
dist/
scripts/
coverage/
lib/
3 changes: 3 additions & 0 deletions packages/mirador3-app-base/config/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ module.exports = {
appPath: resolveApp('.'),
appBuild: resolveApp('build'),
appDist: resolveApp('dist'),
appLibBuild: resolveApp('lib'),
appLibIndexJs: resolveApp('src/index-lib.js'),
appLibSrc: resolveApp('src'),
appPublic: resolveApp('public'),
appHtml: resolveApp('public/index.html'),
appIndexJs: resolveModule(resolveApp, 'src/index'),
Expand Down
Loading

0 comments on commit dd568ff

Please sign in to comment.