|
2 | 2 | "name": "gatsby-typescript-app-starter", |
3 | 3 | "private": true, |
4 | 4 | "description": "A simple typescript application starter to get up and developing quickly with Gatsby", |
5 | | - "version": "0.2.0", |
| 5 | + "version": "0.3.0", |
6 | 6 | "author": "Erko Bridee <erko.bridee@gmail.com>", |
7 | 7 | "dependencies": { |
8 | 8 | "abortcontroller-polyfill": "^1.3.0", |
|
41 | 41 | "eslint": "^5.16.0", |
42 | 42 | "eslint-config-prettier": "^5.0.0", |
43 | 43 | "eslint-plugin-prettier": "^3.1.0", |
| 44 | + "express": "^4.17.1", |
44 | 45 | "fs-extra": "^8.1.0", |
45 | 46 | "gatsby": "^2.13.41", |
46 | 47 | "gatsby-image": "^2.2.7", |
|
63 | 64 | "postcss-preset-env": "^6.6.0", |
64 | 65 | "prettier": "^1.18.2", |
65 | 66 | "react-intl-translations-manager": "^5.0.3", |
| 67 | + "request": "^2.88.0", |
66 | 68 | "svgo": "1.2.2", |
67 | 69 | "ts-jest": "^24.2.0", |
68 | 70 | "typescript": "^3.5.2", |
|
78 | 80 | "starter", |
79 | 81 | "sass", |
80 | 82 | "typescript", |
| 83 | + "dotenv", |
| 84 | + "proxy support", |
81 | 85 | "jest", |
82 | 86 | "unit tests", |
83 | 87 | "unit tests coverage" |
|
104 | 108 | "gatsby-clean": "gatsby clean", |
105 | 109 | "gatsby-develop": "gatsby develop -H 0.0.0.0", |
106 | 110 | "gatsby-build": "gatsby build --prefix-paths", |
107 | | - "gatsby-serve": "gatsby serve -H 0.0.0.0", |
| 111 | + "gatsby-serve": "node scripts/proxied-http-server.js", |
108 | 112 | "clean:build": "node scripts/fs/rm .build/", |
109 | 113 | "clean:coverage": "node scripts/fs/rm coverage/", |
110 | 114 | "clean": "npm-run-all -p clean:coverage clean:build fonticons:clean gatsby-clean", |
|
114 | 118 | "develop": "npm-run-all -s base gatsby-develop", |
115 | 119 | "start": "npm run develop", |
116 | 120 | "build": "npm-run-all -s clean base unit-tests gatsby-build", |
117 | | - "serve": "npm-run-all -s build gatsby-serve", |
| 121 | + "serve": "ACTIVE_ENV=development npm-run-all -s build gatsby-serve", |
118 | 122 | "gh-deploy": "gh-pages -d public", |
119 | 123 | "deploy": "PREFIX_PATH=true npm-run-all -s build gh-deploy" |
120 | 124 | }, |
|
0 commit comments