Skip to content

Commit 55362f0

Browse files
$ codebricks new
1 parent 274e70e commit 55362f0

File tree

11 files changed

+137
-2
lines changed

11 files changed

+137
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ node_modules
2626

2727
# Users Environment Variables
2828
.lock-wscript
29+
30+
# groc
31+
doc

.groc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"github": true,
3+
"glob": [
4+
"js/src/**/*.js",
5+
"README.md"
6+
]
7+
}

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
language: node_js
2+
node_js:
3+
- "0.11"
4+
- "0.10"
5+
# - "0.8"
6+
# - "0.6"
7+
install:
8+
- npm -d install
9+
script:
10+
- npm test
11+
after_success:
12+
- ./node_modules/.bin/coveralls < coverage/lcov.info || true
13+
- ./node_modules/.bin/codeclimate < coverage/lcov.info || true
14+
# env:
15+
# - COVERALLS_REPO_TOKEN=000000000000000000000000000000000
16+
# - CODECLIMATE_REPO_TOKEN=0000000000000000000000000000000000000000000000000000000000000000

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
js-array
2-
========
1+
[js-array](http://aureooms.github.io/js-array)
2+
==
33

44
array manipulation code bricks for JavaScript
5+
6+
[![NPM license](http://img.shields.io/npm/l/aureooms-js-array.svg)](https://raw.githubusercontent.com/aureooms/js-array/master/LICENSE)
7+
[![NPM version](http://img.shields.io/npm/v/aureooms-js-array.svg)](https://www.npmjs.org/package/aureooms-js-array)
8+
[![Bower version](http://img.shields.io/bower/v/aureooms-js-array.svg)](http://bower.io/search/?q=aureooms-js-array)
9+
[![Build Status](https://travis-ci.org/aureooms/js-array.svg)](https://travis-ci.org/aureooms/js-array)
10+
[![Coverage Status](https://coveralls.io/repos/aureooms/js-array/badge.png)](https://coveralls.io/r/aureooms/js-array)
11+
[![Dependencies Status](https://david-dm.org/aureooms/js-array.png)](https://david-dm.org/aureooms/js-array#info=dependencies)
12+
[![devDependencies Status](https://david-dm.org/aureooms/js-array/dev-status.png)](https://david-dm.org/aureooms/js-array#info=devDependencies)
13+
[![Code Climate](https://codeclimate.com/github/aureooms/js-array.png)](https://codeclimate.com/github/aureooms/js-array)
14+
[![NPM downloads per month](http://img.shields.io/npm/dm/aureooms-js-array.svg)](https://www.npmjs.org/package/aureooms-js-array)
15+
[![GitHub issues](http://img.shields.io/github/issues/aureooms/js-array.svg)](https://github.com/aureooms/js-array/issues)

bower.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"license": "AGPL-3.0",
3+
"ignore": [
4+
"js/index.js",
5+
"js/src",
6+
"test",
7+
"pkg.json",
8+
"package.json",
9+
".groc.json",
10+
".travis.yml",
11+
".gitignore",
12+
"README.md"
13+
],
14+
"main": "js/dist/array.js",
15+
"name": "aureooms-js-array",
16+
"version": "0.0.0",
17+
"homepage": "http://aureooms.github.io/js-array/",
18+
"description": "array manipulation code bricks for JavaScript"
19+
}

js/index.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
var pkg = require('aureooms-node-package');
2+
3+
var fs = require('fs');
4+
var data = fs.readFileSync(pkg.config, 'utf8');
5+
var opt = JSON.parse(data);
6+
7+
opt = {
8+
ns : opt.ns,
9+
src : __dirname + '/src/',
10+
exports : module.exports,
11+
base : 0,
12+
debug : opt.debug
13+
};
14+
15+
pkg.include(opt);

js/src/dummy.js

Whitespace-only changes.

package.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"license": "AGPL-3.0",
3+
"homepage": "http://aureooms.github.io/js-array/",
4+
"main": "js/dist/array.js",
5+
"name": "aureooms-js-array",
6+
"author": "aureooms",
7+
"devDependencies": {
8+
"aureooms-node-package": "^1.1.3"
9+
},
10+
"scripts": {
11+
"doc": "./node_modules/.bin/groc",
12+
"test": "./node_modules/.bin/aureooms-node-package-test",
13+
"build": "./node_modules/.bin/aureooms-node-package-build"
14+
},
15+
"dependencies": {},
16+
"version": "0.0.0",
17+
"bugs": {
18+
"url": "https://github.com/aureooms/js-array/issues"
19+
},
20+
"description": "array manipulation code bricks for JavaScript",
21+
"keywords": [
22+
"array",
23+
"bricks",
24+
"javascript",
25+
"js",
26+
"loop",
27+
"vector"
28+
],
29+
"repository": {
30+
"type": "git",
31+
"url": "https://github.com/aureooms/js-array.git"
32+
}
33+
}

pkg.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"ns": "array",
3+
"debug": false,
4+
"code": {
5+
"main": [
6+
"js",
7+
"dist",
8+
"array.js"
9+
],
10+
"test": [
11+
"test",
12+
"js"
13+
]
14+
},
15+
"src": "js/src/",
16+
"out": "js/dist/"
17+
}

test/js/index.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
var pkg = require('aureooms-node-package');
2+
3+
4+
var opt = {
5+
src : __dirname + '/src/',
6+
exports : module.exports,
7+
base : 0
8+
};
9+
10+
pkg.include(opt);

test/js/src/dummy.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
test("dummy", function () {
3+
ok(false, "tests implemented");
4+
});

0 commit comments

Comments
 (0)