Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
142 lines (142 loc) · 7.08 KB
/
Copy pathpackage.json
File metadata and controls
142 lines (142 loc) · 7.08 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "ably-pubsub-js",
"description": "Monorepo root for the Ably JavaScript client libraries. Not published; see packages/ for the published packages",
"version": "3.1.0",
"private": true,
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/ably/ably-pubsub-js/issues",
"email": "support@ably.com"
},
"repository": "ably/ably-js",
"workspaces": [
"packages/core",
"packages/core-impl",
"packages/device",
"packages/server"
],
"devDependencies": {
"@ably/vcdiff-decoder": "1.0.6",
"@arethetypeswrong/cli": "^0.13.1",
"@babel/generator": "^7.23.6",
"@babel/parser": "^7.23.6",
"@babel/traverse": "^7.23.7",
"@temporalio/activity": "^1.24.0",
"@temporalio/client": "^1.24.0",
"@temporalio/common": "^1.24.0",
"@temporalio/plugin": "^1.24.0",
"@temporalio/testing": "^1.24.0",
"@temporalio/worker": "^1.24.0",
"@temporalio/workflow": "^1.24.0",
"@testing-library/react": "^13.3.0",
"@types/cli-table": "^0.3.4",
"@types/jmespath": "^0.15.2",
"@types/mocha": "^10.0.10",
"@types/node": "^18.0.0",
"@types/request": "^2.48.7",
"@types/ws": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"@vitejs/plugin-react": "^1.3.2",
"async": "ably-forks/async#requirejs",
"aws-sdk": "^2.1413.0",
"chai": "^4.2.0",
"cli-table": "^0.3.11",
"cors": "^2.8.5",
"csv": "^6.3.9",
"dox": "^1.0.0",
"esbuild": "^0.18.10",
"esbuild-plugin-umd-wrapper": "ably-forks/esbuild-plugin-umd-wrapper#1.0.7-optional-amd-named-module",
"esbuild-runner": "^2.2.2",
"eslint": "^7.13.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jsdoc": "^40.0.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-security": "^1.4.0",
"express": "^4.17.1",
"glob": "^10.4.2",
"grunt": "^1.6.1",
"grunt-cli": "~1.2.0",
"grunt-shell": "~1.1",
"grunt-webpack": "^5.0.0",
"hexy": "~0.2",
"jmespath": "^0.16.0",
"jsdom": "^20.0.0",
"minimist": "^1.2.5",
"mocha": "^8.1.3",
"mocha-junit-reporter": "^2.2.1",
"path-browserify": "^1.0.1",
"playwright": "^1.39.0",
"prettier": "^3.3.3",
"process": "^0.11.10",
"react": ">=18.1.0",
"react-dom": ">=18.1.0",
"requirejs": "~2.1",
"shelljs": "~0.8",
"source-map-explorer": "^2.5.2",
"source-map-support": "^0.5.21",
"stream-browserify": "^3.0.0",
"ts-loader": "^9.4.2",
"tsconfig-paths-webpack-plugin": "^4.0.1",
"tslib": "^2.3.1",
"tsx": "^4.21.0",
"typedoc": "^0.24.7",
"typescript": "^4.9.5",
"vite": "^4.4.9",
"vitest": "^0.18.0",
"webpack": "^5.79.0",
"webpack-cli": "^5.0.1"
},
"engines": {
"node": ">=22"
},
"scripts": {
"start:react": "npx vite serve",
"grunt": "grunt",
"test": "npm run test:node",
"test:node": "npm run build:node && npm run build:push && npm run build:liveobjects && npm run build:packages && mocha",
"test:grep": "npm run build:node && npm run build:push && npm run build:liveobjects && npm run build:packages && mocha --grep",
"test:node:skip-build": "mocha",
"test:webserver": "grunt test:webserver",
"test:playwright": "node packages/core-impl/test/support/runPlaywrightTests.js",
"test:react": "vitest run",
"test:package": "grunt test:package",
"test:uts": "npm run build:node && TSX_TSCONFIG_PATH=packages/core-impl/test/uts/tsconfig.json mocha --no-config --require tsx/cjs 'packages/core-impl/test/uts/**/*.test.ts'",
"test:uts:unit": "npm run build:node && TSX_TSCONFIG_PATH=packages/core-impl/test/uts/tsconfig.json mocha --no-config --exit --require tsx/cjs --ignore 'packages/core-impl/test/uts/**/proxy/**' --ignore 'packages/core-impl/test/uts/**/integration/**' 'packages/core-impl/test/uts/**/*.test.ts'",
"test:uts:integration": "npm run build:node && TSX_TSCONFIG_PATH=packages/core-impl/test/uts/tsconfig.json mocha --no-config --exit --require tsx/cjs 'packages/core-impl/test/uts/**/integration/**/*.test.ts'",
"test:temporal": "npm run build:packages && TSX_TSCONFIG_PATH=packages/core-impl/test/uts/tsconfig.json mocha --no-config --exit --require tsx/cjs --timeout 180000 'packages/core-impl/test/temporal/**/*.test.ts'",
"test:temporal:unit": "npm run build:packages && TSX_TSCONFIG_PATH=packages/core-impl/test/uts/tsconfig.json mocha --no-config --exit --require tsx/cjs 'packages/core-impl/test/temporal/unit/**/*.test.ts'",
"test:temporal:workflow": "npm run build:packages && TSX_TSCONFIG_PATH=packages/core-impl/test/uts/tsconfig.json mocha --no-config --exit --require tsx/cjs --timeout 180000 'packages/core-impl/test/temporal/workflow/**/*.test.ts'",
"test:temporal:integration": "npm run build:packages && TSX_TSCONFIG_PATH=packages/core-impl/test/uts/tsconfig.json mocha --no-config --exit --require tsx/cjs --timeout 180000 'packages/core-impl/test/temporal/integration/**/*.test.ts'",
"typecheck:temporal": "tsc --noEmit -p packages/core-impl/test/temporal/tsconfig.json",
"concat": "grunt concat",
"build": "grunt build",
"build:node": "grunt build:node",
"build:browser": "grunt build:browser",
"build:react": "npm run build:react:mjs && npm run build:react:cjs",
"build:react:mjs": "tsc --project packages/core-impl/src/platform/react-hooks/tsconfig.mjs.json && cp packages/core-impl/src/platform/react-hooks/res/package.mjs.json packages/device/dist/react/mjs/package.json",
"build:react:cjs": "tsc --project packages/core-impl/src/platform/react-hooks/tsconfig.cjs.json && cp packages/core-impl/src/platform/react-hooks/res/package.cjs.json packages/device/dist/react/cjs/package.json",
"build:temporal:types": "tsc --project packages/core-impl/src/platform/temporal/tsconfig.json",
"build:push": "grunt build:push",
"build:react-native-push": "grunt build:react-native-push",
"build:liveobjects": "grunt build:liveobjects",
"build:packages": "grunt build:packages",
"requirejs": "grunt requirejs",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"check:packages": "tsc --noEmit --project packages/tsconfig.json",
"check:versions": "node scripts/release.js check",
"release:bump": "node scripts/release.js bump",
"release:publish": "node scripts/release.js publish",
"prepare": "npm run build",
"format": "prettier --write .",
"format:check": "prettier --check .",
"sourcemap": "source-map-explorer packages/device/dist/cdn/ably.min.js",
"modulereport": "tsc --noEmit --esModuleInterop scripts/moduleReport.ts && esr scripts/moduleReport.ts",
"speccoveragereport": "tsc --noEmit --esModuleInterop --target ES2020 --moduleResolution node scripts/specCoverageReport.ts && esr scripts/specCoverageReport.ts",
"process-private-api-data": "tsc --noEmit --esModuleInterop --strictNullChecks scripts/processPrivateApiData/run.ts && esr scripts/processPrivateApiData/run.ts",
"docs": "typedoc",
"generate:errorcodes-ts": "node packages/core-impl/test/common/ably-common/errors/scripts/generate-errorcodes-ts.js --format=type --out packages/core/src/errorcodes.ts"
}
}