-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.91 KB
/
package.json
File metadata and controls
80 lines (80 loc) · 2.91 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
{
"name": "@itwin/electron-authorization",
"version": "0.22.2",
"description": "Electron authorization client for iTwin platform",
"exports": {
"./Main": {
"types": "./lib/cjs/ElectronMain.d.ts",
"import": "./lib/esm/ElectronMain.js",
"require": "./lib/cjs/ElectronMain.js"
},
"./Renderer": {
"types": "./lib/esm/ElectronRenderer.d.ts",
"import": "./lib/esm/ElectronRenderer.js",
"require": "./lib/cjs/ElectronRenderer.js"
}
},
"scripts": {
"build": "pnpm run -s build:cjs && pnpm run -s build:esm && pnpm run copy:assets",
"build:cjs": "tsc 1>&2 -p tsconfig.cjs.json",
"build:esm": "tsc 1>&2 -p tsconfig.esm.json",
"copy:assets": "cpx src/static/* dist/main/static && cpx src/static/* lib/cjs/main/static && cpx src/static/* lib/esm/main/static && node -e \"require('fs').writeFileSync('lib/esm/package.json', JSON.stringify({type:'module'}))\"",
"cover": "nyc npm test",
"clean": "rimraf lib",
"docs": "RUSHSTACK_FILE_ERROR_BASE_FOLDER='../..' betools docs --includes=../../generated-docs/extract --json=../../generated-docs/auth-clients/electron-authorization/file.json --tsIndexFile=./docsIndex.ts --onlyJson",
"lint": "eslint -f visualstudio \"./src/**/*.ts\" 1>&2",
"lint:fix": "npm run lint -- --fix",
"test": "mocha \"./lib/cjs/test/**/*.test.js\"",
"test:integration": "pnpm test:integration:build && pnpm exec playwright test",
"test:integration:start": "pnpm test:integration:build && electron dist/integration-test/test-app/index.js",
"test:integration:build": "pnpm test:integration:vite && tsc -p ./src/integration-test/",
"test:integration:vite": "vite build",
"pack": "npm pack",
"rebuild": "npm run clean && npm run build"
},
"author": {
"name": "Bentley Systems, Inc.",
"url": "http://www.bentley.com"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/iTwin/auth-clients.git",
"directory": "packages/electron"
},
"dependencies": {
"@itwin/core-common": "^5.0.0",
"@openid/appauth": "^1.3.2",
"electron-store": "^8.2.0",
"username": "^7.0.0"
},
"devDependencies": {
"@itwin/build-tools": "^5.5.0",
"@itwin/core-bentley": "^5.0.0",
"@itwin/core-common": "^5.0.0",
"@itwin/eslint-plugin": "^6.0.0",
"@playwright/test": "~1.56.1",
"@types/chai": "4.3.14",
"@types/chai-as-promised": "^7.1.8",
"@types/mocha": "^8.2.3",
"@types/node": "^20.19.9",
"@types/sinon": "^10.0.20",
"chai": "^4.5.0",
"chai-as-promised": "^7.1.2",
"cpx2": "^5.0.0",
"dotenv": "~16.0.3",
"electron": "^41.0.0",
"eslint": "^9.11.1",
"mocha": "^10.8.2",
"nyc": "^17.1.0",
"rimraf": "^3.0.2",
"sinon": "^15.2.0",
"source-map-support": "^0.5.21",
"typescript": "~5.6.3",
"vite": "^6.3.5"
},
"peerDependencies": {
"@itwin/core-bentley": "^5.0.0",
"electron": ">=35.0.0 <42.0.0"
}
}