-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
133 lines (133 loc) · 3.57 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "interacto",
"description": "Front-end framework for processing user interface events in TypeScript",
"version": "8.2.0",
"author": "Arnaud Blouin",
"contributors": [
"Gwendal Didot",
"Rémi Daniel"
],
"keywords": [
"event processing",
"user interaction",
"user interface",
"ui",
"undo",
"redo",
"front-end",
"framework",
"touch",
"dnd",
"drag and drop",
"typescript"
],
"bugs": {
"url": "https://github.com/interacto/interacto-ts/issues"
},
"homepage": "https://github.com/interacto/interacto-ts",
"repository": "https://github.com/interacto/interacto-ts.git",
"license": "GPL-3.0",
"main": "./dist/interacto.js",
"module": "./dist/interacto.mjs",
"types": "./dist/interacto.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/interacto.d.ts",
"default": "./dist/interacto.mjs"
}
}
},
"devDependencies": {
"@commitlint/cli": "19.6.0",
"@commitlint/config-conventional": "19.6.0",
"@eslint/js": "9.15.0",
"@jest/globals": "29.7.0",
"@rollup/plugin-terser": "0.4.4",
"@stryker-mutator/core": "7.3.0",
"@stryker-mutator/jest-runner": "7.3.0",
"@stylistic/eslint-plugin": "2.11.0",
"@types/eslint__js": "8.42.3",
"@types/jest": "29.5.14",
"@types/node": "20.14.15",
"barrelsby": "2.8.1",
"eslint": "9.15.0",
"eslint-plugin-array-func": "5.0.2",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jest": "28.9.0",
"eslint-plugin-jsdoc": "50.5.0",
"eslint-plugin-tsdoc": "0.4.0",
"eslint-plugin-unicorn": "56.0.1",
"globals": "15.11.0",
"husky": "9.0.11",
"interacto-nono": "0.6.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-mock-extended": "3.0.7",
"rollup": "3.29.5",
"rollup-plugin-dts": "6.1.1",
"rollup-plugin-esbuild": "6.1.1",
"ts-jest": "29.2.5",
"typedoc": "0.26.11",
"typescript": "5.6.3",
"typescript-eslint": "8.15.0"
},
"scripts": {
"package": "npm run pre-build && npm run build && npm run doc",
"build": "rollup -c",
"generate-barrels": "barrelsby -c ./barrelsby-config.json --delete",
"compile": "tsc",
"compile-test": "tsc -p tsconfig.test.json",
"pre-build": "npm run clean && npm run generate-barrels && npm run compile && npm run lint && npm run compile-test && npm run coverage",
"clean": "(rm -rf dist out-test coverage .stryker-tmp)",
"clean-all": "npm run clean && (rm -rf reports docs)",
"test": "jest",
"lint": "eslint src test",
"lint-fix": "eslint src test --fix",
"coverage": "jest --coverage --collectCoverageFrom=src*/**/*.ts --coverageDirectory reports",
"doc": "typedoc --out docs src/interacto.ts",
"test-publish": "npm pack",
"gen-changelog": "git log --pretty=\"* %s\" $(git describe --tags --abbrev=0 @^)..@ | sort > commits",
"mutation": "npx stryker run",
"commitlint": "commitlint --edit"
},
"dependencies": {
"rxjs": "7.8.1"
},
"files": [
"dist/"
],
"jest": {
"transform": {
".(ts|tsx)": [
"ts-jest",
{
"tsconfig": "tsconfig.test.json"
}
]
},
"testEnvironment": "jsdom",
"coverageReporters": [
"lcov",
"cobertura",
"clover"
],
"coverageThreshold": {
"global": {
"branches": 80,
"functions": 90,
"lines": 90,
"statements": 90
}
},
"testRegex": "(.*\\.)(test|spec)\\.ts$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
]
},
"engines": {
"node": ">=20.10.0"
}
}