-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup babel #614
Open
Shulammite-Aso
wants to merge
31
commits into
publiclab:main
Choose a base branch
from
Shulammite-Aso:babel
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Setup babel #614
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
b71d89d
rebase
jywarren 6aad6fc
update dependencies
Shulammite-Aso 0eb2000
update build script
Shulammite-Aso 91faf09
update travis config
Shulammite-Aso 2995436
update travis config
Shulammite-Aso 7972d80
update travis config
Shulammite-Aso bf98f7e
Update package.json
jywarren ce0f31d
Update .travis.yml
jywarren 3a7cb8c
Update .babelrc
jywarren 41bc989
revert/remove "sourceType": "script"
jywarren 2391707
bump resig-class to v2.0.0
jywarren ea0c3a3
new package-lock.json
jywarren 66b3255
add "sourceType": "script" again
jywarren 333b782
['@babel/preset-env', { targets: { node: 'current' } }],
jywarren a49037f
oops, add "presets":
jywarren aa4e8eb
Update .babelrc
jywarren b4e8518
Update .babelrc
jywarren c62fce0
update .babel
Shulammite-Aso e1f661b
gitpod dockerfile for puppeteer
jywarren 458d4ec
built dist
jywarren 7a2a4fb
puppeteer changes from https://github.com/puppeteer/puppeteer/blob/ma…
jywarren da79123
add lots of puppeteer stuff to Dockerfile
jywarren a9f13c9
removing the puppeteer stuff
jywarren a71bf41
working in-browser Jasmine tests at /tests.html
jywarren 88271c6
all jasmine tests in browser
jywarren bf4b5c1
switch to grunt-contrib-jasmine v2 for headless chrome instead of pha…
jywarren bedfc0c
refactor button test into jest
jywarren 23c62aa
split into jobs in travis
jywarren 3902111
fix for new jest test
jywarren c2c363b
custom insert jest test fix
jywarren f730a88
more jest fixes
jywarren File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,13 @@ | ||
{ | ||
"presets": [ | ||
["@babel/preset-env", { | ||
"targets": { | ||
"node": "current" | ||
} | ||
}] | ||
], | ||
"overrides": [{ | ||
"test": "./dist/PublicLab.Editor.js", | ||
"sourceType": "script" | ||
}] | ||
} |
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 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 |
---|---|---|
|
@@ -2,10 +2,14 @@ language: node_js | |
node_js: | ||
- '10' | ||
- '12' | ||
services: xvfb | ||
before_install: | ||
- npm install -g grunt-cli | ||
before_script: | ||
- grunt build | ||
script: | ||
- grunt jasmine --force | ||
- npm run test-ui | ||
- npm run build | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i'm going ot try this as a before_script so we are sure it's done before it tries the tests. |
||
jobs: | ||
include: | ||
- name: "Jasmine tests" | ||
script: grunt jasmine --force | ||
- name: "Jest tests" | ||
script: npm run test-ui |
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trying
babel.config.json
instead of.babelrc
in #639