Przeglądaj źródła

LessPass pure 5.1.6

pull/410/head
Guillaume Vincent 5 lat temu
rodzic
commit
f124a5a774
14 zmienionych plików z 11988 dodań i 19 usunięć
  1. BIN
      packages/lesspass-pure/dist/674f50d287a8c48dc19ba404d20fe713.eot
  2. BIN
      packages/lesspass-pure/dist/af7ae505a9eed503f8b8e6982036873e.woff2
  3. BIN
      packages/lesspass-pure/dist/b06871f281fee6b241d60582ae9369b9.ttf
  4. BIN
      packages/lesspass-pure/dist/favicon.ico
  5. BIN
      packages/lesspass-pure/dist/fee66e712a8a08eef5805a46892932ad.woff
  6. +2671
    -0
      packages/lesspass-pure/dist/fontawesome-webfont.svg
  7. +34
    -0
      packages/lesspass-pure/dist/index.html
  8. +9240
    -0
      packages/lesspass-pure/dist/lesspass.min.css
  9. +1
    -0
      packages/lesspass-pure/dist/lesspass.min.css.map
  10. +32
    -0
      packages/lesspass-pure/dist/lesspass.min.js
  11. +2
    -2
      packages/lesspass-pure/package.json
  12. +1
    -4
      packages/lesspass-pure/server.js
  13. +4
    -4
      packages/lesspass-pure/src/components/Options.vue
  14. +3
    -9
      packages/lesspass-pure/webpack.common.js

BIN
packages/lesspass-pure/dist/674f50d287a8c48dc19ba404d20fe713.eot Wyświetl plik


BIN
packages/lesspass-pure/dist/af7ae505a9eed503f8b8e6982036873e.woff2 Wyświetl plik


BIN
packages/lesspass-pure/dist/b06871f281fee6b241d60582ae9369b9.ttf Wyświetl plik


BIN
packages/lesspass-pure/dist/favicon.ico Wyświetl plik

Przed Po

BIN
packages/lesspass-pure/dist/fee66e712a8a08eef5805a46892932ad.woff Wyświetl plik


+ 2671
- 0
packages/lesspass-pure/dist/fontawesome-webfont.svg
Plik diff jest za duży
Wyświetl plik


+ 34
- 0
packages/lesspass-pure/dist/index.html Wyświetl plik

@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>LessPass</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<link rel="shortcut icon" href="dist/favicon.ico" />
<link rel="stylesheet" href="dist/lesspass.min.css" />
<style>
div.center {
max-width: 420px;
display: block;
margin-left: auto;
margin-right: auto;
}

@media (min-width: 544px) {
#lesspass {
margin-top: 3em;
}
}
</style>
<link href="lesspass.min.css" rel="stylesheet"></head>
<body>
<div class="center lesspass--full-width">
<div id="lesspass"></div>
</div>
<script src="dist/lesspass.min.js"></script>
<script src="lesspass.min.js"></script></body>
</html>

+ 9240
- 0
packages/lesspass-pure/dist/lesspass.min.css
Plik diff jest za duży
Wyświetl plik


+ 1
- 0
packages/lesspass-pure/dist/lesspass.min.css.map
Plik diff jest za duży
Wyświetl plik


+ 32
- 0
packages/lesspass-pure/dist/lesspass.min.js
Plik diff jest za duży
Wyświetl plik


+ 2
- 2
packages/lesspass-pure/package.json Wyświetl plik

@@ -1,12 +1,12 @@
{
"name": "lesspass-pure",
"version": "5.1.5",
"version": "5.1.6",
"description": "LessPass web component",
"license": "GPL-3.0",
"author": "Guillaume Vincent <guillaume@oslab.fr>",
"scripts": {
"start": "NODE_ENV=production node server.js",
"build": "rm -rf dist && webpack --mode=production --config webpack.prod.js",
"build": "rm -rf dist && NODE_ENV=production webpack --mode=production --config webpack.prod.js",
"build:i18n": "cd scripts && node buildI18n.js",
"dev": "webpack-dev-server --config webpack.dev.js",
"test": "npm run test:unit",


+ 1
- 4
packages/lesspass-pure/server.js Wyświetl plik

@@ -1,11 +1,8 @@
var express = require('express');
var app = express();

app.use('/dist', express.static(__dirname + '/dist'));
app.use('/', express.static(__dirname + '/dist'));

app.get('/', function(req, res) {
res.sendFile(__dirname + '/index.html');
});

var _resolve;
var readyPromise = new Promise(resolve => {


+ 4
- 4
packages/lesspass-pure/src/components/Options.vue Wyświetl plik

@@ -59,7 +59,7 @@
<label for="passwordLength">{{ $t('Length') }}</label>
<div class="input-group input-group-sm">
<span class="input-group-btn" v-on:click="password.length=decrement(password.length, {min: 5, max: 35})">
<button id="decreaseLength__btn" class="btn btn-primary border-blue px-2" type="button">
<button id="decreaseLength__btn" class="btn btn-primary btn-sm border-blue px-2" type="button">
<small><i class="fa fa-minus"></i></small>
</button>
</span>
@@ -71,7 +71,7 @@
v-model.number="password.length">
<span class="input-group-btn"
v-on:click="password.length=increment(password.length, {min: 5, max: 35})">
<button id="increaseLength__btn" class="btn btn-primary border-blue px-2" type="button">
<button id="increaseLength__btn" class="btn btn-primary btn-sm border-blue px-2" type="button">
<small><i class="fa fa-plus"></i></small>
</button>
</span>
@@ -87,7 +87,7 @@
<div class="input-group input-group-sm">
<span id="decreaseCounter__btn" class="input-group-btn"
v-on:click="password.counter=decrement(password.counter, {min: 1})">
<button class="btn btn-primary border-blue px-2" type="button">
<button class="btn btn-primary btn-sm border-blue px-2" type="button">
<small><i class="fa fa-minus"></i></small>
</button>
</span>
@@ -98,7 +98,7 @@
v-model.number="password.counter">
<span id="increaseCounter__btn" class="input-group-btn"
v-on:click="password.counter=increment(password.counter, {min: 1})">
<button class="btn btn-primary border-blue px-2" type="button">
<button class="btn btn-primary btn-sm border-blue px-2" type="button">
<small><i class="fa fa-plus"></i></small>
</button>
</span>


+ 3
- 9
packages/lesspass-pure/webpack.common.js Wyświetl plik

@@ -12,20 +12,14 @@ module.exports = {
modules: [path.resolve(__dirname, "src"), "node_modules"]
},
plugins: [
new MiniCssExtractPlugin({
filename: productionMode ? "[name].[hash].css" : "[name].css",
chunkFilename: productionMode ? "[id].[hash].css" : "[id].css"
}),
new MiniCssExtractPlugin({ filename: "lesspass.min.css" }),
new CleanWebpackPlugin(),
new HtmlWebpackPlugin({
template: "./src/index.html",
inject: "body"
}),
new HtmlWebpackPlugin({ template: "./src/index.html", inject: "body" }),
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
new VueLoaderPlugin()
],
output: {
filename: "[name].[chunkhash].js",
filename: "lesspass.min.js",
path: path.resolve(__dirname, "dist")
},
module: {


Ładowanie…
Anuluj
Zapisz