-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert Node scripts to module scripts
This reduces the need for variation in eg. linting rules by making all JS files modules where possible. Note that Karma does not support this. See karma-runner/karma#3677.
- Loading branch information
1 parent
7d0260e
commit 595d1f0
Showing
9 changed files
with
24 additions
and
24 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
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,4 +1,5 @@ | ||
.yalc/ | ||
.yarn/ | ||
build/ | ||
coverage/ | ||
src/vendor/ |
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
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,6 +2,7 @@ | |
"name": "hypothesis-browser-extension", | ||
"version": "1.1483.0", | ||
"private": true, | ||
"type": "module", | ||
"description": "Annotate with anyone, anywhere.", | ||
"license": "BSD-2-Clause", | ||
"homepage": "https://hypothes.is", | ||
|
@@ -50,7 +51,7 @@ | |
}, | ||
"browserslist": "chrome 85, firefox 75", | ||
"scripts": { | ||
"test": "rollup -c rollup-tests.config.mjs && karma start tests/karma.config.js --single-run", | ||
"test": "rollup -c rollup-tests.config.mjs && karma start tests/karma.config.cjs --single-run", | ||
"typecheck": "tsc --build src/tsconfig.json" | ||
}, | ||
"packageManager": "[email protected]" | ||
|
File renamed without changes.
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
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