Sfoglia il codice sorgente

update documentation

pull/342/head
Guillaume Vincent 8 anni fa
parent
commit
c86eaefaf8
3 ha cambiato i file con 10 aggiunte e 5 eliminazioni
  1. +1
    -0
      .gitignore
  2. +3
    -1
      README.md
  3. +6
    -4
      package.json

+ 1
- 0
.gitignore Vedi File

@@ -0,0 +1 @@
distribution

+ 3
- 1
README.md Vedi File

@@ -18,4 +18,6 @@ LessPass npm module use to generate unique password
}
};
var masterPassword = '90cff82b8847525370a8f29a59ecf45db62c719a535788ad0df58d32304e925d';
passwordGenerator.generatePassword(masterPassword, entry);
var password = lesspass.createPassword(masterPassword, entry);
console.log(password); // ubUB4[yqAD3?od


+ 6
- 4
package.json Vedi File

@@ -1,11 +1,13 @@
{
"name": "lesspass",
"version": "1.0.0",
"version": "1.0.3",
"description": "node.js stateless password management solution",
"main": "index.js",
"main": "distribution/lesspass.js",
"scripts": {
"test": "mocha --compilers js:babel-core/register tests",
"test:watch": "npm run test -- -w"
"test:watch": "npm run test -- -w",
"build": "babel lesspass.js text.js password-generator.js --presets babel-preset-es2015 --out-dir distribution",
"prepublish": "npm test && npm run build"
},
"keywords": [
"password",
@@ -22,7 +24,7 @@
},
"homepage": "https://github.com/oslab-fr/lesspass-npm#readme",
"devDependencies": {
"babel-core": "^6.5.2",
"babel-cli": "^6.5.1",
"babel-preset-es2015": "^6.5.0",
"mocha": "^2.4.5",
"webpack": "^1.12.13"


Caricamento…
Annulla
Salva