1 | {
|
2 | "name": "snabbdom",
|
3 | "version": "3.6.2",
|
4 | "description": "A virtual DOM library with focus on simplicity, modularity, powerful features and performance.",
|
5 | "homepage": "https://github.com/snabbdom/snabbdom#readme",
|
6 | "repository": {
|
7 | "type": "git",
|
8 | "url": "git+https://github.com/snabbdom/snabbdom.git"
|
9 | },
|
10 | "keywords": [
|
11 | "virtual",
|
12 | "dom",
|
13 | "vdom",
|
14 | "light",
|
15 | "kiss",
|
16 | "performance"
|
17 | ],
|
18 | "author": "Simon Friis Vindum",
|
19 | "license": "MIT",
|
20 | "bugs": {
|
21 | "url": "https://github.com/snabbdom/snabbdom/issues"
|
22 | },
|
23 | "engines": {
|
24 | "node": ">=12.17.0"
|
25 | },
|
26 | "files": [
|
27 | "build"
|
28 | ],
|
29 | "type": "module",
|
30 | "main": "build/index.js",
|
31 | "types": "build/index.d.ts",
|
32 | "sideEffects": false,
|
33 | "scripts": {
|
34 | "build": "tsc && ts-add-js-extension --dir=build && replace-in-file '\"./h\"' '\"./h.js\"' build/jsx.*",
|
35 | "examples": "serve .",
|
36 | "format": "prettier --write .",
|
37 | "format-check": "prettier --check .",
|
38 | "prepare": "husky install",
|
39 | "lint": "eslint .",
|
40 | "unit": "web-test-runner \"test/unit/*.{ts,tsx}\" --node-resolve --coverage",
|
41 | "release": "npm run test && release-it",
|
42 | "test": "npm run build && npm run lint && npm run unit",
|
43 | "test:watch": "web-test-runner \"test/unit/*.{tsx,tsx}\" --node-resolve --watch"
|
44 | },
|
45 | "devDependencies": {
|
46 | "@esm-bundle/chai": "^4.3.4-fix.0",
|
47 | "@release-it/conventional-changelog": "^7.0.2",
|
48 | "@types/chai": "4.3.9",
|
49 | "@types/mocha": "10.0.3",
|
50 | "@typescript-eslint/eslint-plugin": "6.8.0",
|
51 | "@typescript-eslint/parser": "^6.8.0",
|
52 | "@web/dev-server-esbuild": "^0.4.3",
|
53 | "@web/test-runner": "^0.17.2",
|
54 | "@web/test-runner-browserstack": "^0.6.2",
|
55 | "commithelper": "^1.2.0",
|
56 | "conventional-changelog-angular": "^7.0.0",
|
57 | "eslint": "8.52.0",
|
58 | "eslint-config-prettier": "^9.0.0",
|
59 | "eslint-plugin-import": "2.29.0",
|
60 | "eslint-plugin-markdown": "3.0.1",
|
61 | "eslint-plugin-node": "11.1.0",
|
62 | "husky": "8.0.3",
|
63 | "lint-staged": "^15.0.2",
|
64 | "mocha": "10.2.0",
|
65 | "prettier": "^3.0.3",
|
66 | "release-it": "^16.2.1",
|
67 | "replace-in-file": "^7.1.0",
|
68 | "serve": "^14.2.1",
|
69 | "ts-add-js-extension": "^1.6.0",
|
70 | "typescript": "5.2.2"
|
71 | },
|
72 | "prettier": {
|
73 | "trailingComma": "none"
|
74 | },
|
75 | "lint-staged": {
|
76 | "*.(ts|tsx|js|md)": "prettier --write"
|
77 | },
|
78 | "release-it": {
|
79 | "git": {
|
80 | "commitMessage": "chore(release): v${version}"
|
81 | },
|
82 | "github": {
|
83 | "release": true
|
84 | },
|
85 | "plugins": {
|
86 | "@release-it/conventional-changelog": {
|
87 | "preset": "angular",
|
88 | "infile": "CHANGELOG.md"
|
89 | }
|
90 | }
|
91 | },
|
92 | "commithelper": {
|
93 | "scopeOverrides": {
|
94 | "chore": [
|
95 | "tools",
|
96 | "refactor",
|
97 | "release",
|
98 | "test",
|
99 | "deps",
|
100 | "docs",
|
101 | "examples"
|
102 | ]
|
103 | }
|
104 | }
|
105 | }
|