forked from matrix-org/matrix-widget-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 2.29 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
{
"name": "matrix-widget-api",
"version": "1.9.0",
"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 \"{}\"'",
"test": "jest"
},
"files": [
"src",
"lib",
"dist",
"package.json",
"README.md",
"LICENSE",
"CONTRIBUTING.rst"
],
"devDependencies": {
"@action-validator/cli": "^0.5.3",
"@action-validator/core": "^0.5.3",
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@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",
"@testing-library/dom": "^8.0.0",
"@types/jest": "^29.5.12",
"@types/node": "^18.16.0",
"babel-eslint": "^10.1.0",
"browserify": "^17.0.0",
"eslint": "^7.8.1",
"eslint-config-matrix-org": "^0.1.2",
"eslint-plugin-babel": "^5.3.1",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"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
}
}