1 | {
|
2 | "name": "client-oauth2",
|
3 | "version": "3.0.2",
|
4 | "description": "Straight-forward execution of OAuth 2.0 flows and authenticated API requests",
|
5 | "main": "src/client-oauth2.js",
|
6 | "files": [
|
7 | "src/",
|
8 | "LICENSE"
|
9 | ],
|
10 | "browser": {
|
11 | "buffer": false,
|
12 | "./src/request/index.js": "./src/request/browser.js"
|
13 | },
|
14 | "scripts": {
|
15 | "lint": "standard",
|
16 | "test-server-open": "PORT=7357 node test/support/server.js & echo $! > server.pid",
|
17 | "test-server-close": "if [ -f server.pid ]; then kill -9 $(cat server.pid); rm server.pid; fi",
|
18 | "test-browser": "PORT=7357 karma start --single-run",
|
19 | "test-node": "PORT=7357 mocha -R spec --bail --require test/support/globals.js",
|
20 | "test": "npm run lint && npm run test-server-open && npm run test-node && npm run test-browser; npm run test-server-close"
|
21 | },
|
22 | "repository": {
|
23 | "type": "git",
|
24 | "url": "git://github.com/mulesoft/js-client-oauth2.git"
|
25 | },
|
26 | "keywords": [
|
27 | "oauth2",
|
28 | "authentication",
|
29 | "token"
|
30 | ],
|
31 | "author": "MuleSoft, Inc.",
|
32 | "license": "Apache-2.0",
|
33 | "bugs": {
|
34 | "url": "https://github.com/mulesoft/js-client-oauth2/issues"
|
35 | },
|
36 | "homepage": "https://github.com/mulesoft/js-client-oauth2",
|
37 | "devDependencies": {
|
38 | "body-parser": "^1.15.2",
|
39 | "browserify": "^13.1.0",
|
40 | "chai": "^3.2.0",
|
41 | "cors": "^2.8.1",
|
42 | "envify": "^3.4.1",
|
43 | "es6-promise": "^3.1.2",
|
44 | "express": "^4.14.0",
|
45 | "is-travis": "^1.0.0",
|
46 | "karma": "^1.3.0",
|
47 | "karma-browserify": "^5.0.2",
|
48 | "karma-chai": "^0.1.0",
|
49 | "karma-chrome-launcher": "^2.0.0",
|
50 | "karma-cli": "^1.0.1",
|
51 | "karma-coverage": "^1.1.1",
|
52 | "karma-firefox-launcher": "^1.0.0",
|
53 | "karma-mocha": "^1.1.1",
|
54 | "karma-phantomjs-launcher": "^1.0.0",
|
55 | "mocha": "^3.0.2",
|
56 | "phantomjs": "^2.1.3",
|
57 | "phantomjs-prebuilt": "^2.1.4",
|
58 | "standard": "^8.1.0",
|
59 | "watchify": "^3.7.0"
|
60 | },
|
61 | "dependencies": {
|
62 | "popsicle": "^8.2.0",
|
63 | "xtend": "^4.0.1"
|
64 | }
|
65 | }
|