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 eccfc1e
Show file tree
Hide file tree
Showing 18 changed files with 675 additions and 156 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@ 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:
- cd ../..
- lerna run test --stream
- cd packages/mirador3-e2e-tests
- npm run cypress:record
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 eccfc1e

Please sign in to comment.