fragment-tools 0.1.19 → 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/index.js CHANGED
@@ -44,7 +44,7 @@ prog.command('run [entry]', '', { default: true })
44
44
  emptyOutDir: options.emptyOutDir,
45
45
  base: options.base,
46
46
  prompts: options.prompts,
47
- configFilepath: options.config,
47
+ config: options.config,
48
48
  });
49
49
  }
50
50
 
@@ -52,7 +52,7 @@ prog.command('run [entry]', '', { default: true })
52
52
  development: options.development,
53
53
  exportDir: options.exportDir,
54
54
  port: options.port,
55
- configFilepath: options.config,
55
+ config: options.config,
56
56
  });
57
57
  });
58
58
 
@@ -72,6 +72,7 @@ prog.command('build [entry]')
72
72
  .option('--base', 'Base public path', undefined)
73
73
  .option('-dev, --development', 'Enable development mode', false)
74
74
  .option('--prompts', 'Enable interactive prompts', true)
75
+ .option('--config', 'Path to Fragment config file')
75
76
  .action((entry, options) => {
76
77
  build(entry, options);
77
78
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fragment-tools",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "description": "A web development environment for creative coding",
5
5
  "main": "index.js",
6
6
  "bin": {
package/src/cli/build.js CHANGED
@@ -102,7 +102,7 @@ export async function build(entry, options) {
102
102
  dev: options.development,
103
103
  build: true,
104
104
  },
105
- options.configFilepath,
105
+ options.config,
106
106
  cwd,
107
107
  );
108
108
 
package/src/cli/run.js CHANGED
@@ -69,7 +69,7 @@ export async function run(entry, options = {}) {
69
69
  dev: options.development,
70
70
  build: false,
71
71
  },
72
- options.configFilepath,
72
+ options.config,
73
73
  cwd,
74
74
  );
75
75