Skip to content

Commit

Permalink
开工了!
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyuanwei committed Aug 18, 2014
1 parent 3047be7 commit 341c8e2
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
his
her
===

Hao123 前端开发工具
5 changes: 5 additions & 0 deletions bin/her
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env node

require('../index.js').cli.run(process.argv);

// vim600: sw=4 ts=4 fdm=marker syn=javascript
16 changes: 16 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
var fis = module.exports = require('fis');

fis.cli.name = 'her';
fis.cli.info = fis.util.readJSON(__dirname + '/package.json');

fis.require.prefixes = ['her', 'fis'];

var defaultConfig = require('./configs/default.js');
fis.config.merge(defaultConfig);

//alias
Object.defineProperty(global, 'her', {
enumerable: true,
writable: false,
value: fis
});
35 changes: 35 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"name": "her",
"version": "0.0.1",
"description": "Hao123 前端开发框架",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"bin":{
"her": "bin/her"
},
"repository": {
"type": "git",
"url": "https://github.com/hao123-dev/her.git"
},
"keywords": [
"her",
"fis",
"bigpipe",
"quickling",
"bigrender",
"pagelet",
"smarty",
"hao123"
],
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/hao123-dev/her/issues"
},
"homepage": "https://github.com/hao123-dev/her",
"dependencies": {
"fis": "^1.7.14"
}
}

0 comments on commit 341c8e2

Please sign in to comment.