From a5ef569717765ac4aee62a61e1e0d0def713c56d Mon Sep 17 00:00:00 2001 From: RiotRobot Date: Mon, 8 Jul 2024 12:18:34 +0000 Subject: [PATCH] Resetting package fields for development --- package.json | 265 +++++++++++++++++++++++++-------------------------- 1 file changed, 132 insertions(+), 133 deletions(-) diff --git a/package.json b/package.json index e9795814c51..bb687f13235 100644 --- a/package.json +++ b/package.json @@ -1,135 +1,134 @@ { - "name": "matrix-js-sdk", - "version": "34.0.0", - "description": "Matrix Client-Server SDK for Javascript", - "engines": { - "node": ">=20.0.0" - }, - "scripts": { - "prepack": "yarn build", - "start": "echo THIS IS FOR LEGACY PURPOSES ONLY. && babel src -w -s -d lib --verbose --extensions \".ts,.js\"", - "clean": "rimraf lib", - "build": "yarn build:dev", - "build:dev": "yarn clean && git rev-parse HEAD > git-revision.txt && yarn build:compile && yarn build:types", - "build:types": "tsc -p tsconfig-build.json --emitDeclarationOnly", - "build:compile": "babel -d lib --verbose --extensions \".ts,.js\" src", - "gendoc": "typedoc", - "lint": "yarn lint:types && yarn lint:js && yarn lint:workflows", - "lint:js": "eslint --max-warnings 0 src spec && prettier --check .", - "lint:js-fix": "prettier --log-level=warn --write . && eslint --fix src spec", - "lint:types": "tsc --noEmit", - "lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) | xargs -I {} sh -c 'echo \"Linting {}\"; action-validator \"{}\"'", - "lint:knip": "knip", - "test": "jest", - "test:watch": "jest --watch", - "coverage": "yarn test --coverage" - }, - "repository": { - "type": "git", - "url": "https://github.com/matrix-org/matrix-js-sdk" - }, - "keywords": [ - "matrix-org" - ], - "main": "./lib/index.js", - "browser": "./lib/browser-index.js", - "matrix_src_main": "./src/index.ts", - "matrix_src_browser": "./src/browser-index.ts", - "matrix_lib_main": "./lib/index.js", - "matrix_lib_browser": "./lib/browser-index.js", - "matrix_lib_typings": "./lib/index.d.ts", - "author": "matrix.org", - "license": "Apache-2.0", - "files": [ - "lib", - "src", - "git-revision.txt", - "CHANGELOG.md", - "CONTRIBUTING.rst", - "LICENSE", - "README.md", - "package.json", - "release.sh" - ], - "dependencies": { - "@babel/runtime": "^7.12.5", - "@matrix-org/matrix-sdk-crypto-wasm": "^6.0.0", - "another-json": "^0.2.0", - "bs58": "^6.0.0", - "content-type": "^1.0.4", - "jwt-decode": "^4.0.0", - "loglevel": "^1.7.1", - "matrix-events-sdk": "0.0.1", - "matrix-widget-api": "^1.6.0", - "oidc-client-ts": "^3.0.1", - "p-retry": "4", - "sdp-transform": "^2.14.1", - "unhomoglyph": "^1.0.6", - "uuid": "10" - }, - "devDependencies": { - "@action-validator/cli": "^0.6.0", - "@action-validator/core": "^0.6.0", - "@babel/cli": "^7.12.10", - "@babel/core": "^7.12.10", - "@babel/eslint-parser": "^7.12.10", - "@babel/eslint-plugin": "^7.12.10", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-transform-class-properties": "^7.12.1", - "@babel/plugin-transform-numeric-separator": "^7.12.7", - "@babel/plugin-transform-object-rest-spread": "^7.12.1", - "@babel/plugin-transform-runtime": "^7.12.10", - "@babel/preset-env": "^7.12.11", - "@babel/preset-typescript": "^7.12.7", - "@casualbot/jest-sonar-reporter": "2.2.7", - "@matrix-org/olm": "3.2.15", - "@peculiar/webcrypto": "^1.4.5", - "@types/bs58": "^4.0.1", - "@types/content-type": "^1.1.5", - "@types/debug": "^4.1.7", - "@types/jest": "^29.0.0", - "@types/node": "18", - "@types/sdp-transform": "^2.4.5", - "@types/uuid": "10", - "@typescript-eslint/eslint-plugin": "^7.0.0", - "@typescript-eslint/parser": "^7.0.0", - "babel-jest": "^29.0.0", - "debug": "^4.3.4", - "eslint": "8.57.0", - "eslint-config-google": "^0.14.0", - "eslint-config-prettier": "^9.0.0", - "eslint-import-resolver-typescript": "^3.5.1", - "eslint-plugin-import": "^2.26.0", - "eslint-plugin-jest": "^28.0.0", - "eslint-plugin-jsdoc": "^48.0.0", - "eslint-plugin-matrix-org": "^1.0.0", - "eslint-plugin-tsdoc": "^0.3.0", - "eslint-plugin-unicorn": "^54.0.0", - "fake-indexeddb": "^5.0.2", - "fetch-mock": "10.0.7", - "fetch-mock-jest": "^1.5.1", - "husky": "^9.0.0", - "jest": "^29.0.0", - "jest-environment-jsdom": "^29.0.0", - "jest-localstorage-mock": "^2.4.6", - "jest-mock": "^29.0.0", - "knip": "^5.0.0", - "lint-staged": "^15.0.2", - "matrix-mock-request": "^2.5.0", - "node-fetch": "^2.7.0", - "prettier": "3.3.2", - "rimraf": "^5.0.0", - "ts-node": "^10.9.2", - "typedoc": "^0.26.0", - "typedoc-plugin-coverage": "^3.0.0", - "typedoc-plugin-mdn-links": "^3.0.3", - "typedoc-plugin-missing-exports": "^3.0.0", - "typescript": "^5.3.3" - }, - "@casualbot/jest-sonar-reporter": { - "outputDirectory": "coverage", - "outputName": "jest-sonar-report.xml", - "relativePaths": true - }, - "typings": "./lib/index.d.ts" + "name": "matrix-js-sdk", + "version": "34.0.0", + "description": "Matrix Client-Server SDK for Javascript", + "engines": { + "node": ">=20.0.0" + }, + "scripts": { + "prepack": "yarn build", + "start": "echo THIS IS FOR LEGACY PURPOSES ONLY. && babel src -w -s -d lib --verbose --extensions \".ts,.js\"", + "clean": "rimraf lib", + "build": "yarn build:dev", + "build:dev": "yarn clean && git rev-parse HEAD > git-revision.txt && yarn build:compile && yarn build:types", + "build:types": "tsc -p tsconfig-build.json --emitDeclarationOnly", + "build:compile": "babel -d lib --verbose --extensions \".ts,.js\" src", + "gendoc": "typedoc", + "lint": "yarn lint:types && yarn lint:js && yarn lint:workflows", + "lint:js": "eslint --max-warnings 0 src spec && prettier --check .", + "lint:js-fix": "prettier --log-level=warn --write . && eslint --fix src spec", + "lint:types": "tsc --noEmit", + "lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) | xargs -I {} sh -c 'echo \"Linting {}\"; action-validator \"{}\"'", + "lint:knip": "knip", + "test": "jest", + "test:watch": "jest --watch", + "coverage": "yarn test --coverage" + }, + "repository": { + "type": "git", + "url": "https://github.com/matrix-org/matrix-js-sdk" + }, + "keywords": [ + "matrix-org" + ], + "main": "./src/index.ts", + "browser": "./src/browser-index.ts", + "matrix_src_main": "./src/index.ts", + "matrix_src_browser": "./src/browser-index.ts", + "matrix_lib_main": "./lib/index.js", + "matrix_lib_browser": "./lib/browser-index.js", + "matrix_lib_typings": "./lib/index.d.ts", + "author": "matrix.org", + "license": "Apache-2.0", + "files": [ + "lib", + "src", + "git-revision.txt", + "CHANGELOG.md", + "CONTRIBUTING.rst", + "LICENSE", + "README.md", + "package.json", + "release.sh" + ], + "dependencies": { + "@babel/runtime": "^7.12.5", + "@matrix-org/matrix-sdk-crypto-wasm": "^6.0.0", + "another-json": "^0.2.0", + "bs58": "^6.0.0", + "content-type": "^1.0.4", + "jwt-decode": "^4.0.0", + "loglevel": "^1.7.1", + "matrix-events-sdk": "0.0.1", + "matrix-widget-api": "^1.6.0", + "oidc-client-ts": "^3.0.1", + "p-retry": "4", + "sdp-transform": "^2.14.1", + "unhomoglyph": "^1.0.6", + "uuid": "10" + }, + "devDependencies": { + "@action-validator/cli": "^0.6.0", + "@action-validator/core": "^0.6.0", + "@babel/cli": "^7.12.10", + "@babel/core": "^7.12.10", + "@babel/eslint-parser": "^7.12.10", + "@babel/eslint-plugin": "^7.12.10", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-transform-class-properties": "^7.12.1", + "@babel/plugin-transform-numeric-separator": "^7.12.7", + "@babel/plugin-transform-object-rest-spread": "^7.12.1", + "@babel/plugin-transform-runtime": "^7.12.10", + "@babel/preset-env": "^7.12.11", + "@babel/preset-typescript": "^7.12.7", + "@casualbot/jest-sonar-reporter": "2.2.7", + "@matrix-org/olm": "3.2.15", + "@peculiar/webcrypto": "^1.4.5", + "@types/bs58": "^4.0.1", + "@types/content-type": "^1.1.5", + "@types/debug": "^4.1.7", + "@types/jest": "^29.0.0", + "@types/node": "18", + "@types/sdp-transform": "^2.4.5", + "@types/uuid": "10", + "@typescript-eslint/eslint-plugin": "^7.0.0", + "@typescript-eslint/parser": "^7.0.0", + "babel-jest": "^29.0.0", + "debug": "^4.3.4", + "eslint": "8.57.0", + "eslint-config-google": "^0.14.0", + "eslint-config-prettier": "^9.0.0", + "eslint-import-resolver-typescript": "^3.5.1", + "eslint-plugin-import": "^2.26.0", + "eslint-plugin-jest": "^28.0.0", + "eslint-plugin-jsdoc": "^48.0.0", + "eslint-plugin-matrix-org": "^1.0.0", + "eslint-plugin-tsdoc": "^0.3.0", + "eslint-plugin-unicorn": "^54.0.0", + "fake-indexeddb": "^5.0.2", + "fetch-mock": "10.0.7", + "fetch-mock-jest": "^1.5.1", + "husky": "^9.0.0", + "jest": "^29.0.0", + "jest-environment-jsdom": "^29.0.0", + "jest-localstorage-mock": "^2.4.6", + "jest-mock": "^29.0.0", + "knip": "^5.0.0", + "lint-staged": "^15.0.2", + "matrix-mock-request": "^2.5.0", + "node-fetch": "^2.7.0", + "prettier": "3.3.2", + "rimraf": "^5.0.0", + "ts-node": "^10.9.2", + "typedoc": "^0.26.0", + "typedoc-plugin-coverage": "^3.0.0", + "typedoc-plugin-mdn-links": "^3.0.3", + "typedoc-plugin-missing-exports": "^3.0.0", + "typescript": "^5.3.3" + }, + "@casualbot/jest-sonar-reporter": { + "outputDirectory": "coverage", + "outputName": "jest-sonar-report.xml", + "relativePaths": true + } }