Pārlūkot izejas kodu

LessPass pure 5.1.6

pull/410/head
Guillaume Vincent pirms 5 gadiem
vecāks
revīzija
f124a5a774
14 mainītis faili ar 11988 papildinājumiem un 19 dzēšanām
  1. Binārs
      packages/lesspass-pure/dist/674f50d287a8c48dc19ba404d20fe713.eot
  2. Binārs
      packages/lesspass-pure/dist/af7ae505a9eed503f8b8e6982036873e.woff2
  3. Binārs
      packages/lesspass-pure/dist/b06871f281fee6b241d60582ae9369b9.ttf
  4. Binārs
      packages/lesspass-pure/dist/favicon.ico
  5. Binārs
      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ārs
packages/lesspass-pure/dist/674f50d287a8c48dc19ba404d20fe713.eot Parādīt failu


Binārs
packages/lesspass-pure/dist/af7ae505a9eed503f8b8e6982036873e.woff2 Parādīt failu


Binārs
packages/lesspass-pure/dist/b06871f281fee6b241d60582ae9369b9.ttf Parādīt failu


Binārs
packages/lesspass-pure/dist/favicon.ico Parādīt failu

Pirms Pēc

Binārs
packages/lesspass-pure/dist/fee66e712a8a08eef5805a46892932ad.woff Parādīt failu


+ 2671
- 0
packages/lesspass-pure/dist/fontawesome-webfont.svg
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 34
- 0
packages/lesspass-pure/dist/index.html Parādīt failu

@@ -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
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 1
- 0
packages/lesspass-pure/dist/lesspass.min.css.map
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 32
- 0
packages/lesspass-pure/dist/lesspass.min.js
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 2
- 2
packages/lesspass-pure/package.json Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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 Parādīt failu

@@ -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: {


Notiek ielāde…
Atcelt
Saglabāt