1 | {
|
2 | "name": "snabbdom",
|
3 | "version": "3.3.1",
|
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 | "light",
|
14 | "kiss",
|
15 | "performance"
|
16 | ],
|
17 | "author": "Simon Friis Vindum",
|
18 | "license": "MIT",
|
19 | "bugs": {
|
20 | "url": "https://github.com/snabbdom/snabbdom/issues"
|
21 | },
|
22 | "engines": {
|
23 | "node": ">=8.3.0"
|
24 | },
|
25 | "main": "build/snabbdom.cjs.js",
|
26 | "module": "build/index.js",
|
27 | "types": "build/index.d.ts",
|
28 | "sideEffects": false,
|
29 | "scripts": {
|
30 | "build": "tsc && npm run bundle:cjs",
|
31 | "bundle:cjs": "rollup build/index.js --format cjs --file build/snabbdom.cjs.js",
|
32 | "examples": "serve .",
|
33 | "format": "prettier --write .",
|
34 | "prepare": "husky install",
|
35 | "lint": "eslint --ext .ts,.tsx,.js --ignore-path .gitignore .",
|
36 | "unit": "cross-env FILES_PATTERN=\"test/unit/*.ts,test/unit/*.tsx\" karma start karma.conf.js",
|
37 | "release": "npm run test && release-it",
|
38 | "test:ci": "npm test && cross-env ES5=true npm run unit",
|
39 | "test": "npm run build && npm run lint && npm run unit"
|
40 | },
|
41 | "devDependencies": {
|
42 | "@release-it/conventional-changelog": "^4.1.0",
|
43 | "@types/chai": "4.3.0",
|
44 | "@types/lodash.shuffle": "4.2.6",
|
45 | "@types/mocha": "9.0.0",
|
46 | "@typescript-eslint/eslint-plugin": "5.10.0",
|
47 | "@typescript-eslint/parser": "^5.10.0",
|
48 | "chai": "4.3.4",
|
49 | "commithelper": "^1.2.0",
|
50 | "conventional-changelog-angular": "^5.0.13",
|
51 | "cross-env": "7.0.3",
|
52 | "eslint": "8.7.0",
|
53 | "eslint-config-prettier": "^8.3.0",
|
54 | "eslint-plugin-import": "2.25.4",
|
55 | "eslint-plugin-markdown": "2.2.1",
|
56 | "eslint-plugin-node": "11.1.0",
|
57 | "husky": "7.0.4",
|
58 | "karma": "6.3.11",
|
59 | "karma-browserstack-launcher": "1.6.0",
|
60 | "karma-chrome-launcher": "3.1.0",
|
61 | "karma-firefox-launcher": "2.1.2",
|
62 | "karma-mocha": "2.0.1",
|
63 | "karma-mocha-reporter": "^2.2.3",
|
64 | "karma-typescript": "^5.5.3",
|
65 | "lint-staged": "^12.1.7",
|
66 | "lodash.shuffle": "4.2.0",
|
67 | "mocha": "9.1.4",
|
68 | "prettier": "^2.5.1",
|
69 | "release-it": "^14.12.3",
|
70 | "rollup": "^2.64.0",
|
71 | "serve": "^13.0.2",
|
72 | "typescript": "4.5.4"
|
73 | },
|
74 | "prettier": {},
|
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 | }
|