49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
{
|
|
"name": "matrix-events-sdk",
|
|
"version": "0.0.1",
|
|
"description": "JS/TS SDK for interacting with Matrix events",
|
|
"main": "lib/index.js",
|
|
"types": "lib/index.d.ts",
|
|
"repository": "git@github.com:matrix-org/matrix-events-sdk.git",
|
|
"author": "The Matrix.org Foundation C.I.C.",
|
|
"license": "Apache-2.0",
|
|
"files": [
|
|
"lib",
|
|
"README.md",
|
|
"package.json",
|
|
"yarn.lock",
|
|
"LICENSE"
|
|
],
|
|
"scripts": {
|
|
"prepublishOnly": "yarn build",
|
|
"clean": "rimraf lib",
|
|
"build": "yarn clean && yarn build:compile && yarn build:types",
|
|
"build:types": "tsc -p ./tsconfig.build.json --emitDeclarationOnly",
|
|
"build:compile": "babel -d lib --verbose --extensions \".ts\" src",
|
|
"start": "tsc -p ./tsconfig.build.json -w",
|
|
"test": "jest",
|
|
"lint": "eslint src test && tsc --noEmit",
|
|
"lint:fix": "eslint --fix src test"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.16.7",
|
|
"@babel/core": "^7.16.7",
|
|
"@babel/eslint-parser": "^7.16.5",
|
|
"@babel/eslint-plugin": "^7.16.5",
|
|
"@babel/plugin-proposal-class-properties": "^7.16.7",
|
|
"@babel/preset-env": "^7.16.7",
|
|
"@babel/preset-typescript": "^7.16.7",
|
|
"@types/jest": "^27.0.2",
|
|
"@typescript-eslint/eslint-plugin": "^4.32.0",
|
|
"@typescript-eslint/parser": "^4.32.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-google": "^0.14.0",
|
|
"eslint-plugin-import": "^2.25.4",
|
|
"eslint-plugin-matrix-org": "^0.4.0",
|
|
"jest": "^27.2.4",
|
|
"rimraf": "^3.0.2",
|
|
"ts-jest": "^27.0.5",
|
|
"typescript": "^4.5.4"
|
|
}
|
|
}
|