This repository was archived by the owner on Apr 30, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +47
-1
lines changed
Expand file tree Collapse file tree 3 files changed +47
-1
lines changed Original file line number Diff line number Diff line change 1+ var gulp = require ( 'gulp' )
2+ var replace = require ( 'gulp-replace' )
3+
4+ // bump npm package version into package.js
5+ gulp . task ( 'meteor' , function ( ) {
6+ var pkg = require ( './package.json' )
7+ var versionRegex = / ( v e r s i o n \: \s * \' ) ( [ ^ \' ] + ) \' / gi
8+
9+ return gulp . src ( 'package.js' )
10+ . pipe ( replace ( versionRegex , '$1' + pkg . version + "'" ) )
11+ . pipe ( gulp . dest ( './' ) )
12+ } )
Original file line number Diff line number Diff line change 1+ /* global Package:false */
2+ // package metadata file for AtmosphereJS
3+
4+ try {
5+ Package . describe ( {
6+ name : 'formly:angular-formly-templates-bootstrap' ,
7+ summary : '(official): Bootstrap templates for angular-formly' ,
8+ version : '0.0.0-semantically-released.0' ,
9+ git : 'https://github.com/formly-js/angular-formly-templates-bootstrap.git' ,
10+ } )
11+
12+ Package . onUse ( function ( api ) {
13+ api . versionsFrom ( [ 'METEOR@1.0' ] )
14+ // api-check
15+ api . use ( 'wieldo:api-check@7.5.5' )
16+ api . imply ( 'wieldo:api-check' )
17+ // angular
18+ api . use ( 'angular:angular@1.4.0' )
19+ api . imply ( 'angular:angular' )
20+ // angular-formly
21+ api . use ( 'formly:angular-formly@7.3.9_3' )
22+ api . imply ( 'formly:angular-formly' )
23+ // bootstrap
24+ api . use ( 'twbs:bootstrap@3.3.2' )
25+ api . imply ( 'twbs:bootstrap' )
26+ // export file
27+ api . addFiles ( 'dist/angular-formly-templates-bootstrap.js' , 'client' )
28+ } )
29+ } catch ( e ) {
30+ //
31+ }
Original file line number Diff line number Diff line change 2626 "test" : " echo 'Still need to set these up...'" ,
2727 "watch" : " webpack --watch" ,
2828 "start" : " npm run watch" ,
29- "prepublish" : " npm run build" ,
29+ "meteor" : " gulp meteor" ,
30+ "prepublish" : " npm run build && npm run meteor" ,
3031 "postpublish" : " publish-latest --user-email kent+formly-bot@doddsfamily.us --user-name formly-bot" ,
3132 "semantic-release" : " semantic-release pre && npm publish && semantic-release post"
3233 },
4445 "cz-conventional-changelog" : " 1.1.2" ,
4546 "deep-extend" : " 0.4.0" ,
4647 "ghooks" : " 0.3.2" ,
48+ "gulp" : " 3.9.0" ,
49+ "gulp-replace" : " 0.5.4" ,
4750 "jshint" : " 2.8.0" ,
4851 "jshint-loader" : " 0.8.3" ,
4952 "kcd-common-tools" : " 1.0.0-beta.23" ,
You can’t perform that action at this time.
0 commit comments