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.
 
 
 
 
 
 

79 line
2.0 KiB

  1. {
  2. "name": "lesspass",
  3. "version": "1.0.0",
  4. "description": "lesspass is like keepass without the need to persist passwords",
  5. "main": "app/app.js",
  6. "scripts": {
  7. "pretest": "npm install",
  8. "test": "mocha --compilers js:babel-core/register tests",
  9. "test:watch": "npm run test -- -w",
  10. "lint": "jshint app/**",
  11. "build:production": "npm prune && npm install && npm run lint && npm test && npm run build",
  12. "build": "npm-run-all clean build:html build:app",
  13. "clean": "rimraf dist",
  14. "build:html": "cpy '**/*.html' '../dist/' --cwd=static --parents",
  15. "build:app": "browserify -e ./app/app.js -o ./dist/app.js",
  16. "prestart": "npm run build",
  17. "start": "npm-run-all --parallel serve watch:html watch:app",
  18. "serve": "http-server -p 5000 dist/",
  19. "watch:html": "watch 'npm run build:html' static",
  20. "watch:app": "watchify -dv -e ./app/app.js -o ./dist/app.js"
  21. },
  22. "repository": {
  23. "type": "git",
  24. "url": "git+ssh://git@github.com/guillaumevincent/lesspass.git"
  25. },
  26. "keywords": [
  27. "keepass",
  28. "lesspass"
  29. ],
  30. "author": "Guillaume Vincent",
  31. "license": "MIT",
  32. "bugs": {
  33. "url": "https://github.com/guillaumevincent/lesspass/issues"
  34. },
  35. "homepage": "https://github.com/guillaumevincent/lesspass#readme",
  36. "devDependencies": {
  37. "babel-core": "latest",
  38. "babel-preset-es2015": "latest",
  39. "babelify": "latest",
  40. "browserify": "latest",
  41. "cpy": "latest",
  42. "http-server": "latest",
  43. "jshint": "latest",
  44. "mocha": "latest",
  45. "nodemon": "latest",
  46. "npm-run-all": "latest",
  47. "rimraf": "latest",
  48. "sassify": "latest",
  49. "watch": "latest",
  50. "watchify": "latest"
  51. },
  52. "babel": {
  53. "presets": [
  54. "es2015"
  55. ]
  56. },
  57. "browserify": {
  58. "transform": [
  59. [
  60. "babelify",
  61. {
  62. "presets": [
  63. "es2015"
  64. ]
  65. }
  66. ],
  67. [
  68. "sassify",
  69. {
  70. "auto-inject": true
  71. }
  72. ]
  73. ]
  74. },
  75. "jshintConfig": {
  76. "esnext": true
  77. }
  78. }