Browse Source

add gulp and update documentation

pull/342/head
Guillaume Vincent 8 years ago
parent
commit
42bb4af9cb
4 changed files with 37 additions and 15 deletions
  1. +1
    -0
      .gitignore
  2. +16
    -0
      gulpfile.js
  3. +19
    -0
      package.json
  4. +1
    -15
      readme.md

+ 1
- 0
.gitignore View File

@@ -1,3 +1,4 @@
platforms
plugins
res
node_modules

+ 16
- 0
gulpfile.js View File

@@ -0,0 +1,16 @@
'use strict';

const gulp = require('gulp');

gulp.task('lesspass', [], function () {
return gulp.src(['node_modules/lesspass-pure/dist/**/*'])
.pipe(gulp.dest('www/dist/'));
});

gulp.task('build', [], function () {
gulp.start('lesspass');
});

gulp.task('default', ['build'], function () {

});

+ 19
- 0
package.json View File

@@ -0,0 +1,19 @@
{
"name": "lesspass-cordova",
"version": "1.0.0",
"description": "LessPass cordova app",
"license": "GPLv3",
"author": "Guillaume Vincent <guillaume@oslab.fr>",
"repository": "lesspass/cordova",
"scripts": {
"prebuild": "npm prune && npm install && gulp",
"build": "rm -rf www/dist/ && gulp"
},
"dependencies": {
"lesspass-pure": "^4.1.0"
},
"devDependencies": {
"gulp": "^3.9.1"
},
"private": true
}

+ 1
- 15
readme.md View File

@@ -1,18 +1,4 @@
[![Build Status](https://travis-ci.org/lesspass/pure.svg?branch=master)](https://travis-ci.org/lesspass/pure)

> LessPass pure component for [lesspass.com](https://lesspass.com)

- vue
- vue-router
- vuex
- ava
- webpack


## Tests

npm install
npm test
> LessPass Cordova App for [lesspass.com](https://lesspass.com)

## Build



Loading…
Cancel
Save