-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add polyfill for intersection observer
- Loading branch information
Showing
3 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,12 +6,17 @@ | |
"scripts": { | ||
"build": "npm run refined-github && npm run copy", | ||
"clean": "rm -r Refined\\ Github.safariextension;mkdir Refined\\ Github.safariextension", | ||
"copy:intersection-observer": "cp node_modules/intersection-observer/intersection-observer.js Refined\\ Github.safariextension/", | ||
"copy:sources": "cp src/* Refined\\ Github.safariextension/", | ||
"copy": "npm run copy:intersection-observer && npm run copy:sources", | ||
"refined-github": "npm run refined-github:install && npm run refined-github:build && npm run refined-github:copy", | ||
"refined-github:install": "cd refined-github && npm install", | ||
"refined-github:build": "cd refined-github && npm run build", | ||
"refined-github:copy": "cp refined-github/distribution/* Refined\\ Github.safariextension", | ||
"copy": "cp src/* Refined\\ Github.safariextension/" | ||
"refined-github:copy": "cp refined-github/distribution/* Refined\\ Github.safariextension" | ||
}, | ||
"author": "Ville Lautanala <[email protected]>", | ||
"license": "ISC" | ||
"license": "ISC", | ||
"dependencies": { | ||
"intersection-observer": "^0.5.0" | ||
} | ||
} |
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