-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathpackage.json
72 lines (72 loc) · 3.52 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
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/acs-ui-javascript-loaders",
"version": "1.26.0-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/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 --failAfterWarnings",
"build:minify": "rollup -c rollup.config.mjs",
"build:watch": "rushx build",
"clean": "rimraf dist && rimraf preprocessed",
"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": "rushx _by-flavor \"rushx _test:by-flavor\"",
"test:ci-coverage": "echo package tested by composites",
"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",
"_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",
"_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"
},
"author": "",
"license": "ISC",
"dependencies": {
"@azure/communication-common": "^2.3.1",
"@internal/acs-ui-common": "1.26.0-beta.0",
"@internal/react-composites": "1.26.0-beta.0",
"@fluentui/react": "^8.122.11",
"@azure/logger": "^1.0.4"
},
"peerDependencies": {
"react": ">=16.8.0 <19.0.0",
"@types/react": ">=16.8.0 <19.0.0",
"@types/react-dom": ">=16.8.0 <19.0.0",
"react-dom": ">=16.8.0 <19.0.0"
},
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/core": "^7.26.10",
"@types/jest": "^29.5.14",
"@types/react": "18.3.12",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"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",
"react": "18.3.1",
"rimraf": "^2.6.2",
"rollup": "^4.32.1",
"ts-jest": "^29.2.6",
"typescript": "5.4.5"
}
}