UNPKG

952 BJavaScriptView Raw
1/**
2 * Configuration file for apeman projects.
3 * @see https://github.com/apeman-labo/apeman
4 */
5
6'use strict'
7
8module.exports = {
9 /** Current working directory path */
10 get $cwd () {
11 return __dirname
12 },
13 /** Package data. */
14 get $pkg () {
15 return require('./package.json')
16 },
17 /** Prototype apps */
18 get $proto () {
19 return []
20 },
21 /**
22 * apeman tmpl configurations.
23 * @see https://github.com/apeman-cmd-labo/apeman-tmpl
24 */
25 get $tmpls () {
26 return {}
27 },
28 /**
29 * apeman task configurations.
30 * @see https://github.com/apeman-cmd-labo/apeman-task
31 */
32 get $tasks () {
33 return {}
34 },
35 /** Note about properties. */
36 get $notes () {
37 return {}
38 },
39 /** Commands which need to be installed in advance. */
40 get $needs () {
41 return {
42 'apeman': { how: 'npm install -g apeman' }
43 }
44 }
45}
46
47if (!module.parent) {
48 // Execute this file as apeman bin.
49 require('apeman').cli(process.argv)
50}