forked from tricinel/highlight-words
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 2.33 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "highlight-words",
"version": "1.2.0",
"description": "Split a piece text into multiple chunks based on a search query, allowing you to highlight the matches.",
"engines": {
"node": ">= 12",
"npm": ">= 6"
},
"repository": {
"type": "git",
"url": "https://github.com/tricinel/highlight-words.git"
},
"bugs": {
"url": "https://github.com/tricinel/highlight-words/issues"
},
"homepage": "https://github.com/tricinel/highlight-words#readme",
"author": "Bogdan Lazar",
"license": "MIT",
"keywords": [
"string",
"search",
"highlight",
"regex"
],
"files": [
"dist"
],
"eslintIgnore": [
"node_modules",
"dist",
"coverage"
],
"type": "commonjs",
"typings": "dist/highlight-words.d.ts",
"main": "dist/highlight-words.js",
"module": "dist/highlight-words.mjs",
"exports": {
".": {
"require": "./dist/highlight-words.js",
"default": "./dist/highlight-words.mjs"
}
},
"scripts": {
"prebuild": "cross-env rimraf dist",
"build": "rollup -c",
"watch": "rollup -cw",
"typecheck": "tsc --noEmit",
"lint": "eslint src --ext .ts",
"format": "prettier --write \"src/**/*.ts\"",
"test": "jest",
"test:mutations": "stryker run",
"prepublishOnly": "npm-run-all test typecheck lint build"
},
"devDependencies": {
"@babel/core": "^7.12.13",
"@babel/plugin-transform-typescript": "^7.12.13",
"@babel/preset-env": "^7.12.13",
"@babel/preset-typescript": "^7.12.13",
"@stryker-mutator/core": "^4.4.1",
"@stryker-mutator/jest-runner": "^4.4.1",
"@types/jest": "^26.0.20",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"cross-env": "^7.0.3",
"esbuild": "^0.8.44",
"eslint": "^7.19.0",
"eslint-config-frontwerk-typescript": "^1.2.2",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^5.0.9",
"jest": "^26.6.3",
"jest-watch-typeahead": "^0.6.1",
"lint-staged": "^10.5.4",
"npm-run-all": "^4.1.5",
"precise-commits": "^1.0.2",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"rollup": "^2.38.5",
"rollup-plugin-dts": "^2.0.1",
"rollup-plugin-esbuild": "^2.6.1",
"typescript": "^4.1.4"
}
}