Follow along : http://bit.do/ironfe
Ben Westrate
Technical Specialist at ICF Olson
A YEAR IN REVIEW
v2
Why Front End Build Tools?
Iron(Fe) Introduction
The problems Iron(Fe) solves
Problems Iron(Fe) wont solve
What has changed sense last year?
Does Iron(Fe) actually help with the dev process?
#CIRCUIT16
#CIRCUIT16
Lets talk "server side" javascript
#CIRCUIT16
#CIRCUIT16
#CIRCUIT16
{
"name": "",
"version": "",
"description": "",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"main": "./lib/index.js",
"repository": { },
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {},
"homepage": "https://github.com/jzeltman/iron",
"dependencies": {
"gulp": "^3.9.0",
}
}
package.json
#CIRCUIT16
#CIRCUIT16
What does this gain us?
#CIRCUIT16
How do you use it?
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>0.0.23</version>
...
</plugin>
...
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>...</version>
<!-- optional -->
<configuration>
<workingDirectory>src/main/frontend</workingDirectory>
</configuration>
<executions>
...
</executions>
</plugin>
<execution>
<!-- optional: you don't really need execution ids,
but it looks nice in your build log. -->
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<!-- optional: default phase is "generate-resources" -->
<phase>generate-resources</phase>
<configuration>
<nodeVersion>v0.10.18</nodeVersion>
<npmVersion>1.3.8</npmVersion>
<!-- optional: where to download node and npm from. Defaults to http://nodejs.org/dist/ -->
<downloadRoot>http://myproxy.example.org/nodejs/dist/</downloadRoot>
</configuration>
</execution>
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
<!-- optional: default phase is "generate-resources" -->
<phase>generate-resources</phase>
<configuration>
<!-- optional: The default argument is actually
"install", so unless you need to run some other npm command,
you can remove this whole <configuration> section.
-->
<arguments>install</arguments>
</configuration>
</execution>
#CIRCUIT16
#CIRCUIT16
#CIRCUIT16
#CIRCUIT16
#CIRCUIT16
#CIRCUIT16
#CIRCUIT16
#CIRCUIT16
#CIRCUIT16
Questions?
Contact Me
Twitter : @BenWestrate
Email : benjamin.westrate@icfolson.com
Github : https://github.com/benwestrate
#CIRCUIT16