- Instale as dependências:
yarn add webpack babel-core babel-loader babel-preset-env
- Crie o arquivo de configuração do webpack:
touch webpack.config.js
yarn add webpack babel-core babel-loader babel-preset-env
touch webpack.config.js
import { TestBed, async } from '@angular/core/testing'; | |
import { AppComponent } from './app.component'; | |
import { setUpCachedTestBed } from '../test-utils'; | |
describe('AppComponent', () => { | |
setUpCachedTestBed({ | |
declarations: [ AppComponent ], | |
}); | |
beforeEach(() => { |
write-host "`n ## NODEJS INSTALLER ## `n" | |
### CONFIGURATION | |
# nodejs | |
$version = "4.4.7-x64" | |
$url = "https://nodejs.org/dist/latest-v4.x/node-v$version.msi" | |
# git | |
$git_version = "2.9.2" |
*.db diff=sqlite3 |
/** | |
* Simple Node.js script to turn a specific page on a Google Sheet | |
* into a JSON object for the main purpose of HTML Templating. | |
* | |
* @author jonobr1 / http://jonobr1.com | |
* | |
*/ | |
var https = require('https'); | |
var path = require('path'); |
# | |
# Acts as a nginx HTTPS proxy server | |
# enabling CORS only to domains matched by regex | |
# /https?://.*\.mckinsey\.com(:[0-9]+)?)/ | |
# | |
# Based on: | |
# * http://blog.themillhousegroup.com/2013/05/nginx-as-cors-enabled-https-proxy.html | |
# * http://enable-cors.org/server_nginx.html | |
# | |
server { |