-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.62 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 2.62 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
{
"name": "genesys-cloud-client-auth",
"description": "Small, lightweight library and app to handle authentication for client applications. Big advantage is utilization of popup windows to authenticate apps within iframes.",
"version": "1.0.2",
"main": "dist/lib/cjs/index.js",
"module": "dist/lib/es/index.js",
"browser": "dist/lib/es/index.js",
"repository": "https://github.com/mypurecloud/genesys-cloud-client-auth",
"license": "MIT",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"install:all": "npm ci && cd src/react-app && npm install",
"start": "concurrently \"npm run start:lib\" \"npm run start:react\"",
"start:lib": "webpack -c webpack.config.dev.js",
"start:react": "cd src/react-app && npm run dev",
"prebuild": "rimraf dist",
"build": "npm run build:react && npm run build:lib && npm run copy:react-dist && node scripts/version-manifest.js",
"build:react": "cd src/react-app && npm run build",
"build:lib": "npm run compile:cjs && npm run compile:module && npm run compile:webpack",
"compile:cjs": "tsc -p ./tsconfig.json --outDir ./dist/lib/cjs --target es2018 --module commonjs",
"compile:module": "tsc -p ./tsconfig.json",
"compile:webpack": "webpack --mode production",
"test": "npm run test:lib",
"test:lib": "jest",
"test:watch": "jest --watch --collectCoverage=false",
"lint": "npm run lint:lib",
"lint:lib": "eslint ./src/lib",
"lint:fix": "npm run lint -- --fix",
"_build:test": "npm run build:lib && cp test/index.html dist/lib && stupid-server -s dist/lib",
"codecov": "node scripts/merge-coverage-reports.js && codecov",
"copy:react-dist": "cp -r src/react-app/dist/* dist/ || true"
},
"files": [
"dist"
],
"dependencies": {
"axios": "^1.15.2"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@types/jest": "^29.5.14",
"@types/nock": "^11.1.0",
"@types/superagent": "^8.1.9",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.20.0",
"@typescript-eslint/parser": "^8.20.0",
"codecov": "^3.8.2",
"concurrently": "^9.1.2",
"eslint": "^9.24.0",
"istanbul-api": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^16.0.0",
"nock": "^13.5.6",
"pre-push": "^0.1.4",
"rimraf": "^6.0.1",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^5.7.2",
"webpack": "5.97.1",
"webpack-cli": "^6.0.1"
},
"pre-push": [
"lint",
"test"
],
"false": {}
}