-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
25 lines (25 loc) · 1.03 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
{
"name": "@matrix-org/analytics-events",
"version": "0.29.1",
"description": "JSON schema for analytics events from matrix SDKs",
"author": "Element",
"license": "Apache-2.0",
"devDependencies": {
"json-schema-to-typescript": "^10.1.5",
"quicktype": "^15.0.260"
},
"files": [
"types/typescript",
"LICENSE",
"README.md",
"package.json"
],
"scripts": {
"prepublishOnly": "yarn build:ts",
"build": "yarn build:ts && yarn build:swift && yarn build:kt2",
"build:ts": "./scripts/build-typescript.sh",
"build:kt2": "cd stub-generator && poetry run python -m matrix_analytics_stub_generator -l kotlin -o ../kotlin/lib/src/main/java/im/vector/app/features/analytics/plan -i ../schemas",
"build:swift": "cd stub-generator && poetry run python -m matrix_analytics_stub_generator -l swift -o ../types/swift -i ../schemas && cp ../base_types/swift/* ../types/swift/",
"build:html": "cd stub-generator && poetry run python -m matrix_analytics_stub_generator -l html -o ../types/html -i ../schemas"
}
}