UNPKG

atm-node

Version:
55 lines (54 loc) 2.09 kB
{ "name": "atm-node", "version": "2.0.8", "description": "atm-node", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "https://github.com/atmjs/atm-node.git" }, "keywords": [ "atm", "node" ], "author": { "name": "1502699525@qq.com" }, "license": "ISC", "bugs": { "url": "https://github.com/atmjs/atm-node/issues" }, "homepage": "https://github.com/atmjs/atm-node", "dependencies": {}, "gitHead": "59f911f58dd97e5e6b29010fd36bb92e622e0c6c", "_id": "atm-node@2.0.5", "_shasum": "b49f485da5a250d5afc665d3f636216505b86070", "_from": "atm-node@>=2.0.5 <3.0.0", "_npmVersion": "2.7.4", "_nodeVersion": "0.12.2", "_npmUser": { "name": "front", "email": "136177121@qq.com" }, "dist": { "shasum": "37f6d734d89b746334c9305e058faaf01882bd0b", "size": 3164, "noattachment": false, "tarball": "http://registry.npm.taobao.org/atm-node/download/atm-node-2.0.1.tgz" }, "maintainers": [ { "name": "front", "email": "136177121@qq.com" } ], "directories": {}, "publish_time": 1437932238341, "_cnpm_publish_time": 1437932238341, "_resolved": "http://registry.npm.taobao.org/atm-node/download/atm-node-2.0.1.tgz", "readme": "# atm-node\natm-node\n##安装\n```\nnpm install atm-node --save\n```\n##使用\n```javascript\nvar atmNode = require('atm-node');\n\napp.use(atmNode({\n debugParam: 'debug',\n getDomain: function(destName){\n // 返回任务名对应的domain\n return 'http://127.0.0.1:3333/local';\n },\n assetsPath: '', // 资源存放路径\n devPath: '', // 开发目录路径\n getBuildCommand: function(destName){\n return 'atm realse -'+ (destName === 'local'? 'pDd ': 'opmDd ')+destName+'';\n },\n coreName: 'core', // 核心模块名称\n baseName: 'base' // 基础模块名称\n}) );\n```", "readmeFilename": "README.md" }