-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.66 KB
/
Copy pathpackage.json
File metadata and controls
58 lines (58 loc) · 1.66 KB
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
{
"name": "@net7/annotator",
"version": "1.1.0",
"description": "Anchoring and highlighting library for web documents",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"type": "module",
"files": [
"dist"
],
"scripts": {
"build": "rollup -c rollup.config.mjs",
"build:docs": "yarn build && yarn copy-to-docs",
"copy-to-docs": "cp dist/index.esm.js docs/ && cp dist/index.esm.js.map docs/",
"dev": "rollup -c rollup.config.mjs -w",
"lint": "eslint 'src/**/*.ts'",
"lint:fix": "eslint 'src/**/*.ts' --fix",
"test": "jest",
"test:coverage": "jest --coverage",
"test:changed": "jest --changedSince=HEAD",
"prepare": "yarn build && husky",
"prettify": "prettier --write 'src/**/*.ts'",
"lint-staged": "lint-staged"
},
"author": "Duccio Breschi <breschi@netseven.it>",
"license": "BSD-2-Clause",
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
},
"devDependencies": {
"@eslint/js": "^9.24.0",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-typescript": "^11.0.0",
"@testing-library/jest-dom": "^6.6.3",
"@types/jest": "^29.5.14",
"eslint": "^9.24.0",
"eslint-config-prettier": "^10.1.1",
"husky": "^9.1.7",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "15.2.0",
"prettier": "^3.5.3",
"rollup": "^3.0.0",
"rollup-plugin-dts": "^5.0.0",
"ts-jest": "^29.3.4",
"tslib": "^2.0.0",
"typescript": "^5.0.0",
"typescript-eslint": "^8.29.1"
},
"dependencies": {
"approx-string-match": "^2.0.0"
}
}