This repository has been archived by the owner on Jun 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fix happo, use microbundle to create the dist files, use circl…
…eci v2 (#63) BREAKING CHANGE: Since we now use microbundle to create the library. The output changes a bit and the output file in a CJS file only. If you need to use the library with a script tag, you should use the UMD build.
- Loading branch information
Showing
13 changed files
with
4,142 additions
and
1,199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
- image: cypress/browsers:chrome63-ff57 | ||
steps: | ||
- checkout | ||
- run: npm i | ||
- run: npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
.DS_Store | ||
node_modules/ | ||
.rpt2_cache/ | ||
|
||
dist/ | ||
happo-snapshots/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,28 @@ | ||
const FirefoxTarget = require('happo-target-firefox'); | ||
|
||
module.exports = { | ||
bind: "localhost", | ||
driver: "chrome", | ||
port: 4567, | ||
sourceFiles: [ | ||
"node_modules/pixi.js/dist/pixi.js", | ||
"dist/pixi-multistyle-text.js", | ||
"test/tests.js" | ||
], | ||
stylesheets: [], | ||
publicDirectories: [], | ||
snapshotsFolder: 'happo-snapshots', | ||
viewports: { | ||
large: { | ||
width: 2048, | ||
height: 2048, | ||
} | ||
}, | ||
}; | ||
bind: 'localhost', | ||
port: 4567, | ||
snapshotsFolder: 'happo-snapshots', | ||
resultSummaryFilename: 'resultSummary.json', | ||
uploader: null, | ||
targets: [ | ||
new FirefoxTarget({ | ||
bind: '0.0.0.0', | ||
port: 4567, | ||
sourceFiles: [ | ||
'node_modules/pixi.js/dist/pixi.js', | ||
'dist/pixi-multistyle-text.umd.js', | ||
'test/tests.js' | ||
], | ||
stylesheets: [], | ||
publicDirectories: [], | ||
viewports: { | ||
large: { | ||
width: 2048, | ||
height: 2048, | ||
} | ||
}, | ||
}), | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.