-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpackage.json
79 lines (79 loc) · 2.99 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
{
"name": "matrix-widget-api",
"version": "1.13.1",
"description": "Matrix Widget API SDK",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"repository": "https://github.com/matrix-org/matrix-widget-api",
"author": "The Matrix.org Foundation C.I.C.",
"license": "Apache-2.0",
"scripts": {
"start": "tsc -w",
"clean": "rimraf lib dist",
"build": "yarn clean && yarn build:compile && yarn build:types && yarn build:browser",
"build:compile": "babel -d lib --verbose --extensions \".ts\" src",
"build:types": "tsc --emitDeclarationOnly",
"build:browser": "yarn build:browser:dev && yarn build:browser:prod",
"build:browser:dev": "browserify lib/index.js --debug --s mxwidgets -o dist/api.js",
"build:browser:prod": "browserify lib/index.js --s mxwidgets -p tinyify -o dist/api.min.js",
"lint": "yarn lint:types && yarn lint:ts && yarn lint:workflows",
"lint:ts": "eslint src test",
"lint:types": "tsc --noEmit",
"lint:fix": "eslint src test --fix",
"lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) | xargs -I {} sh -c 'echo \"Linting {}\"; action-validator \"{}\"'",
"prettier:check": "prettier -c .",
"prettier:format": "prettier -w .",
"test": "jest"
},
"files": [
"src",
"lib",
"dist",
"package.json",
"README.md",
"LICENSE",
"CONTRIBUTING.rst"
],
"devDependencies": {
"@action-validator/cli": "^0.6.0",
"@action-validator/core": "^0.5.3",
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/eslint-parser": "^7.25.9",
"@babel/eslint-plugin": "^7.25.9",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/preset-env": "^7.11.5",
"@babel/preset-typescript": "^7.10.4",
"@casualbot/jest-sonar-reporter": "^2.2.7",
"@stylistic/eslint-plugin": "^2.10.1",
"@testing-library/dom": "^8.0.0",
"@types/jest": "^29.5.12",
"@types/node": "^18.16.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"browserify": "^17.0.0",
"eslint": "^8.0.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-matrix-org": "^2.0.0",
"eslint-plugin-unicorn": "^56.0.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"prettier": "3.4.2",
"rimraf": "^3.0.2",
"tinyify": "^3.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"dependencies": {
"@types/events": "^3.0.0",
"events": "^3.2.0"
},
"@casualbot/jest-sonar-reporter": {
"outputDirectory": "coverage",
"outputName": "jest-sonar-report.xml",
"relativePaths": true
}
}