forked from alienzhou/web-highlighter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
95 lines (95 loc) · 2.84 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
86
87
88
89
90
91
92
93
94
95
{
"name": "web-highlighter",
"version": "0.7.4",
"description": "✨A no-runtime dependency lib for text highlighting & persistence on any website ✨🖍️",
"main": "dist/web-highlighter.min.js",
"types": "dist/index.d.ts",
"browser": "dist/web-highlighter.min.js",
"scripts": {
"lint": "eslint \"src/**/*.ts\" --fix",
"test": "mocha -r ts-node/register -r tsconfig-paths/register test/**.spec.ts",
"coverage": "nyc -r lcov -e .ts -x \"test/**/*.ts\" npm run test",
"serve-example": "http-server example/static",
"serve": "http-server -p 8081 ./dist",
"watch": "webpack --config ./config/webpack.config.prod.js --watch",
"build-example": "target=example node script/build.js",
"static": "run-p watch serve",
"start": "node script/dev.js",
"build:types": "tscpaths -p tsconfig.json -s ./src -o ./dist",
"build:code": "target=dist node script/build.js",
"build": "run-s build:code build:types",
"prepublishOnly": "run-s lint build test"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run test"
}
},
"lint-staged": {
"src/**/*.ts": [
"prettier --write",
"eslint --fix"
]
},
"homepage": "https://alienzhou.github.io/web-highlighter",
"repository": {
"type": "git",
"url": "https://github.com/alienzhou/web-highlighter"
},
"keywords": [
"text",
"highlight",
"web",
"persistence",
"lightweight",
"selection",
"range"
],
"author": "alienzhou <[email protected]>",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@types/chai": "^4.2.11",
"@types/jsdom": "^16.2.3",
"@types/jsdom-global": "^3.0.2",
"@types/mocha": "^7.0.2",
"@types/sinon": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"better-opn": "^1.0.0",
"chai": "^4.2.0",
"chalk": "^2.4.2",
"clean-webpack-plugin": "^1.0.0",
"coveralls": "^3.1.0",
"css-loader": "^1.0.1",
"eslint": "^7.18.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"fs-extra": "^7.0.1",
"html-webpack-plugin": "^3.2.0",
"http-server": "^0.11.1",
"husky": "^4.3.8",
"jsdom": "^16.2.2",
"jsdom-global": "^3.0.2",
"lint-staged": "^10.5.3",
"mocha": "^7.1.2",
"npm-run-all": "^4.1.5",
"nyc": "^15.0.1",
"prettier": "^2.2.1",
"showdown": "^1.9.0",
"sinon": "^9.0.2",
"style-loader": "^0.23.1",
"text-replace-html-webpack-plugin": "^1.0.3",
"ts-loader": "^5.3.0",
"ts-node": "^8.10.1",
"tsconfig-paths": "^3.9.0",
"tsconfig-paths-webpack-plugin": "^3.5.1",
"tscpaths": "0.0.9",
"typescript": "^4.1.3",
"webpack": "^4.25.1",
"webpack-cli": "^3.1.2",
"webpack-dev-server": ">=3.1.11",
"webpack-merge": "^4.1.4"
}
}