You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

49 lines
1.4 KiB

  1. {
  2. "name": "lesspass-master-password",
  3. "version": "0.1.0",
  4. "description": "LessPass node module used to get fingerprint for 256 bytes string",
  5. "keywords": [
  6. "crypto",
  7. "lesspass",
  8. "password"
  9. ],
  10. "license": "GPL-3.0",
  11. "author": "Guillaume Vincent <guillaume@oslab.fr>",
  12. "files": [
  13. "dist",
  14. "src"
  15. ],
  16. "main": "src/index.js",
  17. "module": "src/index.js",
  18. "jsnext:main": "src/index.js",
  19. "scripts": {
  20. "precommit": "npm test && lint-staged",
  21. "clean": "rm -rf dist && mkdir dist && npm prune",
  22. "build": "npm run clean && browserify --standalone getLessPassFingerprint src/index.js > dist/lesspass-master-password.js && npm run minify",
  23. "minify": "uglifyjs --output dist/lesspass-master-password.min.js --compress --mangle -- dist/lesspass-master-password.js",
  24. "test": "npm run test:unit && npm run test:browser",
  25. "test:unit": "mocha test",
  26. "test:browser": "npm run build && karma start test/karma.conf.js"
  27. },
  28. "dependencies": {},
  29. "devDependencies": {
  30. "browserify": "^16.2.2",
  31. "husky": "^0.14.3",
  32. "karma": "^3.0.0",
  33. "karma-browserify": "^5.3.0",
  34. "karma-chrome-launcher": "^2.0.0",
  35. "karma-firefox-launcher": "^1.1.0",
  36. "karma-mocha": "^1.3.0",
  37. "lint-staged": "^7.3.0",
  38. "mocha": "^5.2.0",
  39. "prettier": "^1.14.3",
  40. "uglify-js": "^3.4.9"
  41. },
  42. "lint-staged": {
  43. "{src,test}/**/*.js": [
  44. "prettier --write",
  45. "git add"
  46. ]
  47. }
  48. }