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.
 
 
 
 
 
 

59 line
1.6 KiB

  1. {
  2. "name": "lesspass",
  3. "version": "7.0.0",
  4. "description": "LessPass node module used to generate LessPass passwords",
  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/lesspass.js",
  17. "browser": {
  18. "./src/pbkdf2.js": "./src/pbkdf2.browser.js",
  19. "./src/hmac.js": "./src/hmac.browser.js"
  20. },
  21. "module": "src/lesspass.js",
  22. "jsnext:main": "src/lesspass.js",
  23. "repository": "lesspass/core",
  24. "scripts": {
  25. "precommit": "npm test && lint-staged",
  26. "clean": "rm -rf dist && mkdir dist && npm prune",
  27. "build": "npm run clean && browserify --standalone LessPass src/lesspass.js > dist/lesspass.js && npm run minify",
  28. "minify": "uglifyjs --output dist/lesspass.min.js --compress --mangle -- dist/lesspass.js",
  29. "test": "npm run test:unit && npm run test:browser",
  30. "test:unit": "mocha test --recursive",
  31. "test:browser": "npm run build && karma start test/karma.conf.js"
  32. },
  33. "dependencies": {
  34. "big-integer": "^1.6.22",
  35. "es6-promise": "^4.1.0",
  36. "lodash.assign": "^4.2.0",
  37. "unibabel": "^2.1.4"
  38. },
  39. "devDependencies": {
  40. "browserify": "^14.3.0",
  41. "husky": "^0.13.3",
  42. "karma": "^1.6.0",
  43. "karma-browserify": "^5.1.1",
  44. "karma-chrome-launcher": "^2.0.0",
  45. "karma-firefox-launcher": "^1.0.1",
  46. "karma-mocha": "^1.3.0",
  47. "lint-staged": "^3.4.1",
  48. "mocha": "^3.3.0",
  49. "prettier": "^1.2.2",
  50. "uglify-js": "^3.0.1"
  51. },
  52. "lint-staged": {
  53. "{src,test}/**/*.js": [
  54. "prettier --write",
  55. "git add"
  56. ]
  57. }
  58. }