-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
68 lines (68 loc) · 1.98 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
{
"name": "@funktechno/texthighlighter",
"version": "2.1.2",
"description": "a no dependency typescript supported tool for highlighting user selected content",
"main": "index.js",
"files": [
"lib/**/*"
],
"scripts": {
"build": "tsc && node build/replace",
"build:client": "browserify client/index.ts -p [ tsify --noImplicitAny ] > dist/TextHighlighter.js && node build/replace",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"test": "jest -c ./jest.config.js --forceExit --verbose -i --no-cache",
"test:coverage": "jest --forceExit --coverage --verbose",
"test:watch": "jest --watchAll",
"lint": "tsc --noEmit && eslint \"{src,client}/**/*.{js,ts}\"",
"lint:fix": "tsc --noEmit && eslint \"{src,client}/**/*.{js,ts}\" --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/funktechno/texthighlighter.git"
},
"keywords": [
"typescript",
"highlight",
"text",
"mobile",
"dom",
"html",
"color",
"annotation",
"selection",
"range"
],
"author": "lastlink",
"license": "ISC",
"bugs": {
"url": "https://github.com/funktechno/texthighlighter/issues"
},
"homepage": "https://github.com/funktechno/texthighlighter#readme",
"devDependencies": {
"@types/eslint": "^7.2.4",
"@types/jest": "^26.0.4",
"@types/node": "^16.4.7",
"@typescript-eslint/eslint-plugin": "^2.24.0",
"@typescript-eslint/parser": "^2.24.0",
"browserify": "^17.0.0",
"eslint": "^6.8.0",
"five-server": "0.0.28",
"jest": "^26.1.0",
"jest-junit": "^12.0.0",
"jest-serial-runner": "^1.1.0",
"replace-in-file": "^6.2.0",
"ts-jest": "^26.1.1",
"ts-loader": "^8.0.9",
"tsify": "^5.0.2",
"typescript": "^4.0.5",
"ts-node": "^10.1.0"
},
"directories": {
"lib": "lib",
"test": "tests"
}
}