ducky/web

Paddy 2015-06-30 Parent:b9d0efb44eaa Child:0340f522bce9

11:3bdc03963abe Go to Latest

ducky/web/package.json

Implement OAuth token refreshing helper. Create an ampersand-sync/XHR request wrapper that will detect when a request fails because an OAuth2 token has expired, and will try to refresh the token then retry the request.

History
1 {
2 "name": "ducky",
3 "version": "0.0.1",
4 "author": "Second Bit",
5 "license": "MIT",
6 "dependencies": {
7 "ampersand-app": "^1.0.4",
8 "ampersand-collection": "^1.4.5",
9 "ampersand-model": "^5.0.3",
10 "ampersand-react-mixin": "^0.1.2",
11 "ampersand-rest-collection": "^4.0.0",
12 "ampersand-router": "^3.0.2",
13 "ampersand-sync": "^3.0.7",
14 "andlog": "^1.0.0",
15 "babel": "^5.1.13",
16 "babel-loader": "^5.0.0",
17 "css-loader": "^0.12.0",
18 "extract-text-webpack-plugin": "^0.7.0",
19 "file-loader": "^0.8.1",
20 "find-root": "^0.1.1",
21 "jwt-decode": "^1.1.0",
22 "ladda": "^0.9.8",
23 "local-links": "^1.4.0",
24 "lodash.debounce": "^3.0.3",
25 "lodash.isobject": "^3.0.1",
26 "minimist": "^1.1.1",
27 "node-bourbon": "^4.2.1-beta1",
28 "node-neat": "^1.7.1-beta1",
29 "node-sass": "^2.1.1",
30 "normalize.css": "^3.0.3",
31 "qs": "^2.4.1",
32 "react": "^0.13.2",
33 "react-ladda": "^2.0.4",
34 "react-script-loader": "0.0.1",
35 "sass-loader": "0.4.2",
36 "style-loader": "^0.12.0",
37 "url-loader": "^0.5.5",
38 "webpack": "1.8.9",
39 "xhr": "^2.0.2"
40 },
41 "devDependencies": {
42 "react-hot-loader": "^1.2.5",
43 "webpack-dev-server": "^1.8.2"
44 },
45 "scripts": {
46 "build": "NODE_ENV=production webpack",
47 "start": "bin/dev-server",
48 "deploy": "surge ./build/"
49 }
50 }