highlight-words 1.1.0-beta2 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/Changelog.md +7 -0
  2. package/package.json +4 -2
package/Changelog.md CHANGED
@@ -1,3 +1,10 @@
1
+ ### v1.1.0
2
+
3
+ ---
4
+
5
+ - Switch to new build system
6
+ - Drop umd support
7
+
1
8
  ### v1.0.6
2
9
 
3
10
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "highlight-words",
3
- "version": "1.1.0-beta2",
3
+ "version": "1.1.0",
4
4
  "description": "Split a piece text into multiple chunks based on a search query, allowing you to highlight the matches.",
5
5
  "engines": {
6
6
  "node": ">= 12",
@@ -41,7 +41,8 @@
41
41
  "lint": "eslint src --ext .ts",
42
42
  "format": "prettier --write \"src/**/*.ts\"",
43
43
  "test": "jest",
44
- "test:mutations": "stryker run"
44
+ "test:mutations": "stryker run",
45
+ "prepublishOnly": "npm-run-all test typecheck lint build"
45
46
  },
46
47
  "devDependencies": {
47
48
  "@babel/core": "^7.12.13",
@@ -65,6 +66,7 @@
65
66
  "jest": "^26.6.3",
66
67
  "jest-watch-typeahead": "^0.6.1",
67
68
  "lint-staged": "^10.5.4",
69
+ "npm-run-all": "^4.1.5",
68
70
  "precise-commits": "^1.0.2",
69
71
  "prettier": "^2.2.1",
70
72
  "rimraf": "^3.0.2",