-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 4.14 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 4.14 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
73
74
75
76
77
{
"name": "@internal/calling-component-bindings",
"version": "1.11.1-beta.0",
"description": "Component bindings specific to components that integrate with the Azure Communication Services Calling JavaScript SDK",
"module": "dist/dist-esm/index.js",
"main": "dist/dist-cjs/index.js",
"types": "dist/calling-component-bindings.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:watch": "rushx build",
"clean": "rimraf dist && rimraf preprocessed",
"preprocess": "cpx \"./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": "rushx _by-flavor \"rushx _test:by-flavor\"",
"test:ci-coverage": "rushx _by-flavor \"rushx _test:by-flavor --coverage\"",
"test:coverage": "rushx _by-flavor \"rushx _test:by-flavor --coverage --coverageReporters=lcov\"",
"lint": "eslint --max-warnings 0 \"*/**/*.{ts,tsx}\"",
"lint:fix": "rushx lint --fix --",
"lint:quiet": "rushx lint -- --quiet",
"api-extractor": "rushx _by-flavor \"rushx build:esm && rushx _api-extractor:by-flavor\"",
"generate-doc": "api-documenter markdown -i temp -o docGen",
"_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",
"_api-extractor:by-flavor": "if-env COMMUNICATION_REACT_FLAVOR=stable && api-extractor run -c api-extractor.stable.json --local || (rushx _if-beta && api-extractor run --local)",
"_build:by-flavor": "rushx clean && rushx build:esm && rushx build:cjs && rushx _api-extractor:by-flavor",
"_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"
},
"dependencies": {
"@internal/acs-ui-common": "1.11.1-beta.0",
"@internal/calling-stateful-client": "1.11.1-beta.0",
"@internal/react-components": "1.11.1-beta.0",
"@azure/communication-common": "^2.3.0",
"memoize-one": "^5.2.1",
"reselect": "^4.0.0"
},
"peerDependencies": {
"@azure/communication-calling": "1.20.1-beta.2 || ^1.20.1",
"@azure/communication-calling-effects": "1.0.1",
"@types/react": ">=16.8.0 <19.0.0",
"react": ">=16.8.0 <19.0.0"
},
"devDependencies": {
"@azure/communication-calling": "1.20.1-beta.2 || ^1.20.1",
"@azure/communication-calling-effects": "1.0.1",
"@babel/cli": "^7.23.4",
"@babel/core": "^7.23.5",
"@microsoft/api-documenter": "~7.23.14",
"@microsoft/api-extractor": "~7.38.5",
"@types/jest": "^29.5.11",
"@types/react": "18.2.42",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"copyfiles": "^2.4.1",
"cpx": "^1.5.0",
"cross-env": "^7.0.3",
"env-cmd": "^10.1.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-header": "^3.1.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsdoc": "^36.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint": "^7.7.0",
"if-env": "^1.0.4",
"jest": "29.7.0",
"prettier": "2.3.1",
"react": "18.2.0",
"rimraf": "^2.6.2",
"rollup": "^4.7.0",
"ts-jest": "^29.1.0",
"typescript": "5.3.3"
}
}