Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 081a708

Browse files
EisenbergEffecttbosch
authored andcommitted
chore(setup): setup of repository
0 parents  commit 081a708

16 files changed

+3179
-0
lines changed

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
11+
# 2 space indentation
12+
[**.js]
13+
indent_style = space
14+
indent_size = 2

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
compiled
3+
dist
4+
sauce_connect.log
5+
.idea
6+
.DS_STORE

.npmignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
test/
2+
*.sublime-project
3+
*.sublime-workspace
4+
gulpfile.js
5+
karma.conf.js
6+
.travis.yml
7+
test-main.js
8+
.npmignore
9+
*.orig
10+
Gruntfile.*
11+
compiled/

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
language: node_js
2+
3+
node_js:
4+
- 0.10
5+
6+
env:
7+
global:
8+
- SAUCE_USERNAME=angular-ci
9+
- SAUCE_ACCESS_KEY=9b988f434ff8-fbca-8aa4-4ae3-35442987
10+
11+
install:
12+
- npm install
13+
- npm install -g gulp
14+
- npm install -g karma-cli
15+
16+
before_script:
17+
18+
script:
19+
- karma start --single-run --browsers SL_Chrome --reporters dots
20+
21+
after_script:

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
![Van gogh lallee des alyscamps](http://upload.wikimedia.org/wikipedia/commons/3/3d/Van_gogh_lallee_des_alyscamps.jpg)
2+
3+
# Angular Expressions
4+
5+
## Develop
6+
npm install
7+
karma start
8+
9+
Use 2 spaces as tab, see .editorconfig

gulpfile.js

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
var gulp = require('gulp');
2+
var pipe = require('pipe/gulp');
3+
var connect = require('gulp-connect');
4+
5+
6+
var path = {
7+
src: './src/**/*.js',
8+
};
9+
10+
11+
// TRANSPILE ES6
12+
gulp.task('build_source_amd', function() {
13+
gulp.src(path.src)
14+
.pipe(pipe.traceur())
15+
.pipe(gulp.dest('dist/amd'));
16+
});
17+
18+
gulp.task('build', ['build_source_amd']);
19+
20+
21+
// WATCH FILES FOR CHANGES
22+
gulp.task('watch', function() {
23+
gulp.watch(path.src, ['build']);
24+
});
25+
26+
27+
// WEB SERVER
28+
gulp.task('serve', connect.server({
29+
root: __dirname,
30+
port: 8000,
31+
open: {
32+
browser: 'Google Chrome'
33+
}
34+
}));

karma.conf.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
var sharedConfig = require('pipe/karma');
2+
3+
module.exports = function(config) {
4+
sharedConfig(config);
5+
6+
config.set({
7+
// list of files / patterns to load in the browser
8+
files: [
9+
'test-main.js',
10+
{pattern: 'src/**/*.js', included: false},
11+
{pattern: 'test/**/*.js', included: false},
12+
{pattern: 'node_modules/pipe/node_modules/assert/dist/amd/**/*.js', included: false},
13+
{pattern: 'node_modules/es6-shim/es6-shim.js', included: false}
14+
],
15+
16+
preprocessors: {
17+
'src/**/*.js': ['traceur'],
18+
'test/**/*.js': ['traceur'],
19+
}
20+
});
21+
22+
config.sauceLabs.testName = 'templating';
23+
};

package.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "expressionist",
3+
"version": "0.0.0",
4+
"description": "Expression parser and evaluator for Angular 2.0.",
5+
"main": "node/index.js",
6+
"homepage": "https://github.com/angular/expressionist.js",
7+
"repository": {
8+
"type": "git",
9+
"url": "git://github.com/angular/expressionist.js.git"
10+
},
11+
"bugs": {
12+
"url": "https://github.com/angular/expressionist.js/issues"
13+
},
14+
"dependencies": {
15+
"es6-shim": "~0.9.2"
16+
},
17+
"devDependencies": {
18+
"pipe": "git://github.com/angular/pipe#assert",
19+
"gulp-connect": "~1.0.5"
20+
},
21+
"scripts": {
22+
"test": "karma start --single-run"
23+
},
24+
"author": "",
25+
"license": "Apache-2.0"
26+
}

0 commit comments

Comments
 (0)