1 | {
|
2 | "author": "Auth0",
|
3 | "name": "@auth0/auth0-spa-js",
|
4 | "description": "Auth0 SDK for Single Page Applications using Authorization Code Grant Flow with PKCE",
|
5 | "license": "MIT",
|
6 | "version": "1.21.1",
|
7 | "main": "dist/lib/auth0-spa-js.cjs.js",
|
8 | "types": "dist/typings/index.d.ts",
|
9 | "module": "dist/auth0-spa-js.production.esm.js",
|
10 | "scripts": {
|
11 | "dev": "rimraf dist && rollup -c --watch",
|
12 | "start": "npm run dev",
|
13 | "docs": "typedoc --options ./typedoc.js --module commonjs",
|
14 | "build": "rimraf dist && rollup -m -c --environment NODE_ENV:production && npm run test:es-check",
|
15 | "build:stats": "npm run build -- --environment WITH_STATS:true && open stats.html",
|
16 | "lint:security": "eslint ./src --ext ts --no-eslintrc --config ./.eslintrc.security",
|
17 | "test": "jest --coverage --silent",
|
18 | "test:watch": "jest --coverage --watch",
|
19 | "test:debug": "node --inspect node_modules/.bin/jest --runInBand",
|
20 | "test:open:integration": "cypress open",
|
21 | "test:watch:integration": "concurrently --raw npm:dev 'npm:test:open:integration'",
|
22 | "test:es-check": "npm run test:es-check:es5 && npm run test:es-check:es2015:module",
|
23 | "test:es-check:es5": "es-check es5 'dist/auth0-spa-js.production.js'",
|
24 | "test:es-check:es2015:module": "es-check es2015 'dist/auth0-spa-js.production.esm.js' --module ",
|
25 | "test:integration:server": "npm run dev",
|
26 | "test:integration:tests": "wait-on http://localhost:3000/ && cypress run",
|
27 | "test:integration": "concurrently --raw --kill-others --success first npm:test:integration:server npm:test:integration:tests",
|
28 | "serve:coverage": "serve coverage/lcov-report -n",
|
29 | "serve:stats": "serve bundle-stats -n",
|
30 | "print-bundle-size": "node ./scripts/print-bundle-size",
|
31 | "prepack": "npm run build && node ./scripts/prepack",
|
32 | "publish:cdn": "ccu --trace"
|
33 | },
|
34 | "devDependencies": {
|
35 | "@auth0/component-cdn-uploader": "github:auth0/component-cdn-uploader#v2.2.2",
|
36 | "@rollup/plugin-replace": "^2.4.2",
|
37 | "@types/cypress": "^1.1.3",
|
38 | "@types/jest": "^27.0.2",
|
39 | "@typescript-eslint/eslint-plugin-tslint": "^4.33.0",
|
40 | "@typescript-eslint/parser": "^4.33.0",
|
41 | "browserstack-cypress-cli": "1.8.1",
|
42 | "cli-table": "^0.3.6",
|
43 | "codecov": "^3.8.3",
|
44 | "concurrently": "^6.4.0",
|
45 | "cypress": "7.2.0",
|
46 | "es-check": "^6.1.1",
|
47 | "eslint": "^7.32.0",
|
48 | "gzip-size": "^6.0.0",
|
49 | "husky": "^7.0.4",
|
50 | "idtoken-verifier": "^2.2.2",
|
51 | "jest": "^27.3.1",
|
52 | "jest-junit": "^13.0.0",
|
53 | "jest-localstorage-mock": "^2.4.18",
|
54 | "jsonwebtoken": "^8.5.1",
|
55 | "oidc-provider": "^7.10.1",
|
56 | "pem": "^1.14.4",
|
57 | "prettier": "^2.4.1",
|
58 | "pretty-quick": "^3.1.2",
|
59 | "qss": "^2.0.3",
|
60 | "rimraf": "^3.0.2",
|
61 | "rollup": "^2.60.0",
|
62 | "rollup-plugin-analyzer": "^4.0.0",
|
63 | "rollup-plugin-commonjs": "^10.1.0",
|
64 | "rollup-plugin-dev": "^1.1.3",
|
65 | "rollup-plugin-livereload": "^2.0.5",
|
66 | "rollup-plugin-node-resolve": "^5.2.0",
|
67 | "rollup-plugin-sourcemaps": "^0.6.3",
|
68 | "rollup-plugin-terser": "^7.0.2",
|
69 | "rollup-plugin-typescript2": "^0.30.0",
|
70 | "rollup-plugin-visualizer": "^5.5.2",
|
71 | "rollup-plugin-web-worker-loader": "^1.6.1",
|
72 | "serve": "^12.0.1",
|
73 | "ts-jest": "^27.0.7",
|
74 | "tslib": "^2.3.1",
|
75 | "tslint": "^6.1.3",
|
76 | "tslint-config-security": "^1.16.0",
|
77 | "typedoc": "0.18.0",
|
78 | "typescript": "^4.4.4",
|
79 | "wait-on": "^6.0.0"
|
80 | },
|
81 | "dependencies": {
|
82 | "abortcontroller-polyfill": "^1.7.3",
|
83 | "browser-tabs-lock": "^1.2.15",
|
84 | "core-js": "^3.22.0",
|
85 | "es-cookie": "^1.3.2",
|
86 | "fast-text-encoding": "^1.0.3",
|
87 | "promise-polyfill": "^8.2.3",
|
88 | "unfetch": "^4.2.0"
|
89 | },
|
90 | "files": [
|
91 | "src",
|
92 | "dist"
|
93 | ],
|
94 | "repository": {
|
95 | "type": "git",
|
96 | "url": "git://github.com/auth0/auth0-spa-js.git"
|
97 | },
|
98 | "bugs": {
|
99 | "url": "https://github.com/auth0/auth0-spa-js/issues"
|
100 | },
|
101 | "homepage": "https://github.com/auth0/auth0-spa-js#readme",
|
102 | "keywords": [
|
103 | "auth0",
|
104 | "login",
|
105 | "Authorization Code Grant Flow",
|
106 | "PKCE",
|
107 | "Single Page Application authentication",
|
108 | "SPA authentication"
|
109 | ],
|
110 | "ccu": {
|
111 | "name": "auth0-spa-js",
|
112 | "cdn": "https://cdn.auth0.com",
|
113 | "mainBundleFile": "auth0-spa-js.production.js",
|
114 | "bucket": "assets.us.auth0.com",
|
115 | "localPath": "dist",
|
116 | "digest": {
|
117 | "hashes": [
|
118 | "sha384"
|
119 | ],
|
120 | "extensions": [
|
121 | ".js"
|
122 | ]
|
123 | }
|
124 | },
|
125 | "husky": {
|
126 | "hooks": {
|
127 | "pre-commit": "pretty-quick --staged"
|
128 | }
|
129 | }
|
130 | }
|