Skip to content

Commit 3dbc026

Browse files
authored
Merge pull request #74 from ember-fastboot/0.12-support
0.12 support
2 parents abcd1ed + b62e795 commit 3dbc026

25 files changed

Lines changed: 50 additions & 19 deletions

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["es2015"]
3+
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/node_modules
22
npm-debug.log
33
tmp*
4+
dist/

.jshintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
test/fixtures/**
22
node_modules/**
3+
dist/**

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ language: node_js
22
node_js:
33
- "stable"
44
- "4"
5+
- "0.12"
56

67
env:
78
- CXX=g++-4.8 WORKER_COUNT=2

Brocfile.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
var alchemist = require('broccoli-module-alchemist');
2+
3+
module.exports = alchemist({
4+
targets: ['cjs']
5+
});

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22
"name": "fastboot",
33
"version": "1.0.0-beta.5",
44
"description": "Library for rendering Ember apps in node.js",
5+
"main": "src/index.js",
56
"scripts": {
67
"test": "mocha",
8+
"build": "rm -rf dist && broccoli build dist",
79
"preversion": "npm test",
10+
"prepublish": "npm run build",
11+
"postinstall": "broccoli-module-alchemist-install",
812
"postversion": "git push origin master --tags"
913
},
1014
"repository": {
@@ -22,6 +26,7 @@
2226
},
2327
"homepage": "https://github.com/ember-fastboot/fastboot#readme",
2428
"dependencies": {
29+
"broccoli-module-alchemist-install": "^0.1.1",
2530
"chalk": "^0.5.1",
2631
"cookie": "^0.2.3",
2732
"debug": "^2.1.0",
@@ -36,6 +41,11 @@
3641
"source-map-support": "^0.4.0"
3742
},
3843
"devDependencies": {
44+
"babel-core": "^6.10.4",
45+
"babel-preset-es2015": "^6.9.0",
46+
"broccoli": "^0.16.9",
47+
"broccoli-cli": "^1.0.0",
48+
"broccoli-module-alchemist": "^0.2.0",
3949
"chai": "^3.5.0",
4050
"chai-as-promised": "^5.2.0",
4151
"fs-promise": "^0.5.0",
File renamed without changes.

0 commit comments

Comments
 (0)