Skip to content

Commit

Permalink
Add fragment generation to dist
Browse files Browse the repository at this point in the history
  • Loading branch information
tomayac committed Apr 23, 2021
1 parent 41e5176 commit f0159ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "text-fragments-polyfill",
"version": "3.1.0",
"version": "3.2.0",
"description": "This is a polyfill for the [Text Fragments](https://wicg.github.io/scroll-to-text-fragment/) feature for browsers that don't support it natively.",
"main": "./dist/text-fragments.js",
"browser": "./dist/text-fragments.js",
Expand Down Expand Up @@ -34,7 +34,7 @@
"start": "npx http-server",
"clean": "shx rm -rf dist",
"fix": "npx clang-format --style=Google -i ./src/*.js ./tools/*.js ./test/*.js && npx prettier --write **/*.json **/*.html",
"prepare": "npm run clean && npm run fix && npm run lint && npx rollup src/text-fragments.js --dir dist -p 'terser'",
"prepare": "npm run clean && npm run fix && npm run lint && npx rollup src/text-fragments.js --dir dist -p 'terser' && npx rollup src/fragment-generation-utils.js --dir dist -p 'terser'",
"lint": "npx eslint . --ext .js,.mjs --fix --ignore-pattern dist/",
"test": "./node_modules/karma/bin/karma start --single-run"
},
Expand Down

0 comments on commit f0159ae

Please sign in to comment.