2
0
Fork 0

created project structure

This commit is contained in:
Willem 2015-06-20 01:08:29 +02:00
parent f211980756
commit f937019e42
6 changed files with 157 additions and 1 deletions

50
.gitignore vendored
View file

@ -1,3 +1,51 @@
#
# node-ff-tcrud ignore rules
# node-ff-assets git ignore rules
#
# Ignore npm files
node_modules
npm-debug.log
# Ignore mocha test data
test/data
# Ignore example data
example/node_modules
example/npm-debug.log
example/www_static/css/lib
example/www_static/js/lib
# Ignore binary files
*.o
*.class
*.old
*.bak
*.backup
*.dat
*.data
*.gif
*.pdf
*.doc
*.db
*.ini
# Ignore ~ backup files.
*~
# Ignore some eclipse files
.settings
.classpath
.project
# Ignore netbeans directory
nbproject
# Ignore mac finder files
.DS_Store
# Ignore windows files.
# None (done by *.db and *.ini)
# Ignore kde dolphin files
.directory

4
.jshintignore Normal file
View file

@ -0,0 +1,4 @@
node_modules
example/node_modules
example/www_static
example/www_views

38
.jshintrc Normal file
View file

@ -0,0 +1,38 @@
{
"predef": [
"before",
"after",
"it",
"describe",
"beforeEach",
"afterEach"
],
"asi" : false,
"bitwise" : true,
"boss" : false,
"curly" : true,
"debug": false,
"devel": false,
"eqeqeq": true,
"evil": false,
"expr": true,
"forin": false,
"immed": true,
"latedef" : false,
"laxbreak": false,
"multistr": true,
"newcap": true,
"noarg": true,
"node" : true,
"noempty": false,
"nonew": true,
"onevar": false,
"plusplus": false,
"proto": true,
"regexp": false,
"strict": false,
"sub": false,
"trailing" : true,
"undef": true,
"unused": true
}

31
README.md Normal file
View file

@ -0,0 +1,31 @@
node-ff-tcrud
=========
A Node.js library providing simple templated crud views.
## Installation
npm install node-ff-tcrud --save
## Example Application
There is a fully working express example application in the example folder.
todo
## Usage
### todo
## Tests
npm test
## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style.
Add unit tests for any new or changed functionality. Lint and test your code.
## Release History
### 0.1.x
* Initial release

6
lib/node-ff-tcrud.js Normal file
View file

@ -0,0 +1,6 @@
'use strict';
var assets = {
};
module.exports = assets;

29
package.json Normal file
View file

@ -0,0 +1,29 @@
{
"name": "node-ff-tcrud",
"version": "0.1.0",
"description": "Templated crud views.",
"main": "lib/node-ff-tcrud.js",
"scripts": {
"test": "npm run-script test-clean;npm run-script test-mocha",
"test-clean": "rm test/data/* -rf",
"test-mocha": "export JUNIT_REPORT_PATH=test/data/report.xml;export JUNIT_REPORT_STACK=1;node_modules/mocha/bin/mocha --reporter mocha-jenkins-reporter"
},
"author": "Willem <willem.git.2015@forwardfire.net> (http://forwardfire.net/)",
"license": "BSD-2-Clause",
"repository": {
"type": "git",
"url": "https://bitbucket.org/im_ik/node-ff-tcrud.git"
},
"dependencies": {
"fetch": "^0.3.6",
"fs-extra": "^0.16.3",
"minify": "^1.4.8",
"underscore": "^1.8.2"
},
"devDependencies": {
"mocha": "^2.1.0",
"mocha-jenkins-reporter": "^0.1.4",
"mocha-jshint": "0.0.9"
}
}