-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 3.45 KB
/
package.json
File metadata and controls
72 lines (72 loc) · 3.45 KB
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
{
"name": "@internal/fake-backends",
"version": "1.25.0-beta.1",
"description": "Fake implementations of backend services",
"module": "dist/dist-esm/index.js",
"main": "dist/dist-cjs/index.js",
"types": "dist/dist-esm/index.d.ts",
"scripts": {
"build": "rushx _by-flavor \"rushx _build:by-flavor\"",
"build:esm": "npm run _if-preprocess && rushx preprocess && tsc -project tsconfig.preprocess.json || (if-env COMMUNICATION_REACT_FLAVOR=beta && tsc)",
"build:cjs": "rollup -c --silent --failAfterWarnings",
"build:minify": "rollup -c rollup.config.mjs",
"build:watch": "rushx build",
"clean": "rimraf dist && rimraf preprocessed",
"test": "rushx _by-flavor \"rushx _test:by-flavor\"",
"test:ci-coverage": "echo skip",
"preprocess": "cpy './src/**' ./preprocessed && babel ./src --out-dir ../preprocessed --extensions \".ts,.tsx\" --keep-file-extension --config-file ./.babelrc.js --relative && rimraf ../preprocessed",
"prettier": "prettier --no-error-on-unmatched-pattern --write --config ../../.prettierrc --ignore-path=../../.prettierignore \"**/*.js\" \"**/*.jsx\" \"**/*.ts\" \"**/*.tsx\"",
"prettier:check": "prettier --no-error-on-unmatched-pattern --check --config ../../.prettierrc --ignore-path=../../.prettierignore \"**/*.js\" \"**/*.jsx\" \"**/*.ts\" \"**/*.tsx\"",
"test:coverage": "npm run test -- --coverage",
"lint": "eslint \"*/**/*.{ts,tsx}\"",
"lint:fix": "npm run lint -- --fix",
"lint:quiet": "npm run lint -- --quiet",
"_if-preprocess": "if-env COMMUNICATION_REACT_FLAVOR=stable || if-env COMMUNICATION_REACT_FLAVOR=beta-release",
"_if-beta": "if-env COMMUNICATION_REACT_FLAVOR=beta || if-env COMMUNICATION_REACT_FLAVOR=beta-release",
"_build:by-flavor": "rushx clean && rushx build:esm && rushx build:cjs",
"_by-flavor": "rushx _current-flavor && env-cmd -f ../../common/config/env/.env --use-shell",
"_current-flavor": "echo You are running under COMMUNICATION_REACT_FLAVOR: && env-cmd -f ../../common/config/env/.env node -p process.env.COMMUNICATION_REACT_FLAVOR",
"_test:by-flavor": "(npm run _if-preprocess && rushx preprocess || if-env COMMUNICATION_REACT_FLAVOR=beta && echo \"skip preprocess\") && jest --passWithNoTests"
},
"license": "MIT",
"dependencies": {
"@azure/communication-chat": "1.6.0-beta.3 || ^1.5.4",
"@azure/communication-common": "^2.3.1",
"@azure/communication-signaling": "1.0.0-beta.27 || 1.0.0-beta.29",
"@azure/core-paging": "^1.5.0",
"@azure/core-rest-pipeline": "^1.13.0",
"@internal/acs-ui-common": "1.25.0-beta.1",
"@types/events": "^3.0.3",
"events": "^3.3.0",
"immer": "10.1.1",
"nanoid": "3.3.8"
},
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/core": "^7.26.10",
"@babel/preset-env": "7.23.9",
"@types/jest": "^29.5.14",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"babel-jest": "^29.5.0",
"babel-loader": "8.1.0",
"copyfiles": "^2.4.1",
"cpy-cli": "^5.0.0",
"cross-env": "^7.0.3",
"env-cmd": "^10.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-header": "^3.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsdoc": "^36.1.0",
"eslint-plugin-prettier": "5.2.3",
"eslint": "^8.57.0",
"if-env": "^1.0.4",
"jest": "29.7.0",
"prettier": "3.3.2",
"rimraf": "^2.6.2",
"rollup": "^4.32.1",
"ts-jest": "^29.2.6",
"typescript": "5.4.5",
"webpack": "5.95.0"
}
}