availity / availity-toolkit Goto Github PK
View Code? Open in Web Editor NEWStarter project for Angular apps on the Availity platform
License: MIT License
Starter project for Angular apps on the Availity platform
License: MIT License
availity-toolkit/default-config.js
Line 2 in f7411ad
Path is resolving to [dir]/[dir]/path/to/template.html
!!
override listed https://webpack.github.io/docs/loaders.htmlnpm start
should figure out if project is initialized and if not, ask the user if they want to use Angular or React. A selection should trigger npm install
of appropriate dependencies and scaffolding.
Related:
var gulp = require('gulp');
var path = require('path');
var del = require('./node_modules/availity-workflow/node_modules/del');
var runSequence = require('./node_modules/availity-workflow/node_modules/run-sequence');
var workflow = require('availity-workflow');
var context = workflow.use({
gulp: gulp
});
gulp.task('default', ['copy:pdfs', 'av:default']);
gulp.task('lint', ['av:lint']);
gulp.task('test', ['av:test']);
gulp.task('release', ['av:release']);
gulp.task('test:server', ['av:test:server']);
var dest = context.settings.isProduction() ? path.join('./dist/') : path.join('./build/');
gulp.task('copy:pdfs', function() {
gulp.src('project/app/**/*.pdf')
.pipe(gulp.dest(dest));
});
// Duplicate of gulp task found inside availity-workflow.
// Needed to hook into the lifecycle of the release task for custom
// image copy.
context.gulp.task('av:release:sequence', function(cb) {
del.sync([context.settings.dest()]);
runSequence(
'av:lint',
context.settings.isProduction() ? 'av:release:bump' : 'av:noop',
['av:copy', 'av:concat', 'copy:pdfs'],
'av:build',
context.settings.isProduction() ? 'av:release:add' : 'av:noop',
context.settings.isProduction() ? 'av:release:tag' : 'av:noop',
cb
);
});
Followed the Getting Started steps in the readme to create a new project. At the './node_modules/.bin/av init' step I ran into this error. Tried with node 5.3.0 and 6.3.1
./node_modules/.bin/av init
? author name:
? author email:
? project name: dashboard
? project description: Dashboard
? project version: 0.0.1
? git url:
? license UNLICENSED
? keywords - separated by commas: ()
/Users/foo/workspaces/barProject/node_modules/rx/dist/rx.js:77
throw e;
^
TypeError: value.toLowerCase is not a function
at Object.validate (/Users/foo/workspaces/barProject/node_modules/availity-workflow/cli/commands/init.js:118:33)
at /Users/foo/workspaces/barProject/node_modules/inquirer/node_modules/run-async/index.js:26:25
at /Users/foo/workspaces/barProject/node_modules/inquirer/node_modules/run-async/index.js:25:19
at /Users/foo/workspaces/barProject/node_modules/inquirer/lib/prompts/base.js:89:14
at process._tickCallback (internal/process/next_tick.js:103:7)
foo$
foo$ node -v
v6.3.1
Right now, we provide code snippets on how to use a given component but we dont specify what javascript libs are required for that & how to include them.
somehow the script is breaking on any Angular template save
{% if (o.htmlWebpackPlugin.options.pkg.title) { %}
<title>{%=o.htmlWebpackPlugin.options.pkg.title %}</title>
{% } %}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.